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

Reply
 
Thread Tools Display Modes
  #11  
Old 08-18-2014, 04:30 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So did disabling tha hooks fix the original issue?
Reply With Quote
  #12  
Old 08-18-2014, 04:42 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've had this happen when there is a hook firing twice, usually due to a plugin. You need to move the function to a hook like global_start where it only runs once per page... This way it never gets re-declared.
Reply With Quote
  #13  
Old 08-19-2014, 05:24 AM
BULLDOG BULLDOG is offline
 
Join Date: Jan 2014
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
So did disabling tha hooks fix the original issue?
No.

So we've enabled the hooks again.

We still get the double posts (but have enabled double posts checking so that we get the "Updated:" and silver line separation between two identical posts that are then put in one single post).

We also still get the notice if "Do you want to navigate from this page".

It's driving us nuts!!!
Reply With Quote
  #14  
Old 08-19-2014, 06:19 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BULLDOG View Post
No.
When you disable the hook/plugin system you are disabling all additional products that you may have added to vbulletin.

Quote:
Originally Posted by BULLDOG View Post
Okay, we've now disabled hooks both in the ACP and in the includes/config.php file as per post # 4...

BUT now the "Helpful Answers" are not showing anymore... they ARE enabled in the ACP Settings / Options, though..
Because most modifications use the hook/plugins system, your modification 'Helpful Answers', should not run. That is the whole point in disabling the hooks/plugin system -- to see if you board works under a default setup.


Quote:
Originally Posted by BULLDOG View Post
How do we get the "Helpful Answers" back, please?
So we've enabled the hooks again.

We still get the double posts (but have enabled double posts checking so that we get the "Updated:" and silver line separation between two identical posts that are then put in one single post).
This appends the current post to the last post if the last post was within certain time limits. It does not check for 'duplicate posts' more like "consecutive posts by the same poster".

Quote:
Originally Posted by BULLDOG View Post
We also still get the notice if "Do you want to navigate from this page".
It's driving us nuts!!!

---------------------------------------------------

(REFERENCE)
*Check Error* = Check to see if: "Do you want to navigate from this page" does not appear.

1.) Shut off hooks/plugins. *Check Error*.

2.) Fix any JavaScript errors on your page as this will certainly create problems with the ckeditor as @Cag Cheechdog suggested. This will cause the problem you are seeing under the right circumstances. After repairing the JavaScript errors, *Check Error*.

3.) At this point vbulletin should be working and *Check Error* should not exist. If the problem still exists then stop here and obtain further assistance.

4.) Re-enable the plugins/hook system. Disable, all non vBulletin products -- this is all the modifications you have added to the board. Then *Check Error*. If everything is working well, then continue, else stop and obtain further assistance.

5.) Enable Helpful Answers and *Check Error*. If all is well at this point then the problem is due to one of your other products that you have added. You will have to enable them one by one to find which product is causing you problems.

This is really just a summary of all the great suggestions given above by the members of vbulletin.org, but it seems you missed the overall picture, which is why you came full circle. I hope this gives you a better picture of the troubleshooting steps.

I am tired, I am going to bed.
Reply With Quote
  #15  
Old 08-19-2014, 08:02 AM
BULLDOG BULLDOG is offline
 
Join Date: Jan 2014
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I actually did follow your instructions by for instance turning off hooks and "check errors"...

Now, I found errors after disabling hooks. So went back here asking for further assistance.

Enabled hooks, "checked for errors" to find that the problems are still there.

We haven't got any non vBulletin products installed nor any modifications.

Yes, Javascript errors were mentioned in this thread, but not really how to FIX them!

This is why I went here, asking for your help...
Reply With Quote
  #16  
Old 08-19-2014, 08:51 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you disable all plugins via the config

Disable plugins via config if this fixes the problem enable plugins again via config, then disable one plugin at a time until you find the problem one

To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
To enable plugins again just comment out the line
PHP Code:
//define('DISABLE_HOOKS', true); 
Use notepad++ to edit any files
Reply With Quote
  #17  
Old 08-19-2014, 09:27 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
Did you disable all plugins via the config

Disable plugins via config if this fixes the problem enable plugins again via config, then disable one plugin at a time until you find the problem one

To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
To enable plugins again just comment out the line
PHP Code:
//define('DISABLE_HOOKS', true); 
Use notepad++ to edit any files
Yes that was covered in post #2 and answered in post #10
Reply With Quote
  #18  
Old 08-19-2014, 09:40 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BULLDOG View Post
I actually did follow your instructions by for instance turning off hooks and "check errors"...

Now, I found errors after disabling hooks. So went back here asking for further assistance.

Enabled hooks, "checked for errors" to find that the problems are still there.

We haven't got any non vBulletin products installed nor any modifications.

Yes, Javascript errors were mentioned in this thread, but not really how to FIX them!

This is why I went here, asking for your help...
Did you try the fix I mentioned here?

Quote:
Originally Posted by ozzy47 View Post
What version of PHP are you running?

Perhaps you can try the fix described here, http://tracker.vbulletin.com/browse/...#action_144001

You will have to be logged in to vB.com in order to see it.
Reply With Quote
  #19  
Old 08-19-2014, 10:34 AM
BULLDOG BULLDOG is offline
 
Join Date: Jan 2014
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I PM'ed the link to the owner but he said he couldn't see the thread even after having logged in...

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

What is even more weird is that we've enabled the double posts checking which seems to work.

Here's an example from the forum:

Quote:
Originally Posted by allyby View Post
JKP RR in a Pre Barling.

[ATTACH=CONFIG]14482[/ATTACH]

- - - Updated - - -

JKP RR in a Pre Barling.

[ATTACH=CONFIG]14482[/ATTACH]
HOWEVER, when I post something, I get the "Do you want navigate from this page" notice, and it submits two posts after eachother; i.e. without the separator and therefore NOT in one post.
Reply With Quote
  #20  
Old 08-19-2014, 10:42 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You still have not specified your PHP version.
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 06:36 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.06645 seconds
  • Memory Usage 2,277KB
  • 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
  • (4)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
  • (3)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