Authentication Failure in Embedded Gallery
|
kiiadi
Joined: 2009-06-22
Posts: 9 |
Posted: Sat, 2009-07-04 23:36
|
|
Getting the following error when trying to perform some admin tasks through WP to my embedded Gallery installation (ie: renaming an item). Works fine when I go directly to the Gallery URL but not via WP. Not sure what the issue could be ... I've done a search of the forum and there's a few that get the "Authentication Failure" error but couldnt' find any with similar error detail. 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 * in modules/core/classes/GalleryController.class at line 239 (GalleryCoreApi::error) System Information |
|
| Login or register to post comments |

Posts: 2646
try adding
if (! isset ($authToken)) { $session = & $gallery->getSession(); $authToken = $session->getAuthToken(); GalleryUtilities::putRequestVariable('authToken', $authToken); }just before line 76 in /xxxxxxxxxxxx/wordpress/wp-content/plugins/wpg2/wpg2template.inc
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2