Recent Topics

1 Jul 12, 2004 18:12    

Okay well my blog is done now and I've been trying really hard to move it to the root directory. After much trouble, I've finally got it displaying, but now I'm getting an error I can't figure out.

In my _main.php there is a line of code that looks like this:

<a href="<?php $blog->disp( '../../b2evolution/blogs/skins/world/arcdirurl', 'raw' ) ?>"><?php echo T_('more...') ?></a>

It is generating this error:

<b>Fatal error</b>:  Call to a member function on a non-object in <b>/home/locution/www/www/skins/world/_main.php</b> on line <b>180</b><br />

I have tried modifying that line of code in every way imaginable, to no avail. Until I fix it, everything after that line is simply being ignored by the browser.

Additionally, the same line of code appears for all my syndication links, which means none of them will work either.

How do I fix this?

To see the error go here: http://locutionist.net and view the source code. The error should be the very last line.

Thanks,
-Paula

2 Jul 12, 2004 20:13

I can't believe it. I figured it out. Oh well, thanks anyway :)

3 Jul 12, 2004 21:05

Let me guess...
$blog is an integer, and $Blog is an object?

(Damn those case-sensitive variable names!)

Maybe you should add "working knowledge of PHP" to your resume. ;)


Form is loading...