Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (lexfrost), 58 guests, and 249 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Daryl Fawcett
Daryl Fawcett
Canada
Posts: 596
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
isaac 21
Ruben 10
Gizmo 8
Geoff 3
FREAK 2
Slaz 2
DennyP 1
Latest Photos
Testing to drag photos
Comfortable Cats
Test
BSA photos
Chinese Buddhist temple.
Previous Thread
Next Thread
Print Thread
error: The form you have submitted is no longer valid. #129736
08/09/06 06:53 PM
08/09/06 06:53 PM
P
petergar  Offline OP
stranger
Joined: Jun 2006
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

Re: error: The form you have submitted is no longer valid. #129737
08/09/06 08:42 PM
08/09/06 08:42 PM
Fred  Offline
member
Joined: Aug 2006
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. <img src="https://www.ubbcentral.com/boards/images/graemlins/mad.gif" alt="" />

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

Fred

Re: error: The form you have submitted is no longer valid. #129738
08/10/06 10:47 AM
08/10/06 10:47 AM
P
petergar  Offline OP
stranger
Joined: Jun 2006
Posts: 11
how long do people have to post before the timeout?

Re: error: The form you have submitted is no longer valid. #129739
08/10/06 02:30 PM
08/10/06 02:30 PM
R
Rick  Offline
Former Developer
Joined: Jun 2006
Posts: 10,177
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.

Re: error: The form you have submitted is no longer valid. #129740
09/11/06 08:22 AM
09/11/06 08:22 AM
Daryl Fawcett  Offline
addict
Joined: Jun 2006
Posts: 596
Canada
I am having the same problem and complaints.

Is there a way it can be disabled now?

Re: error: The form you have submitted is no longer valid. #129741
09/11/06 08:38 AM
09/11/06 08:38 AM
Daryl Fawcett  Offline
addict
Joined: Jun 2006
Posts: 596
Canada
I also can't even find a php.ini file, therefore, where is it located?

Re: error: The form you have submitted is no longer valid. #129742
09/11/06 10:46 AM
09/11/06 10:46 AM
R
Rick  Offline
Former Developer
Joined: Jun 2006
Posts: 10,177
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.

Re: error: The form you have submitted is no longer valid. #129743
09/11/06 11:21 AM
09/11/06 11:21 AM
Daryl Fawcett  Offline
addict
Joined: Jun 2006
Posts: 596
Canada
Rick,

If I simply place # before each line of that block, will that do the same thing?

Re: error: The form you have submitted is no longer valid. #129744
09/11/06 12:32 PM
09/11/06 12:32 PM
R
Rick  Offline
Former Developer
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
For php, the comment syntax is // <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" /> And yes, that will work.

Re: error: The form you have submitted is no longer valid. #129745
09/11/06 04:42 PM
09/11/06 04:42 PM
Daryl Fawcett  Offline
addict
Joined: Jun 2006
Posts: 596
Canada
Done.

Thank you.

Re: error: The form you have submitted is no longer valid. #129746
09/11/06 06:22 PM
09/11/06 06:22 PM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,956
Portland, OR; USA
actually, he could use /* and */ as well <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Shout Box
Today's Birthdays
SD
Recent Topics
UBB.threads 7.6.2 - Released
by isaac. 09/17/18 08:08 AM
7.6.2 Changelog Discussion
by isaac. 09/17/18 06:35 AM
Upgrade Documentation
by DennyP. 09/15/18 03:55 PM
PHP 7.2
by Geoff. 09/12/18 10:22 PM
Email Cleanup-Is it possible?
by Ruben. 09/06/18 11:25 AM
Forum Statistics
Forums36
Topics35,139
Posts191,439
Members12,106
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2