victormenezes Posted January 16, 2014 Share Posted January 16, 2014 (edited) lately this error appears in my ipb forum moderator on cp: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in/home/downs671/public_html/domain.com/cache/skin_cache/cacheid_13/skin_modcp.php on line 162 left to download the mod cp 13 skin all skins are with this error can help me? skin_modcp.php Edited January 16, 2014 by victormenezes Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/ Share on other sites More sharing options...
victormenezes Posted January 16, 2014 Author Share Posted January 16, 2014 help! Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465431 Share on other sites More sharing options...
jazzman1 Posted January 16, 2014 Share Posted January 16, 2014 I think, it would be better off if you post the script using code "<>" tags rather than a file attachment. Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465432 Share on other sites More sharing options...
victormenezes Posted January 16, 2014 Author Share Posted January 16, 2014 I think, it would be better off if you post the script using code "<>" tags rather than a file attachment. the code is too big al's error in time to post the topic Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465433 Share on other sites More sharing options...
jazzman1 Posted January 16, 2014 Share Posted January 16, 2014 Some good php IDEs can help with this syntax error(s). Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465437 Share on other sites More sharing options...
victormenezes Posted January 16, 2014 Author Share Posted January 16, 2014 (edited) Some good php IDEs can help with this syntax error(s). sorry I'm not very good with php o'que I do? Edited January 16, 2014 by victormenezes Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465439 Share on other sites More sharing options...
jazzman1 Posted January 16, 2014 Share Posted January 16, 2014 Post out the lines from 160 to 163. What your text/code editor is? Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465444 Share on other sites More sharing options...
victormenezes Posted January 16, 2014 Author Share Posted January 16, 2014 <h3 class='bar'>{$this->lang->words['header_images']}</h3> <if test=\"$profile['header_id'] or $profile['header_pl_id']\"> <fieldset class='ipsSettings_section'> Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465451 Share on other sites More sharing options...
jazzman1 Posted January 16, 2014 Share Posted January 16, 2014 Not sure b/s it's a part of template system, but try to get rid of backslashes "\" from the second line. Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465456 Share on other sites More sharing options...
victormenezes Posted January 16, 2014 Author Share Posted January 16, 2014 Not sure b/s it's a part of template system, but try to get rid of backslashes "\" from the second line. has over 1000 rows and I think this error is not because in all caches that have Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465459 Share on other sites More sharing options...
victormenezes Posted January 16, 2014 Author Share Posted January 16, 2014 view code please skin_modcp.php Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465463 Share on other sites More sharing options...
boompa Posted January 16, 2014 Share Posted January 16, 2014 /* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */ /* WRITTEN TO THE DATABASE AUTOMATICALLY */ Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465464 Share on other sites More sharing options...
victormenezes Posted January 16, 2014 Author Share Posted January 16, 2014 /* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */ /* WRITTEN TO THE DATABASE AUTOMATICALLY */ ????????? Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465466 Share on other sites More sharing options...
jazzman1 Posted January 16, 2014 Share Posted January 16, 2014 @victormenezes, I don't like the idea to download files on my machine. It's a part of my self-discipline - nothing personally against you.I'm going to cite ginerjm! You really expect somebody to volunteer to read thru 200+ lines of your code of which we know nothing and try to 1) figure out what it's supposed to do and 2) what it is you want it to do when 3) you don't even know?Usually when people ask for help on a forum they have done their homework and tried to isolate a small are where the problem may be and then clearly stated what is is doing wrong. Can you do that? Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465468 Share on other sites More sharing options...
boompa Posted January 16, 2014 Share Posted January 16, 2014 That warning is at the top of the file. Any changes you make to the file directly will not be saved. You probably need to use whatever tools IPB provides to make changes. Quote Link to comment https://forums.phpfreaks.com/topic/285416-help-ipb-modcp/#findComment-1465469 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.