vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v4.0 Support > Bugs & Issues > Bugs From v4.2.0

Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2011, 01:15 PM
deathemperor deathemperor is offline
Senior Member
 
Join Date: Oct 2004
Posts: 359
Default Parse error: syntax error, unexpected T_STRING in

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
Reply With Quote
  #2  
Old 04-04-2011, 03:00 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

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:
PHP Code:
$this->check_cat_perms($permvar$this->_linktrue); 
And replace with this:
PHP Code:
        if (!$this->check_cat_perms($permvar$this->_linkfalse))
        {
            
$this->construct_link_error('nopermission');
        } 
__________________
Frequently Asked Questions
CMPS Users Manual

For vBadvanced software assistance, please use the support forums.
Unsolicted PMs, IMs, and email will not be responded to.
If you have a non-software related question or problem with your account, please submit a support ticket.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Just upgraded my live forum, getting Parse error: syntax error, unexpected T_STRING i cammy1 Troubleshooting & Problems 7 07-02-2010 05:25 PM
Parse error: syntax error, unexpected T_STRING in /home/www/mtvclansite.atwebpages.co darkkiller Troubleshooting & Problems 3 08-25-2008 01:16 PM
Parse error: syntax error, unexpected T_STRING in /home/tutbus/public_html/index.php forumnerds Troubleshooting & Problems 3 04-28-2008 02:26 PM
Parse error: syntax error, unexpected ',' vbacmps_install.php on line 1451 ckeins Troubleshooting & Problems 3 02-01-2007 11:38 AM


All times are GMT -4. The time now is 11:28 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.