Welcome to Geeklog, Anonymous Thursday, May 16 2024 @ 07:20 pm EDT
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 :-( )
1
1
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
1
1
Quote
Anonymous
Anonymous
Thanks Dirk - worked a treat :-)
0
1
Quote
All times are EDT. The time is now 07:20 pm.
- 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