(ERROR_REQUEST_FORGED) Again and again and again...

seppi

Joined: 2006-11-19
Posts: 6
Posted: Tue, 2008-01-01 20:47

Hi guys,

it started some days ago. I tried to create a new album (with ver 2.2.3). I got the common error you can see down on my post. So after trying to fix it (nothing worked, every save/change actions ends with the error) i
tried to delete my gallery. So i did, afterwords i installed the new 2.2.4 version with some plugins like gd, imagemagick and the remote plugin.

So i uploaded some albums and images with the remote gallery 1.5 tool. Everything worked fine. I change some names and rearranged some pictures. Again, everything worked fine. Some hours later i started uploading 2 new albums. I wanted another arrangement of the pictures in those albums. After clicking on save i got the error again. Now every actions ends with the same error:
What the hell is wrong with it? I deleted my cache, cookies... nothing works.
But what works is i can create new albums using gallery remote (with the webinterface of g2 i can't create any)

Maybe you know what i could try next. Thank you!

Authentication Failure
Your change cannot be completed due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in.

Back to the Gallery

Error Detail -
Error (ERROR_REQUEST_FORGED)
in modules/core/classes/GalleryController.class at line 239 (GalleryCoreApi::error)
in main.php at line 224 (GalleryController::assertIsGenuineRequest)
in main.php at line 94
in main.php at line 83
System Information
Gallery version 2.2.4
PHP version 5.2.0-8+etch5~pu1 apache
Webserver Apache/1.3.34 (Debian) mod_python/2.7.11 Python/2.4.4c0 PHP/5.2.0-8+etch5~pu1 mod_perl/1.29
Database mysqli 5.0.32-Debian_9-log
Toolkits ImageMagick, Gd
Operating system Linux srv101.pumpi-hosting.de 2.4.29 #1 Tue Feb 8 12:25:27 CET 2005 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32168
Posted: Tue, 2008-01-01 23:23

> I deleted my cache

what caches? did you check if the caches were cleared successfully?

see:
FAQ: How can I clear cached data?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

Login or register to post comments
seppi

Joined: 2006-11-19
Posts: 6
Posted: Wed, 2008-01-02 09:47

hi valiant,

yes i deleted every selection via cache maintenance.

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32168
Posted: Wed, 2008-01-02 11:48

- please post a link to your gallery.

- did you verify that the corresponding folders in g2data/ have been deleted / emptied when you cleared the caches?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

Login or register to post comments
seppi

Joined: 2006-11-19
Posts: 6
Posted: Wed, 2008-01-02 17:28

the gallery is only for internal intranet, and yes i checked those folders - they are empty like they should be. But
there is a folder called derivative. This folder contains serveral subfolders and files.

Login or register to post comments
valiant

Joined: 2003-01-04
Posts: 32168
Posted: Wed, 2008-01-02 20:36

it's hard to diagnose something that we have no access to.

maybe it helps if you understand how it should work.

this error is shown if the HTTP request to gallery is missing the "g2_authToken" parameter or if the value for that parameter is incorrect.

when G2 generates HTML for a web form, it adds the g2_authToken parameter to that form as an <input type="hidden" ...> field parameter.
and some URLs have it as a &g2_authToken=..." parameter.

the value of the authToken is stored in the database in the g2_SessionMap table in the g2_SessionMap.g_data column.

so when a HTTP request is sent to gallery, it verifies that the value from the g2_authToken parameter is the same as the one in the database.
you see the above error if that isn't the case.

so to diagnose this issue you'll have to find out whether this parameter is somehow missing in your request data and if its value is incorrect for some reason.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

Login or register to post comments
dasumner

Joined: 2008-04-21
Posts: 1
Posted: Sat, 2008-05-10 17:10

Seppi/Valiant,

Did you ever determine a solution for this issue? I seem to be having the exact same problem. I can run the fetch-albums command with no problem, but when I make a call to new-album using the auth-token from the previous run of fetch-albums, I get this error.

Login or register to post comments