joomla - Error Message when switching views from user to guest and back

dianem

Joined: 2006-12-05
Posts: 9
Posted: Sun, 2007-01-07 07:10

I just installed the newest version of G2 in the hopes that it would work better for me than the earlier versions. It's mostly excellent. One problem though. When I am looking at an album and switch between my user view (or admin view) and guest view, I get the following popup error message:
_G2_WRONG_ITEMID

In Firefox, it switches anyway. In Safari, it gives the error popup but doesn't switch views. I didn't look with Explorer.

When googling for a possible answer, I found this page:

http://trac.4theweb.nl/g2bridge/changeset/94

and scrolled down to find this:

branches/joomla_1.0.x/gallery2.php

$g2Menu->load($Itemid);
if(strpos($g2Menu->link, 'com_gallery2')===false) {
mosErrorAlert("This menu is not associated with Gallery2 Component.");
mosErrorAlert(_G2_WRONG_ITEMID);


Gallery version = 2.2-rc-1 core 1.1.26
PHP version = 4.4.4 cgi
PHPINFO.PHP Location = http://www.flyfishtalk.com/gallery2/lib/support/index.php?
Database = mysqlt 4.1.21-standard, lock.system=flock
Toolkits = ImageMagick, LinkItemToolkit, SquareThumb, Thumbnail
Acceleration = none, none
Operating system = Linux fyodor.lunarservers.com 2.4.21-47.ELsmp #1 SMP Tue Aug 1 08:47:53 EDT 2006 i686
Default theme = carbon
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Rows in GalleryAccessMap table = 42
Rows in GalleryAccessSubscriberMap table = 25
Rows in GalleryUser table = 7
Rows in GalleryItem table = 23
Rows in GalleryAlbumItem table = 6
Rows in GalleryCacheMap table = 0

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-01-07 13:50

Sounds like a joomla integration bug.
please try the latest joomla integration and report the problem to michiel1981 if it persists.
see: http://trac.4theweb.nl/g2bridge

--------------
Enter the Gallery 2 Theme Contest today!

 
dianem

Joined: 2006-12-05
Posts: 9
Posted: Sun, 2007-01-07 15:29

Thanks, Valiant. I forgot to mention that I had already installed that new bridge component. I'll report to michiel1981. I appreciate the pointer.