I was editing my skin settings to place the ad code that my host requires, but after editing it, I can't view my board or my Admin CP. This is the error I get on both the board and Admin CP:
Parse error: parse error, unexpected T_STRING in /home/sss/public_html/cdse/config.php(65) : eval()'d code on line 42
Same here.. lol.. I usually count ten lines.. see how big that is then use my fingers to hold in position on screen, then scroll ten x that length and thats how I get around.
Though if it shows you a portion of the line like IPB sometimes does, then you could simply use ctrl+f, to find it.
This world is not perfect. That is what makes it beautiful.
I suspect that in line 42 of config.php you will find a call to eval(), which is used to dynamically read your board's config. from the database. Is there a way you could send a dump of your db to me?
I suspect that in line 42 of config.php you will find a call to eval(), which is used to dynamically read your board's config. from the database. Is there a way you could send a dump of your db to me?
Sure. :)
EDIT: I need the default code of the menu bar. That will most likely fix the error.
To reset your menubar to an empty value, simply go to: http //yourboard/tools.php
Note that this file is not currently a security risk; it will be in the future when more features are available. It can be an annoyance if you don't change its permissions to '0' after using it though.
Thanks, that fixed it. Apparently, it doesn't like the ads because I have to run the tools.php script every time I put the ads in the menubar. >_< And I have to have the ads.
EDIT: It appears that I can't add anything into the menubar, because I tried to put a link to the User CP and I had to run the tools.php again.