1
Anonymous
Valid Token Expired
  • 2005/4/26 17:28

  • Anonymous

  • Posts: 0

  • Since:


I keep getting the error message "Valid Token Expired" when I attempt to make any changes through admin.


please help

thanks, pete

2
hervet
Re: Valid Token Expired
  • 2005/5/1 13:24

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hi,

Desactivate gzip compression.

Bye,
Hervé

3
gestroud
Re: Valid Token Expired
  • 2005/5/2 16:42

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


I get the same message. And guess what. When I go into admin to deactivate g-zip compression, I still get the same message. I had a really good site that is now a total mess.

4
Mithrandir
Re: Valid Token Expired

follow the directions for troubleshooting a blank page (the database solution), exchanging "debug_mode" with "gzip_compression" - setting it to zero instead of 1.

At the same time, you can check your "session_expire" - it should be a fairly high number (number of seconds, a token should be valid)

5
Dave_L
Re: Valid Token Expired
  • 2005/5/2 17:27

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


session_expire is in minutes, not seconds.

Be careful not to use too large a value. That might cause a numeric overflow, and the result could be interpreted as a negative value or something similarly unintended.

Any idea why gzip_compression is causing a problem with this?

6
Mithrandir
Re: Valid Token Expired

Quote:
session_expire is in minutes, not seconds.
My word! you are right. Don't know why I thought it was in seconds...

Quote:
Any idea why gzip_compression is causing a problem with this?

No, but I am going to remove the option in XOOPS 2.1 and see if I can find a better solution (in XOOPS 2.0.x it was only used in the admin section anyway, so little to no benefit from enabling it)

7
hervet
Re: Valid Token Expired
  • 2005/5/2 18:34

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Quote:

Mithrandir wrote:
No, but I am going to remove the option in XOOPS 2.1

That's a VERY VERY VERY bad news and idea !

Quote:

and see if I can find a better solution (in XOOPS 2.0.x it was only used in the admin section anyway

On slow websites and/or webserver it is VERY useful.

8
Mithrandir
Re: Valid Token Expired

Then please tell me how it can work alongside the token system.
I'll be happy to reimplement a working version. Since I don't know much about gzip, I will settle with removing it now (so as to avoid blank pages - a slow site is still better than an all-white one) and then my idea would be to look into using gzip on the cache as well, so also the frontside can get an advantage of this.

9
hervet
Re: Valid Token Expired
  • 2005/5/2 19:17

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


I will try to find why.
For this moment, users should be warn of this problem, it will avoid such posts.

10
shank
Re: Valid Token Expired
  • 2005/5/6 2:57

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


When I upgraded to 2.0.10 I had some blocks that weren't showing on the front page so I tried to make a new block with the same content.
When I created the new block I got this same "Valid token expired" thing.
So I immediatly tried again and it worked, and the original block showed at that point also.

When I found this post I checked gzip compression, and it is set to off, so there has got to be another solution.

Any ideas?

Thanks,
Steve

Login

Who's Online

254 user(s) are online (188 user(s) are browsing Support Forums)


Members: 0


Guests: 254


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits