For a while, occasionally I have experienced a problem with quick reply in that when I make a post, the forum reports that I've already made that post and cannot post it again.
An Error Has Occurred!
You already submitted this post! You might have accidently double clicked, or tried to refresh.
When this happens, I have to go back to the page before, copy the post (from the cache) into the clipboard, and click 'reply' and do a proper reply.
However, during the last couple of weeks a number of other members have been complaining about the same problems.
http://www.fiddleforum.com/fiddleforum/index.php/topic,11282.0.html
Same here, its annoying.
It's doing it with instant messages and everything. Seems to be getting worse and worse.
I seen posts about this before, and the solution is to clear a cache.. what cache? I have no cache...
Please guys, can you give us a solution?
Thanks,
Mark.
Cache is normally your computer cache which you get to (through IE) By goin to tools up at the top and choosing Internet Options. In Internet options you would need to delete the files and cookies. Depending on how big it is and if you've ever done it can take between 30 seconds and 15 minutes.
In Mozilla Firefox you would go to Tools and choose Options. In the privacy selection you would click on the button that says clear next to Cache. It you have the new beta version you would click on Privacy and then click on cache and click on Clear cache now.
That of course that is only if they mean to clear the cache on your computer. If they mean the server cache you might need to maintenance your board.
Mmm, certainly don't need to clear my computer's cache. That's done every day anyway. As for the maintenance, that's run quite regularly, so I don't think it's that either. And to be honest, that's not really a very good fix to what appears to be a large problem with the software...
I've found a work around for this bug... Instead of clicking "post" click "preview" then "post", in quick reply.. That appears to work..
However, this needs to be fixed...
Any comments/thoughts from the dev.team?
*bump*
i've been getting users reporting this lately also, haven't experienced it myself.
I've got more and more members complaining about it.. and not a word from the team here.... ???
http://www.fiddleforum.com/fiddleforum/index.php/topic,11282.msg104224.html#msg104224
http://www.fiddleforum.com/fiddleforum/index.php/topic,11497.msg104222.html#msg104222
Its actually a theme issue. What theme are you using?
Is it? aha... I'm used a modified default.... but it's 1.1b2 or 3 I think so I need to see what changes have been made..... tried beyond compare but it wouldn't display the files for some reason....
Thanks for that, will get on it :)
OK, done a compare it on my index.template, matched as much as I can.. Will see what the feedback is... Thanks for the hint :)
Hmm.. the only real big change I've made in my index.template was follow Unknown's instructions for integrating the forum into your site (the cooler way) - http://www.simplemachines.org/community/index.php?topic=19638.msg158669#msg158669
All my other themes are just copies of the default, with modified stylesheets.
Maybe it isn't a theme issue, but I have seen it happen on edited and old themes. Including this site's theme.
wow, I had this problem in like 6 months ago..
I've also found this: http://www.lawschooldiscussion.org/prelaw/index.php/topic,16568.0.html
and this: http://www.simplemachines.org/community/index.php?topic=12033.0
someday it just stopped.. :)
You can get this error occassionalyl by random IIRC - but highly unlikely to do so. From quick reply it's almost certainly theme related and ensuring your Display.template.php file is upto date is critical. If a theme uses a custom Display.template.php file it may be worth checking if the theme author has updated to 1.1 RC1 yet.
I'm using the default display.template.php and am still experiencing this problem...
same with me
It's obvious that this appears to be a problem on a number of forums. Any chance we could have some help here. It has to be to do with the way sessions are handled, surely. Or at least that's what one of my members says. If you refresh a page just before making your reply, you apparently do not get this problem....
I've had it for months now. On different browsers....
Same problem here...happens to one of my users every time she makes one post and then tries to make another within the same browser session...not even necessarily in the same board or one after the other. Make one, browse around, try and make another...and error. She has to close her browser and fire it up again to be able to post...
I run three different sites and I have experienced this on all three (Both with Quick Reply and regular reply):
One 1.0.5 unwrapped...default theme (with changes in colors in the css)
One 1.0.5 wrapped in Mambo 4.5.1
One 1.1RC1 with SAF-Blue Theme and I compared Default.Display.php with the default and there is no differences...WTF??
So, this is obviously a bug and one that is a recurring one no matter the installation type it seems.
I'm running all three forums on a W2K3 Server - IIS6 - PHP5 Could this be an issue with that or something?
I was thinking maybe it was the "spam/whoring up the thread" blocker in SMF...is there a setting somewhere that a guy could try to increase that which might help this situation??
I get this same problem on my unmodded SMF 1.1RC1 board. It happens when I post to many topics, a board error arises, and causes me to have to go back and resubmit, or just at random sometimes.
Is there any hope of this being fixed?
It seems that this error is occuring for users on my forum that browse with IE. Once they install FF the problem seems to stop. I personally only use FF - and have never gotten the error myself.
Anyone figure this one out yet?
I almost only user FireFox, and I get the error message mostly when I open and reply to lots of topics. So it's unlikely to be browser-specific.
My board is still 1.0.5 and I have a user complaining about this and has been for a while. He has changed browsers to no effect. We do not have any themes customised outside of the Indextemplate and style.css, so all themes use the other default templates.
I've noticed this when I post a quick reply and then immediately post another quick reply in the same thread. The forum keeps an index of the posts in a thread and apparently that isn't updated after a quick reply. Are you guys seeing it when you go from one thread to another?
It seems to be in vogue to have quick replies updated in Javascript rather than actually pulling the page down again... this is how the index doesn't get updated.
Wow...the response from the powers that be about fixing this issue is overwhelming!!
Yeah, it'd be nice at least to hear that they are aware of the problem...
Yep my users are having this problem too! Could anyone in authority PLEASE look into this?? I don't know what to tell people.
Well, there are several things that can be at play here. If this is exclusive to quick reply it's almost certainly a theme problem. You need to check your Display.template.php file and ensure this line occurs:
<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
Secondly, it could be a browser issue, may be worth checking your users don't have anything odd that they use.
Thirdly, if you can't solve the problem you can just bypass the error in the mean time. In Security.php simply remove this:
if ($is_fatal)
fatal_lang_error('error_form_already_submitted', false);
else
return false;
Bear in mind this is terribly difficult to debug. I'm sorry you haven't had a response earlier but I've been very busy as of late. I may recommend we rename the description for this board as I personally don't check Coding Discussion very much, we may be better off recommending bug reports are filed elsewhere.
Quote from: Grudge on December 11, 2005, 04:58:36 PM
Thirdly, if you can't solve the problem you can just bypass the error in the mean time. In Security.php simply remove this:
if ($is_fatal)
fatal_lang_error('error_form_already_submitted', false);
else
return false;
i did this to my boards a few months back and it works perfect.. for all those looking for a fix, this is your best bet (i've been where you are)
although i changed mine to
if ($is_fatal)
reutrn false;
else
return false;
instead
Could this be caused by opening multiple tabs (or windows, for you poor IE-enslaved folk) simultaneously, replying in one, and then trying to reply in another (which has the same "seqnum" value)?
Quote from: electrohome88 on December 12, 2005, 01:24:14 AM
Quote from: Grudge on December 11, 2005, 04:58:36 PM
Thirdly, if you can't solve the problem you can just bypass the error in the mean time. In Security.php simply remove this:
if ($is_fatal)
fatal_lang_error('error_form_already_submitted', false);
else
return false;
i did this to my boards a few months back and it works perfect.. for all those looking for a fix, this is your best bet (i've been where you are)
although i changed mine to
if ($is_fatal)
reutrn false;
else
return false;
instead
I did this a couple weeks ago and it seems to have solved the problem...thanks alot!
Quote from: Sandwich on December 14, 2005, 11:41:38 AM
Could this be caused by opening multiple tabs (or windows, for you poor IE-enslaved folk) simultaneously, replying in one, and then trying to reply in another (which has the same "seqnum" value)?
Yes.
I'm now getting this problem with my test of RC2 and so are some of the members who are beta testing it.
I use Opera 8.51, I do not use quick reply and I have got them when I make a post several minutes after my previous post. Yes it is a modified theme and it is based on the Babylon theme but all modified templates are from RC2.
Is the above code hack OK to use with RC2?
Where is Security.php? I can't seem to find one either in the default folder or my theme's folder?
Quote from: adamspt2 on February 08, 2006, 09:13:21 AM
Where is Security.php? I can't seem to find one either in the default folder or my theme's folder?
/sources
no i am running RC2 and had applied the fix, when ever someone comes to my forum from a banner on another website they get session verification error.
Also my portal has stopped working from the same session verifycation error.
Please can someone make an actual fix for this because it is driving my members insane.
I get the You already submitted this post! You might have accidently double clicked, or tried to refresh. message when posting on quick reply, normal reply, PMs... please fix this, i love SMF but there are other forum softwares that are free or at least cheap that work.
I'm getting this error as well from quite a few users using RC2 cvs from about a week ago.
is this problem going to be fixed in the next version? i hope so.
I am having members complain about this error again.
In the interim we have upgraded to 1.1 RC2, re-downloading 1.1 RC2, immediately before installing. By upgrade I mean that we used a slightly different route than directly from 1.0.6 to 1.1 RC2. We installed a pristine 1.0.6, upgraded the d/b and installed it into a pristine 1.1 RC2. The default theme is untouched, apart from by Mods and all themes are colour variations of default, therefore the Display.template in use is the default one.
Yes indeed - since I installed mkportal, my default theme is almost completely untouched... Not quite in that I've got ride of the member section from the top as that's replicated in myportal. My display.template is deffo the original one.
I believe the fault was sorted out pre rc2 but it's come back again.
Yeah. I too get this very often.
I just reopen the thread and then post.
Quote from: Grudge on December 11, 2005, 04:58:36 PM
Well, there are several things that can be at play here. If this is exclusive to quick reply it's almost certainly a theme problem. You need to check your Display.template.php file and ensure this line occurs:
<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
Secondly, it could be a browser issue, may be worth checking your users don't have anything odd that they use.
Thirdly, if you can't solve the problem you can just bypass the error in the mean time. In Security.php simply remove this:
if ($is_fatal)
fatal_lang_error('error_form_already_submitted', false);
else
return false;
Bear in mind this is terribly difficult to debug. I'm sorry you haven't had a response earlier but I've been very busy as of late. I may recommend we rename the description for this board as I personally don't check Coding Discussion very much, we may be better off recommending bug reports are filed elsewhere.
I just took your advice and removed that snippet from Security.php Grudge, thanks. Is there any potential problem removing it?
For the record, my problem started - not on the quick reply, but on any new post - or reply - after I moved the forum to a faster server - not sure if that is a clue or not!!!!
Until I read this topic, it was impossible to use quick reply on my forum.
As suggested here, I changeed secure.php and now "quick reply" seems to work correctly.
I thank you all for that.
However, I'm not sure changing secure.php is the right way to fix the bug. For instance, after posting a reply via quick reply, I can go back to the previous page (by pressing back on my browser) and post again the same message.
Maybe there is other "side effects" ???
Did any one find any other solutions ?
I noticed for instance the value of "seqnum" remains unfilled with V1.1RC2 default theme :
<input type="hidden" name="seqnum" value="" />
Is it OK ?
Quote from: electrohome on December 12, 2005, 01:24:14 AM
if ($is_fatal)
reutrn false;
else
return false;
instead
Hello electrohome, thank you for your tip.
I tried it and it seems to work.
Just one notice, as many may have noted, thats "return" and not "reutrn"
Like that :
if ($is_fatal)
return false;
else
return false;
Any "official" news on this bug? We're still living with it but not liking it :)
just have pacience, this is free software and since the most of the team is on hiatus, plus pressing trough to the RC3 they have enough stress on ther hands as it is, maybe the dev's have this allready on ther list....
I am very happy with the secure.php solution... 8)
Quote from: qtime on May 15, 2006, 04:05:45 PM
I am very happy with the secure.php solution... 8)
Well it works, but it's not "right" :)
Some of my members just brought this to my attention. Has a real fix been found yet. I see allot of mention. Not looking for a band-aid but a fix. :(
Me and my forum members have been experiencing this error, seemingly at random after I migrated the board to a new webhost. Bord was origninally installed as 1.05 -> upgraded to 1.07 -> migrated to new host as 1.07 -> the error started occuring -> upgraded to 1.1 RC2 -> error is still occuring.
I'm running no mods and using the default theme (with a slight modification to the site header to display my logo and a navmenu).
Might try the security.php bypass thing if i get enough complaints from my members :<
Hoping for an official fix soon :)
I have started randomly getting this error as well. Somehow the other night the DB driven sessions setting in my settings.php just disappeared (haven't made any forum changes to settings or mods in a couple months and my ftp and forum passwords are almost obsessive compulsive in their complexity and I'm the only admin). After I figured out that was the problem and fixed it (thus getting rid of all the session expired errors) this one has started up in its place. Only happens to ME about once a day, not sure about my members they don't tend to report errors to me.
BTW - Running RC2 with a custom theme (which has worked flawlessly since I created it 4 months ago).
I get this error all the time now. I am unable to post or send a pm. I'm using smf 1.1RC2 and joomla 1.0.9 and the bridge. No mods at all. Does this have to do with Member Group changes that I made? If so how do I fix it?
Seems to only happen when I view the forum wrapped in Joomla.
jeff
Mine is happening more frequently now too. Today about 4 times in 8 posts. Absolutely NO changes since my last post besides deleting a few members.
This is a problem that has started appearing on our forum this past month. Sometimes its very bad. We have had NO changes in our templates or software during this time but I do know of an event that MIGHT have something to do with it, but having zero knowledge of php I cant say for sure.
The day before our problems started, our server was having issues. I called the hosting company and htey said they were having troubles with a firewall issue network wide and that things would be back up once they figured it out. From the time the server came back up with thier firewall fix, this problem developed. Is there something that our hosting companies are doing via a firewall that is effecting the php functions when we submit information via a post or instant message?
trying this out...
once again as this is in the security file does it have any security implications of changing this piece of code?
I've never had this problem. I use a custom theme (www.gamerunlimited.com/smf) and I always use quick reply, and post it via ALT + S
This issue is currently being worked on. We are experiencing it on this site and the devs are busy testing possible fixes
Quote
once again as this is in the security file does it have any security implications of changing this piece of code?
It could allow double posts which might help spam bots.
i just wanted to report incase it helps or even if it doesn't...
once i changed this piece of code in the security file my members are how saying they are having an increasing number of instances where the post just disappears... they post and it returns to the board (or back to the topic) and when they look the post is just not there...
just to quote someone above
Quote from: TheGamer on July 27, 2006, 10:25:55 AM
I've never had this problem. I use a custom theme (www.gamerunlimited.com/smf) and I always use quick reply, and post it via ALT + S
i always use alt+s for everything and i have never experienced this error.... could this be a possible clue?
Quotei always use alt+s for everything and i have never experienced this error.... could this be a possible clue?
I use alt+s and get the error so no :(
I'm getting the error now :o
For now I'm altering the security.php as stated above, but this is a commercial site and so I can't leave it like that for very long. I've also reloaded a fresh copy of display.template.php from the original copy of the WikiStyle theme. One thing that I should add is that it started happening immediately after I changed the domain name and moved all the files to a different directory(ie bernina.achilleustechnologies.com to berninaokc.com)
Everything else works just fine except for this. Running on SMF 1.1.2.
Great fix, thanks for the link!