PDA

View Full Version : error code from a plug in


itskerz03
01-05-2009, 11:03 PM
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
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
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.