Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-17-2013, 10:15 PM
Skivey Skivey is offline
 
Join Date: Jan 2008
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forum wont work all of sudden! :(

I keep getting this error:

Parse error: syntax error, unexpected $end in /home/xxxxx/public_html/forum/newthread.php(80) : eval()'d code on line 11340

i notice newthread.php dont have 11340 lines....

The error happens when I use link:

https://www.getastake.com/forum/newt...action&t=23532

I havent modified the plugin 'takeabuseaction' but again there isnt 11340 lines there either

Can anyone help me? Ive just re-opened my forum to the public and its pretty annoying

Matt

--------------- Added [DATE]1363559142[/DATE] at [TIME]1363559142[/TIME] ---------------

its not just the takeabuseaction, its ever other plugin under the newthread.php
Reply With Quote
  #2  
Old 03-17-2013, 10:58 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The (80) after newthread.php is the line number. The 11340 is the line number of the eval'ed code. 11340 seems huge - I think there is a limit on the size of plugin code that can be saved (assuming it's a plugin that's causing the problem), so maybe you've reached it.
Reply With Quote
  #3  
Old 03-17-2013, 11:04 PM
Skivey Skivey is offline
 
Join Date: Jan 2008
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All plugins have worked for the past 4 years and i havent added any new ones.

Would a missing } or { from a style template do this?
Reply With Quote
  #4  
Old 03-17-2013, 11:08 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Skivey View Post
All plugins have worked for the past 4 years and i havent added any new ones.

Would a missing } or { from a style template do this?
Possibly. What version of vb3 are you using (or, what's on line 80 of newthread.php)?

If you just edited a template, I guess that's likely the problem.
Reply With Quote
  #5  
Old 03-17-2013, 11:21 PM
Skivey Skivey is offline
 
Join Date: Jan 2008
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

($hook = vBulletinHook::fetch_hook('newthread_start')) ? eval($hook) : false;

thats line 80

--------------- Added [DATE]1363562614[/DATE] at [TIME]1363562614[/TIME] ---------------

im jst gonna run a restore of templates to see if that works
Reply With Quote
  #6  
Old 03-17-2013, 11:24 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, then that seems like it's a problem with a plugin using hook location newthread_start. I don't know why that would happen all of a sudden, but you should probably go to the plugin manager and sort by location, then see what products have plugins there. You could disable them one at a time and see which one makes the problem go away. If there really isn't any problem with any of the plugins, it could have been the datastore, and maybe just enabling and disabling them will fix it (because it forces the datastore to be rebuilt).
Reply With Quote
  #7  
Old 03-17-2013, 11:36 PM
Skivey Skivey is offline
 
Join Date: Jan 2008
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so stressful...

I restored so far templates, styles and plugins.... im getting real stuck

--------------- Added [DATE]1363563401[/DATE] at [TIME]1363563401[/TIME] ---------------

ok thanks, ill try that

--------------- Added [DATE]1363563707[/DATE] at [TIME]1363563707[/TIME] ---------------

funny..... how I can get so stressed over this, and the first thing I do is disable a plugin and it fixes it straight away.

Plugin disabled was one I dont need.... so all good.

Thankyou for your help here, much appreciated

--------------- Added [DATE]1363563752[/DATE] at [TIME]1363563752[/TIME] ---------------

I cant even click your heart cos it says i need to ike someone elses post... you mustve helped me out before!
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:38 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.04194 seconds
  • Memory Usage 2,216KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete