View Full Version : syntax error
almotqen
09-02-2009, 01:19 PM
When trying to edit template I get this error:
The following error occurred when attempting to evaluate this template:
Parse error: syntax error, unexpected T_STRING in/home/***/public_html/vb/includes/adminfunctions_template.php(3939) : eval()'d code on line 1
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
I have three sites used vbulletin and all of these sites have the same problem!
Note: They are stored in same server.
The problem occurred suddenly, and I think it is from the server.
Please help me to solve this problem.
Thank you.
Lynne
09-02-2009, 02:45 PM
All your sites are getting that exact same error when trying to edit a template? Are all three sites on the same server?
Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
almotqen
09-02-2009, 06:34 PM
All your sites are getting that exact same error when trying to edit a template? Are all three sites on the same server?
Yes.
Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
I tried to do that but without result!
Do you think that the problem is due to permissions?
Because the suphp was enable on the server but then we disable it. After that this problems began to appear in my forums.
Thank you
Lynne
09-02-2009, 08:23 PM
Since it is three separate forums but all on the same server, I would say it is a server issue, yes.
snakes1100
09-02-2009, 08:45 PM
Have you made any changes to your calendar recently?
almotqen
09-02-2009, 08:59 PM
Since it is three separate forums but all on the same server, I would say it is a server issue, yes.
Do you have any suggestion to solve this issue?
--------------- Added 1251928887 at 1251928887 ---------------
Have you made any changes to your calendar recently?
I did not change anything.
snakes1100
09-02-2009, 09:02 PM
reupload ur php files in ascii mode to the server, try this one first.
/includes/functions_calendar.php
As well, have you checked your server logs when navigating to the page/editing the template?
Lynne
09-02-2009, 10:24 PM
Do you have any suggestion to solve this issue?
Well, you said this:
Do you think that the problem is due to permissions?
Because the suphp was enable on the server but then we disable it. After that this problems began to appear in my forums.
So, enable it again and see if the error goes away.
almotqen
09-02-2009, 10:33 PM
reupload ur php files in ascii mode to the server, try this one first.
/includes/functions_calendar.php
As well, have you checked your server logs when navigating to the page/editing the template?
Unfortunately. No results.
Thanks for your suggestion.
--------------- Added 1251934609 at 1251934609 ---------------
So, enable it again and see if the error goes away.
When trying to enable suphp I get this error: 500 Internal Server Error.
Thank you for your time.
snakes1100
09-02-2009, 10:57 PM
Did you check your server logs as i suggested?
Marco van Herwaarden
09-03-2009, 08:07 AM
If you enable/disable SuPHP then the user under which the webserver process is running changes. Make sure that the current user still have permission to all your files.
But that doesn't explain the original error message. If that is server related then it is most likely something like mod_security or Suhosin.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.