PDA

View Full Version : Parse error: syntax error, unexpected T_STRING in



deathemperor
03-29-2011, 01:15 PM
Parse error: syntax error, unexpected T_STRING in /home/mysite/public_html/includes/class_core.php(4434) : eval()'d code on line 1

when user belong to group that do not have permission to see links!
or when belong to group prevented to see category links

Brian
04-04-2011, 03:00 PM
Thank you for pointing this out. I've just applied the fix to the forum/includes/vba_links_class.php file in the download package here, so if you will download the files again and update that one on your server, that should take care of the issue.
Or if you would rather apply the fix manually, just look in the file for this line:

$this->check_cat_perms($permvar, $this->_link, true);

And replace with this:

if (!$this->check_cat_perms($permvar, $this->_link, false))
{
$this->construct_link_error('nopermission');
}