ERROR: "Your change cannot be completed due to a loss of session data."
light-blue
Joined: 2008-07-03
Posts: 7 |
Posted: Thu, 2008-07-03 01:51 |
When I use lightbox2 in Drupal 5.x via PGLightBox or the Tutorial (http://codex.gallery2.org/Gallery2:Lightbox_JS_Tutorial), I always get this error message when Editing or Submitting photos (see below). Interestingly, there are NO PROBLEMS doing the same operation in Firefox 2/3 or IE7 if I log in directly to the gallery2 pages (mysite.com/gallery2). Also, if I don't use lightbox (meaning just the default Matrix theme), there's no error (and no lightbox!) I managed to narrow the problem down to adding the javascript before the </head> when manually altering the Matrix theme (tutorial above). Every time I changed that file's head definition, the error would appear. Help!!! 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 |
|
Posts: 7
I forgot to include this troubleshooting info. Does that help?
Drupal Logs
============
Type page not found
Date Thursday, July 3, 2008 - 10:09
User seanw
Location http://mysite.com/%3Cscript%20type=%22text/javascript%22%20src=%22/sites/mysite.com/gallery2/themes/PGlightbox/theme.js%22%3E%3C/script%3E
Referrer http://mysite.com/en/index.php?q=gallery&g2_view=core.ItemAdmin&g2_subView=core.ItemEdit&g2_itemId=60&g2_return=%2
Message <script type="text/javascript" src="/sites/mysite.com/gallery2/themes/PGlightbox/theme.js"></script>
Severity warning
Firebug
========
optionsrc is not defined
(?)()gallery (line 435)
[Break on this error] document.onmousedown=optionsrc;
search_SearchBlock_init is not defined
(?)()gallery (line 7047)
[Break on this error] search_SearchBlock_init('Search the Gall... 'Searching in progress, please wait!');
ShowLayer is not defined
onmouseover()gallery (line 1)
gallery (line 1)
$(document).ready is not a function
uc_store.js?79492()()uc_store.js?79492 (line 19)
[Break on this error] function()
$.browser is undefined
[Break on this error] if ($.browser.msie) {
panels.js
With that PGLightbox turned off
================================
search_SearchBlock_init is not defined
(?)()gallery (line 532)
[Break on this error] search_SearchBlock_init('Search the Gall... 'Searching in progress, please wait!');