|
|
Joined: Jun 2006
Posts: 10
stranger
|
stranger
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.orgpeter
|
|
|
|
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
stranger
|
stranger
Joined: Jun 2006
Posts: 10 |
how long do people have to post before the timeout?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
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
Former Developer
|
Former Developer
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
Former Developer
|
Former Developer
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 |
|
|
|
|
Joined: Jun 2006
Posts: 16,376 Likes: 129
|
Joined: Jun 2006
Posts: 16,376 Likes: 129 |
actually, he could use /* and */ as well <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />
|
|
|
1 members (Gizmo),
181
guests, and
142
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|