Welcome to Geeklog, Anonymous Friday, December 27 2024 @ 11:25 am EST
Geeklog Forums
Error with a portal block
Anonymous
Anonymous
Hey, I'm getting this error when I've set up a portal block - got any ideas - I'm stumped on this one:
Parse error in http://www.tuganz.org/backend/geeklog.rdf: not well-formed (invalid token) at line 8
(I've looked at the geeklog.rdf file using lynx, and it appears to be OK?)
...deon (forgotten my password :-( )
7
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The error is caused by the & sign in your site name. That's actually a bug in Geeklog since it should replace that with &
Here's how to fix it: In lib-common.php in function COM_exportRDF() you'll find this line:
$rdtitle = $_CONF['site_name'];
Replace that with
$rdtitle = htmlspecialchars ($_CONF['site_name']);
bye, Dirk
8
6
Quote
Anonymous
Anonymous
Thanks Dirk - worked a treat :-)
7
6
Quote
All times are EST. The time is now 11:25 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content