Log in

View Full Version : Error Msg Please help!!!


gmata
09-25-2011, 09:03 PM
Hello i am getting this msg on my forum when i try to reply to a post or send a private msg. All my users are getting the same error.

Please help!

Parse error: syntax error, unexpected T_STRING in /home/pistoler/public_html/includes/functions_editor.php(688) : eval()'d code on line 9

kh99
09-25-2011, 11:32 PM
It looks like a problem with a template, like maybe editor_toolbar_on or editor_toolbar_off. See if you can open those in the template editor, then save and see if you get any errors.

gmata
09-26-2011, 02:18 AM
sorry where can i find this? i am pretty new with the forum
Thanks

kh99
09-26-2011, 05:46 AM
In the adminCP, go to Styles & Templates -> Style Manager, and choose "Edit Templates" from the dropdown next to your style (or Default Style if you have no custom styles), then expamd the section "Editor Templates".

You could also try creating a new style (The "Add New Style" link under the list of styles in the Style Manager) with no parent, and see if using that style fixes the problem. And you could try rebuilding the styles using Maintenance -> Update Counters -> Rebuild Styles (using the default options).

WEBDosser
09-26-2011, 07:03 AM
Also could try disable any addons/hacks

gmata
09-28-2011, 01:13 AM
Still not working!

i have tried editor_toolbar_on / off saving it no problems

have tried rebulding styles and nothing

And disabling all plugins / addons and nothing

I need some help please my forum has been out of service for almost a week now.

WEBDosser
09-28-2011, 03:24 AM
a link might help..

gmata
09-28-2011, 03:46 AM
Ok i have creater an account for my forum:

http://pistolerosdelmar.com/forum.php

username: test

Password: 12345678

The forum is in spanish but you can change the lenguage at the bottom of the page.

Everytime you try to make a new post a new thread or private msg i get this error:


Parse error: syntax error, unexpected T_STRING in /home/pistoler/public_html/includes/functions_editor.php(688) : eval()'d code on line 9

ForceHSS
09-28-2011, 03:53 AM
eval is caused by a custom plugin disable all plugins and test on default skin enable one at a time until you find the one that is making the error

WEBDosser
09-28-2011, 04:01 AM
eval is caused by a custom plugin disable all plugins and test on default skin enable one at a time until you find the one that is making the error

Beat me too it.. lol

Post what happens after you have done this.

kh99
09-28-2011, 02:22 PM
eval is caused by a custom plugin disable all plugins and test on default skin enable one at a time until you find the one that is making the error


Often that's true, except in this case if you look at the source code you'll see that line 688 of includes/functions_editor.php (in version 3.8.6 PL1) is this:

eval('$messagearea = "' . fetch_template($editor_template_name) . '";');


which looks to me like the problem is in a template, so that's why I suggested checking the editor templates.

It is possible a mod is trying to change the cached template, so disabling mods *would* be something to try.