Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 10
P
stranger
stranger
P Offline
Joined: Jun 2006
Posts: 10
im getting complaints on this... i cant reproduce. any suggestions?

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

http://forums.aaca.org

peter

Joined: Aug 2006
Posts: 111
member
member
Joined: Aug 2006
Posts: 111
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

Joined: Jun 2006
Posts: 10
P
stranger
stranger
P Offline
Joined: Jun 2006
Posts: 10
how long do people have to post before the timeout?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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.

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I am having the same problem and complaints.

Is there a way it can be disabled now?

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I also can't even find a php.ini file, therefore, where is it located?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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.

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
Rick,

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

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
For php, the comment syntax is // <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" /> And yes, that will work.

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
Done.

Thank you.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
2 members (Nightcrawler, Ruben), 446 guests, and 194 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)