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

Reply
 
Thread Tools Display Modes
  #11  
Old 12-15-2013, 08:13 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm...well, I guess one possibility is that the "search plugins" mod wouldn't find it if the problem code is in an included file. And if the code is in more than one plugin (or included by more than one) then you might not find it by disabling plugins one by one (or five by five). (Edit:...oh, unless you ultimately disabled them all, then I guess it should have gone away at some point).

Of course it could also just be that I'm wrong.
Reply With Quote
  #12  
Old 12-15-2013, 09:17 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For http://www.cogonline.net/forums/misc.php?do=bbcode

It is definitely from a plugin om the help_bbcodes_bbcode hook.

That isn't a very commonly used hook in mods in my experience- see how many plugins you have on that hook, I would be surprised if it is more than 1.

If it is one, the problem is one line 24 of that plugin.
Reply With Quote
  #13  
Old 12-15-2013, 10:01 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Hmm...well, I guess one possibility is that the "search plugins" mod wouldn't find it if the problem code is in an included file. And if the code is in more than one plugin (or included by more than one) then you might not find it by disabling plugins one by one (or five by five). (Edit:...oh, unless you ultimately disabled them all, then I guess it should have gone away at some point).

Of course it could also just be that I'm wrong.
Yup, disabling hooks clears the problem just fine. Either manually or in the Admin CP. Disabling whole groups of products doesn't seem to do the trick, though. I can only assume its what's technically referred to as one of those weird thingys.

Quote:
Originally Posted by BirdOPrey5 View Post
For http://www.cogonline.net/forums/misc.php?do=bbcode

It is definitely from a plugin om the help_bbcodes_bbcode hook.

That isn't a very commonly used hook in mods in my experience- see how many plugins you have on that hook, I would be surprised if it is more than 1.

If it is one, the problem is one line 24 of that plugin.
Could not find a plugin that used that hook. In fact, only found one that even referenced a BB Code function at all, and it's been disabled for a while now. EDIT: Correction. I should do a search for "bbcode", as well as "bbcodes". [sigh] BRB
Reply With Quote
  #14  
Old 12-15-2013, 10:04 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Yup, disabling hooks clears the problem just fine. Either manually or in the Admin CP. Disabling whole groups of products doesn't seem to do the trick, though. I can only assume its what's technically referred to as one of those weird thingys.

Did you try the plugin manager? Maybe it's a plugin that has the product set to "vbulletin" or something like that, so it's not disabled by disabling any product.
Reply With Quote
  #15  
Old 12-15-2013, 10:14 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just tried that now on your suggestion, but none of those either. I'll just have to keep digging.
Reply With Quote
  #16  
Old 12-16-2013, 12:16 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<span style="text-decoration: line-through">You went to the plugin manager in Admin CP (plugin not product), hit CTRL+F on the keyboard to bring up "Find on Page" in your browser, and pasted in:

help_bbcodes_bbcode

And it didn't find anything? That is virtually impossible with the error message you are getting- so much so i'd ask are you sure you are in the right admincp?</span>

Misread the code.
Reply With Quote
  #17  
Old 12-16-2013, 01:39 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, I was using kh99's modification to search the plugins for the template name. But, no, nothing is using that hook, either. I don't know what to tell ya.
Reply With Quote
  #18  
Old 12-16-2013, 10:27 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, the lines posted in post #7 seem to show that the problem is with template eval lines and not a hook. Also if the problem were in one of the misc_bbcode hooks, it wouldn't happen in profile.php. But they both use a $template array, so I still think that's your issue. I can reproduce the problem by creating a plugin using hook parse_templates and code:
Code:
$template = "test";

So maybe if you created a plugin using hook misc_bbcode_start and code like this:
PHP Code:
if (gettype($template) == 'string')
{
   die (
'$template='.$template);


Then go to the bbcode page, it might give you a clue about where it's being used (or if you never see that message, then I really am wrong).
Reply With Quote
2 благодарности(ей) от:
BirdOPrey5, Digital Jedi
  #19  
Old 12-16-2013, 11:58 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Well, the lines posted in post #7 seem to show that the problem is with template eval lines and not a hook. Also if the problem were in one of the misc_bbcode hooks, it wouldn't happen in profile.php. But they both use a $template array, so I still think that's your issue. I can reproduce the problem by creating a plugin using hook parse_templates and code:
Code:
$template = "test";

So maybe if you created a plugin using hook misc_bbcode_start and code like this:
PHP Code:
if (gettype($template) == 'string')
{
   die (
'$template='.$template);


Then go to the bbcode page, it might give you a clue about where it's being used (or if you never see that message, then I really am wrong).
You know, the very first thing I tried was turning all of my custom products/plugins off, even going so far as to delete some of them for re-import later, and that never worked. It was, in fact, one of the first ones I had worked on, which was using $template as a variable on parse_templates. Sheesh. I don't know how I could have missed that. Thanks for that. I guess I've just been in my Admin CP too long the last couple of weeks.
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 07:53 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06774 seconds
  • Memory Usage 2,267KB
  • 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
  • (2)bbcode_code
  • (2)bbcode_php
  • (4)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
  • (9)post_thanks_box
  • (2)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete