coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: EndlessQuest on January 24, 2013, 08:54:15 PM

Title: A valid form token could not be found
Post by: EndlessQuest on January 24, 2013, 08:54:15 PM
Hi All, I have a problem with my site www.richards-fotos.nl/coppermine/index.php

If If I try to upload a picture to the gallery, I get an error message saying "A valid form token could not be found"

I just upgraded to the latest version (1.5.22?) so I assume this is causing the problem, but I am unable to figure out why. Tried searching the forums but to no avail.

Who can help me?
Title: Re: A valid form token could not be found
Post by: Αndré on January 24, 2013, 09:02:04 PM
http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_support
Title: Re: A valid form token could not be found
Post by: EndlessQuest on January 24, 2013, 09:25:35 PM
Hello André,

I followed the steps in the link you posted and as for the permission settings, they are all 777
Then I did the steps under "Enable troubleshooting settings"
When switching tot the simple uploading method, I do nog get any error message.
I checked the "server sided limitations" but none of these errors occur.

Am I correct in assuming that I now have to follow the steps under "Asking for support on upload issues"? Eg creating test user group and account etc.?
Title: Re: A valid form token could not be found
Post by: EndlessQuest on January 24, 2013, 09:39:44 PM
I'm having issues when uploading on my Coppermine driven gallery www.richards-fotos.nl/coppermine/index.php
When using http uploads and the suggested settings for upload troubleshooting in place, I do not get an error message

When using advanced/multiple uploads I get the error message;

A valid form token could not be found

Here's the test user account data:
    Username: tester
    Password: tester

I have no idea what else to do.
Thanks in advance for your suggestions
Title: Re: A valid form token could not be found
Post by: Αndré on January 24, 2013, 09:41:30 PM
Test upload with flash uploader works for me as expected. Please clear your browser cache or try with a different browser / machine.
Title: Re: A valid form token could not be found
Post by: EndlessQuest on January 24, 2013, 09:55:58 PM
I tried with IE 9 and no problem

Emptied Chrome (my regular browser) cache an problem solved.

So no problem anymore.

I am interested to understand what might have caused this problem. Any theory?
Title: Re: A valid form token could not be found
Post by: Αndré on January 24, 2013, 09:59:45 PM
In cpg1.5.22 the form token check was added to the flash uploader:
Quote from: Αndré on January 11, 2013, 11:11:34 AM
Added form token check to flash uploader (thread (http://forum.coppermine-gallery.net/index.php/topic,75503.0.html))

Your cached version doesn't contain the required form token, thus the check must fail. Depending on your cache settings it probably will fail again soon.