I have enbedded G2 into my own php application. Everything is working except when I want to add an item or an album, it sometimes work in IE and sometimes not even within the same session but not in Firefox. I got the following message when I want to delete an album after I created it. Any help would be much appreciated. Please note that I uninstalled url-rewrite and permalink after I encountered this problem.
Quote:
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 243 (GalleryController::assertIsGenuineRequest)
in main.php at line 104
in modules/core/classes/GalleryEmbed.class at line 189
in <skip...>/framework/utility.php at line 82 (GalleryEmbed::handleRequest)
in <skip...>/index.php at line 114
System Information
Gallery version 2.3.1
PHP version 5.2.6 cgi-fcgi
Webserver Apache
Database mysqli 5.0.67-userstats-log
Toolkits ImageMagick, NetPBM, Gd
Operating system Linux bowser 2.6.31.5-aufs2-grsec-1.0-i686-opt #4 SMP Wed Oct 28 10:16:48 PDT 2009 i686
Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
Posts: 8339
try adding:
just before your call for handleRequest
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 4
I have added the code and tried adding album, items and deleting items and album. All work smoothly. It seems to work now thanks. I shall try more in a few more days to make sure that the behavior is consistent.
Many Thanks ot your help!!!