vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   error code from a plug in (https://vborg.vbsupport.ru/showthread.php?t=200816)

itskerz03 01-05-2009 11:03 PM

error code from a plug in
 
well i made a thread about this over at vb.com but no one seemed to be able to help. i recently upgraded my version of vb (3.7.3) and all my products and plug ins to make sure they are up to date. i had a bunch of errors codes but after reloading all the vbulletin files, reloading the database, and disabling/enabling products and plugins, i still have one error left. its on the top of the pafe of an opened thread. it appears no where else but in an opened thread. the interesting thing is that the error code appears the same amount of times as their are posts. here is the error code:



Parse error: syntax error, unexpected '=' in /var/www/vhosts/allthemisc.com/httpdocs/includes/class_postbit.php(293) : eval()'d code on line 137


any ideas? :(

Bellardia 01-05-2009 11:12 PM

Check your postbit template for a missing </if> statement.
Also check plugins with a postbit related hook.

Lynne 01-05-2009 11:24 PM

Check line 293 of your class_postbit.php template and my guess is you'll find this hook:
($hook = vBulletinHook::fetch_hook('postbit_display_complet e')) ? eval($hook) : false;

If so, then your error is related to a plugin using that hook location.

itskerz03 01-06-2009 12:13 AM

Quote:

Originally Posted by Lynne (Post 1702767)
Check line 293 of your class_postbit.php template and my guess is you'll find this hook:
($hook = vBulletinHook::fetch_hook('postbit_display_complet e')) ? eval($hook) : false;

If so, then your error is related to a plugin using that hook location.


yes thank you for your help. i found the hook. now how do i determine which plug in is using that location?

Bellardia 01-06-2009 12:18 AM

Quote:

Originally Posted by itskerz03 (Post 1702803)
yes thank you for your help. i found the hook. now how do i determine which plug in is using that location?

yoursite.com/forumdirectory/admincp/plugin.php?do=modify

The 2nd column is 'Hook Location', look for the hook you found, disable them all and enable one by one until you find the culprit.


All times are GMT. The time now is 06:43 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.01049 seconds
  • Memory Usage 1,717KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete