vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   syntax error (https://vborg.vbsupport.ru/showthread.php?t=222301)

almotqen 09-02-2009 01:19 PM

syntax error
 
When trying to edit template I get this error:

Quote:

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

PHP Code:

define('DISABLE_HOOKS'true); 


almotqen 09-02-2009 06:34 PM

Quote:

Originally Posted by Lynne (Post 1878436)
All your sites are getting that exact same error when trying to edit a template? Are all three sites on the same server?

Yes.

Quote:

Originally Posted by Lynne (Post 1878436)
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

PHP Code:

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

Quote:

Originally Posted by Lynne (Post 1878633)
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 [DATE]1251928887[/DATE] at [TIME]1251928887[/TIME] ---------------

Quote:

Originally Posted by snakes1100 (Post 1878652)
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

Quote:

Originally Posted by almotqen (Post 1878654)
Do you have any suggestion to solve this issue?

Well, you said this:
Quote:

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

Quote:

Originally Posted by snakes1100 (Post 1878660)
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 [DATE]1251934609[/DATE] at [TIME]1251934609[/TIME] ---------------

Quote:

Originally Posted by Lynne (Post 1878705)

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?


All times are GMT. The time now is 03:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01000 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete