![]() |
Double Posts Problem!
Running vB 4.2.1, we are currently experiencing:
1) Pop up notice asking if you want to navigate away or stay on the page when submiting a post 2) Choosing staying on the page submits the post...but TWO times! How do we fix this, please? |
Hmmm...I recently had this problem myself ... It was a javascript conflict somewhere ...
What have you changed or installed recently that has javascript ... |
The owner installed some patches recently:
Quote:
|
It may be from a mod, try disabling them all and see if the issue still persists.
Open your includes/config.php file and below<?php add this line: PHP Code:
PHP Code:
|
Can this be located in the ACP?
|
No, it should be done in the config file, to ensure all plugins are off.
But if you really must try it, ACP --> Settings --> Options --> Plugin/Hook System and set Enable Plugin/Hook System to NO |
Thanks! I've disabled the hook system via the ACP... let's hope it works.
--------------- Added [DATE]1408359910[/DATE] at [TIME]1408359910[/TIME] --------------- ... and just got the "Do you want to navigate away from this page" notice again! |
Then it is still possible there could be a plugin firing, as doing it from the ACP don't always disable everything.
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. |
I am having the same issue the last few days!!!
I havent installed any new mods/plugins the last few months and still get the same problem By the way only happens on Quick Reply.. Not sure why.. |
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.. How do we get the "Helpful Answers" back, please? |
So did disabling tha hooks fix the original issue?
|
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.
|
Quote:
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!!! |
Quote:
Quote:
Quote:
Quote:
--------------------------------------------------- (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. :) |
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 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:
PHP Code:
|
Quote:
|
Quote:
Quote:
|
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:
|
You still have not specified your PHP version. :)
|
Sorry... it's PHP 5.4.31
|
That is most likely the issue, you need to upgrade to the latest vB version, or downgrade your PHP to one of the 5.3.x versions.
|
Okay, we will try that... I will get back to you what the result is.
Thanks so far! |
Not a problem. :)
|
One thing puzzles me, though:
Why do members get the "Double post" notification and have their identical posts merged into one when I don't get this with my account?? What I get is this "Want to navigate from this page" and TWO posts (not merged). I mean: the double post check (enabled) should work for ALL, or am I mistaken? |
Not sure, maybe because you are admin.
|
Quote:
|
I found a solution for my forum:
Options->General Settings->Disable AJAX Features->Disable problematic Ajax Feautures |
Yeah that's a possibility, but there will be other issues as the OP's version ov vB is not compatable with his PHP version.
|
Quote:
THANKS! |
You stil need to do as I suggested, or you will run into more issues. :)
|
Quote:
Message Posting Doublepost Options Time Check Limit -> 5 After this I bumped into new Issues! The forum is very quick, but when I post a new Post/Thread its very very slow... really slow.. but only while posting. No more double post but then that happens.. Not sure if timecheck limit or cause ajax is disabled |
Did you resolve the PHP issue discussed in post #19?
|
All times are GMT. The time now is 05:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|