runeb0x Posted February 2, 2013 Share Posted February 2, 2013 (edited) Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/a6799093/public_html/forums/inc/plugins/pagemanager.php(794) : eval()'d code on line 24 <mod: snip - removed 900 lines of code having nothing to do with the problem> Edited February 2, 2013 by PFMaBiSmAd Quote Link to comment https://forums.phpfreaks.com/topic/273960-i-need-help-php-erorr/ Share on other sites More sharing options...
runeb0x Posted February 2, 2013 Author Share Posted February 2, 2013 how do i fix this? Quote Link to comment https://forums.phpfreaks.com/topic/273960-i-need-help-php-erorr/#findComment-1409757 Share on other sites More sharing options...
PFMaBiSmAd Posted February 2, 2013 Share Posted February 2, 2013 (edited) The only line that's relevant in the 900+ lines you posted, which I have since removed from your post, is line 794 - eval("\$page=\"".$template."\";"); You would need to troubleshoot the php code that is in the $template variable, up to line 24, where the error is occurring. If you want us to help, that's the code you would need to post. Edited February 2, 2013 by PFMaBiSmAd Quote Link to comment https://forums.phpfreaks.com/topic/273960-i-need-help-php-erorr/#findComment-1409758 Share on other sites More sharing options...
runeb0x Posted February 2, 2013 Author Share Posted February 2, 2013 The only line that's relevant in the 900+ lines you posted, which I have since removed from your post, is line 794 - eval("\$page=\"".$template."\";"); You would need to troubleshoot the php code that is in the $template variable, up to line 24, where the error is occurring. If you want us to help, that's the code you would need to post. thanks man so do i add that code to line 24? Quote Link to comment https://forums.phpfreaks.com/topic/273960-i-need-help-php-erorr/#findComment-1409761 Share on other sites More sharing options...
Jessica Posted February 2, 2013 Share Posted February 2, 2013 Read what he wrote. Do you know what eval does? Quote Link to comment https://forums.phpfreaks.com/topic/273960-i-need-help-php-erorr/#findComment-1409769 Share on other sites More sharing options...
runeb0x Posted February 2, 2013 Author Share Posted February 2, 2013 Read what he wrote. Do you know what eval does? im new to this stuff i have know idea! Quote Link to comment https://forums.phpfreaks.com/topic/273960-i-need-help-php-erorr/#findComment-1409770 Share on other sites More sharing options...
Jessica Posted February 2, 2013 Share Posted February 2, 2013 Look it up. If you need help with software you didn't write you need to post in our third party forum. Quote Link to comment https://forums.phpfreaks.com/topic/273960-i-need-help-php-erorr/#findComment-1409771 Share on other sites More sharing options...
runeb0x Posted February 2, 2013 Author Share Posted February 2, 2013 Look it up. If you need help with software you didn't write you need to post in our third party forum. i did and i don't get it -.- Quote Link to comment https://forums.phpfreaks.com/topic/273960-i-need-help-php-erorr/#findComment-1409775 Share on other sites More sharing options...
runeb0x Posted February 2, 2013 Author Share Posted February 2, 2013 $template variable where do i find that? Quote Link to comment https://forums.phpfreaks.com/topic/273960-i-need-help-php-erorr/#findComment-1409776 Share on other sites More sharing options...
PFMaBiSmAd Posted February 3, 2013 Share Posted February 3, 2013 The $template variable likely contains the content of the template file for the page, so you could just post the contents of that file, it's likely the template file that you edited right before this error started, from line one up through line 24 where the error is being reported at. Quote Link to comment https://forums.phpfreaks.com/topic/273960-i-need-help-php-erorr/#findComment-1409835 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.