1

Topic: What's happen with my PunBB?

When I click Profile:

Parse error: parse error, unexpected $ in /home/virtual/site63/fst/var/www/html/forum/profile.php on line 1164

I don't know what's error? I see the code of line 1164 is:

$result = $db->query('SELECT c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.moderators FROM '.$db->prefix.'categories AS c INNER JOIN '.$db->prefix.'forums AS f ON c.id=f.cat_id'.$extra.' ORDER BY c.position, c.id, f.position') or error('Unable to fetch category/forum list', __FILE__, __LINE__, $db->error());

Please help me!!!

Re: What's happen with my PunBB?

Everything seems to be ok. It's probably another row, maybe the one over this row?

Re: What's happen with my PunBB?

The file must have been altered in some way. Perhaps due to some odd file corruption or something. Try uploading it again from the archive.

"Programming is like sex: one mistake and you have to support it for the rest of your life."