Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2009, 01:19 PM
almotqen almotqen is offline
 
Join Date: Aug 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 09-02-2009, 02:45 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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); 
Reply With Quote
  #3  
Old 09-02-2009, 06:34 PM
almotqen almotqen is offline
 
Join Date: Aug 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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 View Post
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
Reply With Quote
  #4  
Old 09-02-2009, 08:23 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since it is three separate forums but all on the same server, I would say it is a server issue, yes.
Reply With Quote
  #5  
Old 09-02-2009, 08:45 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you made any changes to your calendar recently?
Reply With Quote
  #6  
Old 09-02-2009, 08:59 PM
almotqen almotqen is offline
 
Join Date: Aug 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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 View Post
Have you made any changes to your calendar recently?
I did not change anything.
Reply With Quote
  #7  
Old 09-02-2009, 09:02 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #8  
Old 09-02-2009, 10:24 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by almotqen View Post
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.
Reply With Quote
  #9  
Old 09-02-2009, 10:33 PM
almotqen almotqen is offline
 
Join Date: Aug 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
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 View Post

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.
Reply With Quote
  #10  
Old 09-02-2009, 10:57 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you check your server logs as i suggested?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:25 AM.


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.04761 seconds
  • Memory Usage 2,261KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete