Error (ERROR_REQUEST_FORGED) generated on any admin save action
|
Andreas Thyholdt
Joined: 2007-06-29
Posts: 54 |
Posted: Wed, 2007-09-12 08:13
|
|
Suddenly I get these ERROR_REQUEST_FORGED errors and notification that the session data has been lost on every action I take in the site admin. I have tried emptying my browser and coookie cache, but no effect. The issue is also present in Safari, so I don't think it is local. I was getting ready to go live with the gallery, so this came at a bad time. I hope someone can help me nail this one quickly. Trying to delete a user, generates the following debug output:
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 228 (gallerycontroller::assertisgenuinerequest)
* in main.php at line 98
* in main.php at line 87
System Information
Gallery version 2.2.2
PHP version 4.4.6 apache
Webserver Apache/1.3.37 (Unix) PHP/4.4.6 FrontPage/5.0.2.2635
Database mysqlt 4.1.19-standard-log
Toolkits Thumbnail, Gd
Operating system Linux trump 2.4.33 #1 SMP Wed Aug 23 08:58:48 CEST 2006 i686
Browser Mozilla/5.0 (Macintosh; U; Intel Mac OS X; nb-NO; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Debug Output
file_exists(/home/2/d/MySite/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
file_exists(/home/2/d/MySite/www/gallery2/modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class) getParameter shortUrls for rewrite plugin
file_exists(/home/2/d/MySite/g2data/cache/module/rewrite/0/0/0.inc) getParameter session.lifetime for core plugin
file_exists(/home/2/d/MySite/g2data/cache/module/core/0/0/0.inc) getParameter session.inactivityTimeout for core plugin
(mysqlt): SET NAMES "utf8"
file_exists(/home/2/d/MySite/g2data/cache/module/_all/0/0/GalleryStorage_describeMap.inc)
(mysqlt): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp, g_modificationTimestamp, g_data FROM g2_SessionMap WHERE g_id='6d24a7842b196cb373c2ea4d3dde8b5f'
controller core.AdminDeleteUser, view Loading plugin core Class not defined, trying to include it. file_exists(/home/2/d/MySite/www/gallery2/modules/core/module.inc) core plugin successfully
instantiated file_exists(/home/2/d/MySite/g2data/versions.dat) file(/home/2/d/MySite/g2data/versions.dat, ) [1189583558] can't guarantee 5 -- extending!
file_exists(/home/2/d/MySite/g2data/cache/entity/0/0/6.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin file_exists(/home/2/d/MySite/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the core plugin is ok
file_exists(/home/2/d/MySite/www/gallery2/modules/core/AdminDeleteUser.inc) Loading plugin albumselect Class not defined, trying to include it. file_exists(/home/2/d/MySite/www/gallery2/modules/albumselect/module.inc) albumselect plugin successfully instantiated Loading plugin checkout Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/checkout/module.inc) checkout plugin successfully instantiated Loading plugin comment Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/comment/module.inc) comment plugin successfully instantiated Loading plugin customfield Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/customfield/module.inc) customfield plugin successfully instantiated Loading plugin hidden Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/hidden/module.inc) hidden plugin successfully instantiated Loading plugin httpauth Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/httpauth/module.inc) httpauth plugin successfully instantiated Loading plugin imageblock Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/imageblock/module.inc) imageblock plugin successfully instantiated Loading plugin migrate Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/migrate/module.inc) migrate plugin successfully instantiated Loading plugin multilang Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/multilang/module.inc) multilang plugin successfully instantiated Loading plugin password Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/password/module.inc) password plugin successfully instantiated Loading plugin permalinks Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/permalinks/module.inc) permalinks plugin successfully instantiated Loading plugin quotas Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/quotas/module.inc) quotas plugin successfully instantiated Loading plugin rating Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/rating/module.inc) rating plugin successfully instantiated Loading plugin rewrite Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/rewrite/module.inc) rewrite plugin successfully instantiated Loading plugin rss Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/rss/module.inc) rss plugin successfully instantiated Loading plugin sizelimit Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/sizelimit/module.inc) sizelimit plugin successfully instantiated Loading plugin thumbnail Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/thumbnail/module.inc) thumbnail plugin successfully instantiated Loading plugin watermark Class not defined, trying to include it.
file_exists(/home/2/d/MySite/www/gallery2/modules/watermark/module.inc) watermark plugin successfully instantiated Loading plugin core core plugin successfully
instantiated getParameter default.theme for core plugin
Loading plugin PGtheme Class not defined, trying to include it. file_exists(/home/2/d/MySite/www/gallery2/themes/PGtheme/theme.inc) PGtheme plugin successfully
instantiated Check the version of the PGtheme plugin file_exists(/home/2/d/MySite/g2data/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the PGtheme plugin is ok
Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok getParameter id.adminGroup for core plugin
(mysqlt): SELECT g_userId FROM g2_UserGroupMap WHERE g_userId=6 AND g_groupId=3 LIMIT 1
realpath(/home/2/d/MySite/www/gallery2/modules/core/classes/../../../) realpath(/home/2/d/MySite/www/gallery2/)
(mysqlt): SELECT g_mimeType, g_toolkitId, g_priority FROM g2_TkOperatnMimeTypeMap WHERE g_operationName='thumbnail' ORDER BY g_mimeType ASC, g_priority ASC
file_exists(/home/2/d/MySite/g2data/smarty/templates_c/%%1410249755) is_dir(/home/2/d/MySite/g2data/smarty/templates_c/%%1410249755)
file_exists(/home/2/d/MySite/g2data/smarty/templates_c/%%1410249755) is_writeable(/home/2/d/MySite/g2data/smarty/templates_c/%%1410249755)
file_exists(/home/2/d/MySite/g2data/smarty/templates_c/%%1410249755/v_12) getParameter modrewrite.galleryLocation for rewrite plugin
file_exists(/home/2/d/MySite/www/gallery2/modules/core/classes/../../../lib/javascript/local/BlockToggle.js) getParameter modrewrite.galleryLocation for rewrite plugin
file_exists(/home/2/d/MySite/www/gallery2/modules/core/../../themes/PGtheme/local/theme.css) file_exists(/home/2/d/MySite/www/gallery2/modules/core/classes/../../../themes/PGtheme/local/theme.css)
The Smarty Output:
Smarty Debug Console
included templates & config files (load time in seconds)
themes/PGtheme/templates/error.tpl (0.21776) (total)
modules/core/templates/ErrorPage.tpl (0.00537)
assigned template variables
{$ErrorPage} Array (12)
isAdmin => true
stackTrace => "Error (ERROR_REQUEST_FORGED)<ul><li>..."
code => Array (1)
requestAuthenticationFailure => true
phpversion => "4.4.6"
php_uname => "Linux trump 2.4.33 #1 SMP Wed Aug 23 ..."
php_sapi_name => "apache"
webserver => "Apache/1.3.37 (Unix) PHP/4.4.6 FrontP..."
browser => "Mozilla/5.0 (Macintosh; U; Intel Mac ..."
dbType => "mysqlt"
dbVersion => "4.1.19-standard-log"
toolkits => "Thumbnail, Gd"
version => "2.2.2"
{$SCRIPT_NAME} "/gallery2/main.php"
{$_debug_config_keys} Array (2)
0 => "files"
1 => "vars"
{$_debug_config_vals} Array (2)
0 => Array (0)
1 => Array (0)
{$_debug_keys} Array (5)
0 => "ErrorPage"
1 => "SCRIPT_NAME"
2 => "head"
3 => "l10Domain"
4 => "theme"
{$_debug_tpls} Array (2)
0 => Array (3)
type => "template"
filename => "themes/PGtheme/templates/error.tpl"
depth => 0
1 => Array (4)
type => "template"
filename => "modules/core/templates/ErrorPage.tpl"
depth => 1
exec_time => 0.0053701400756836
{$_debug_vals} Array (5)
0 => Array (12)
isAdmin => true
stackTrace => "Error (ERROR_REQUEST_FORGED)<ul><li>..."
code => Array (1)
requestAuthenticationFailure => true
phpversion => "4.4.6"
php_uname => "Linux trump 2.4.33 #1 SMP Wed Aug 23 ..."
php_sapi_name => "apache"
webserver => "Apache/1.3.37 (Unix) PHP/4.4.6 FrontP..."
browser => "Mozilla/5.0 (Macintosh; U; Intel Mac ..."
dbType => "mysqlt"
dbVersion => "4.1.19-standard-log"
toolkits => "Thumbnail, Gd"
version => "2.2.2"
1 => "/gallery2/main.php"
2 => Array (3)
tpl => Array (0)
style => Array (0)
javascript => Array (1)
0 => "lib/javascript/BlockToggle.js"
3 => "themes_PGtheme"
4 => Array (1)
errorTemplate => "modules/core/templates/ErrorPage.tpl"
{$debug_output} "<!DOCTYPE html PUBLIC "-//W3C//DTD XH..."
{$head} Array (3)
tpl => Array (0)
style => Array (0)
javascript => Array (1)
0 => "lib/javascript/BlockToggle.js"
{$l10Domain} "themes_PGtheme"
{$theme} Array (1)
errorTemplate => "modules/core/templates/ErrorPage.tpl"
assigned config file variables (outer template scope)
{#files#} Array (0)
{#vars#} Array (0)
Cheers, Andreas |
|
| Login or register to post comments |

Posts: 32152
does it work if you switch to the matrix theme?
(theme of your root album and as your standard theme, site admin -> themes, and main.php -> edit album -> theme).
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 54
Thanks for the suggestion, Valiant, unfortunatly I can no longer change themes either place without triggering the error.
When I upgraded to 2.2.3, I upgraded the modules directly, as it was suggested it was the fastest way. Maybe something went wrong.
I am going to try to upgrade using the upgrader.
Cheers,
Andreas
Posts: 54
Phew!
Manually unzipping the updated modules and running the upgrader seems to have resolved the issue.
I had a few errors during the upgrade, seems some code in the new CoreModuleExtras.inc could not identify version 1.2.0.5. (Seems it was prematurely set somewhere)
Anyway, I managed to get around it and it seems to be working again. (I went in and reset the versions.dat file and ran the upgrade again)
Cheers,
Andreas
Posts: 81
I had the same error. Tried all fixing methods mentioned on this forum with no luck.
But this thread did inspire me to check on the modules. It turned out the problem be on my deactivated Registration module. Once I re-activated it, the error went away.
But I am working on this private gallery... I know I can set to admin-approve membership. Just a bit silly if I will be denying all & any registration : |
Sponsor: SyncEXP - Synchronizes data ( files & ODBC records ) between any storage drives < http://syncexp.com/ >
Posts: 25
@xinca: same happened to me: I had been deactivating the Registration module to hide the Login link as stated in another thread - after searching and finding your post I re-activated the module and that was it ;-) That means, the Registration module has to be active when updating G2...