Recent Topics

1 Sep 01, 2007 01:09    

My b2evolution Version: 1.9.x

Hi,
I'm in the process of validating my b2evo blog but I've come up against a problem.

[url=http://validator.w3.org/check?uri=http%3A%2F%2Fwww.prettybloomers.com%2Findex.php&charset=%28detect+automatically%29&doctype=Inline&group=0]Here is my validation page[/url]

I've played around in my skins' _main.php page and when I took out the following code and it was validated.

<link rel="pingback" href="<?php $Blog->disp( 'pingback_url', 'raw' ) ?>" />

Does anyone know how I can fix this and in what file I need to do so?

(My PHP skills are limited, just so you know.)

Thanks.

2 Sep 01, 2007 01:28

Do you have pingbacks enabled in the backoffice? See Blog settings -> Your Blog -> Feedback options -> Allow trackbacks.

The code you provided looks (is) OK. The validation page shows there is no pingback url generated.

4 Sep 01, 2007 02:19

You have an error. This piece comes from the source of your page:

<link rel="pingback" href="<br />
<b>Notice</b>:  Undefined property:  Blog::$pingback_url in <b>/home/prettybl/public_html/inc/MODEL/dataobjects/_dataobject.class.php</b> on line <b>461</b><br />
" />


It does give you the validation error and since it doesn't work, you can comment out the line and wait for some one to come around who can determine what this error means and where it comes from. Once more; the code in your _main.php is correct, but something beyond my knowledge goes wrong.

Good luck

5 Sep 01, 2007 02:34

Update:
a search for Blog::$pingback_url in the forum revealed that you can safely delete the complete line:

<link rel="pingback" href="<?php $Blog->disp( 'pingback_url', 'raw' ) ?>" />

from the file _main.php since pingbacks are no longer managed in trackback.php but in a plugin. That explains the error you were receiving.

Good luck


Form is loading...