Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
3 registered (daudvegas, Dunny, Pilgrim), 41 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 02/09/07
Posts: 193
Top Posters (30 Days)
Ruben 49
Gizmo 24
DennyP 23
Dunny 18
SteveS 14
AllenAyres 12
dbremer 10
SD 9
drkknght00 9
capnbob 7
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#129736 - 08/09/06 06:53 PM error: The form you have submitted is no longer valid.
petergar Offline
stranger
Registered: 06/11/06
Posts: 11
im getting complaints on this... i cant reproduce. any suggestions?

"The form you have submitted is no longer valid."

http://forums.aaca.org

peter
Top
#129737 - 08/09/06 08:42 PM Re: error: The form you have submitted is no longer valid.
Fred Offline
member
Registered: 08/10/06
Posts: 115
I think it is a time out issue, but I'm not sure. I have seen this as well on my site. Kind of made me made yesterday when I had a post it took me 2 hours to generate (technical in nature) and when I went to submit it I received that message. When I clicked back it took me to a blank post.

Again, I think it is a time out issue with the "Sessions" or cookies, but I'm not sure about it.

Fred
Top
#129738 - 08/10/06 10:47 AM Re: error: The form you have submitted is no longer valid.
petergar Offline
stranger
Registered: 06/11/06
Posts: 11
how long do people have to post before the timeout?
Top
#129739 - 08/10/06 02:30 PM Re: error: The form you have submitted is no longer valid.
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
This is normally configured in the php.ini file. We do try to override this and set it to 2 hours but some servers don't allow this. There is a setting in php.ini called 'session_cache_expire' that controls this.

Due to the fact that we can't control this on all servers we've eliminated the need for this altogether for version 7.
Top
#129740 - 09/11/06 08:22 AM Re: error: The form you have submitted is no longer valid.
Daryl Fawcett Offline
addict
Registered: 06/05/06
Posts: 469
Loc: Canada
I am having the same problem and complaints.

Is there a way it can be disabled now?
Top
#129741 - 09/11/06 08:38 AM Re: error: The form you have submitted is no longer valid.
Daryl Fawcett Offline
addict
Registered: 06/05/06
Posts: 469
Loc: Canada
I also can't even find a php.ini file, therefore, where is it located?
Top
#129742 - 09/11/06 10:46 AM Re: error: The form you have submitted is no longer valid.
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Your php.ini file will depend on what type of server you are on. Is this your server or a hosted server?

If you just want to disable the check then you can edit addpost.php. About line 126 you'll see this code block:

if(!$form_check_ok) {
$html->not_right($ubbt_lang["INVALID_FORM_KEY"]);
} // end if


Just remove that block.
Top
#129743 - 09/11/06 11:21 AM Re: error: The form you have submitted is no longer valid.
Daryl Fawcett Offline
addict
Registered: 06/05/06
Posts: 469
Loc: Canada
Rick,

If I simply place # before each line of that block, will that do the same thing?
Top
#129744 - 09/11/06 12:32 PM Re: error: The form you have submitted is no longer valid.
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
For php, the comment syntax is // And yes, that will work.
Top
#129745 - 09/11/06 04:42 PM Re: error: The form you have submitted is no longer valid.
Daryl Fawcett Offline
addict
Registered: 06/05/06
Posts: 469
Loc: Canada
Done.

Thank you.
Top
#129746 - 09/11/06 06:22 PM Re: error: The form you have submitted is no longer valid.
Gizmo Offline

Registered: 06/05/06
Posts: 14993
Loc: Portland, OR; USA
actually, he could use /* and */ as well
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Page 1 of 2 1 2 >



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Island Permissions
by ThreadsUser
Yesterday at 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Running ads
by Jeffdag
05/17/12 01:47 PM
Forum Stats
10484 Members
36 Forums
33834 Topics
181678 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image