Session problem with g2-event-module
Posted: Fri Jun 01, 2007 12:20 pm
Hi,
I am using serendipty 1.2 and gallery2 (Version information below). Users have to log in in s9y to view posts. They are also required to log in to g2 to view any pictures.
I embedded g2 in serendipity using the g2embed event plugin. I changed the plugin to authenticate users with g2 whenever they log-in in s9y. If the s9y user doesn't exist in g2, it will be created on the fly. g2 is set up to only show elements, view/post comments and vote to registered users.
All is doing fine, but whenever I add the "post comment" function in g2 to any album or element it seems that I am loosing the session. That means the embedded g2 won't show the element but only the broken image placeholders. In that case g2 is also not shown in my blog layout, but in the standalone g2 layout. If I deactive the comment-function, all goes well.
Do you have any hints about that?
Thank you in advance!
Serendipity-Version: 1.2
g2-event-plugin: 0.3
Gallery-Version = 2.2.1 Kernel 1.2.0.1
PHP-Version = 5.2.0-10 apache2handler
Webserver = Apache/2.2.3 (Debian) mod_jk/1.2.18 PHP/5.2.0-10 mod_ssl/2.2.3 OpenSSL/0.9.8e
DB = mysql 5.0.38-Debian_1-log, lock.system=flock
Tools = ArchiveUpload, Dcraw, Exif, Ffmpeg, ImageMagick, NetPBM, SquareThumb, Thumbnail, Gd, Getid3, jpegtran
Caching (Speedup) = none, none
OS = Linux [...] 2.6.21.3-v0.02-mk #1 Wed May 30 14:03:35 CEST 2007 i686
I am using serendipty 1.2 and gallery2 (Version information below). Users have to log in in s9y to view posts. They are also required to log in to g2 to view any pictures.
I embedded g2 in serendipity using the g2embed event plugin. I changed the plugin to authenticate users with g2 whenever they log-in in s9y. If the s9y user doesn't exist in g2, it will be created on the fly. g2 is set up to only show elements, view/post comments and vote to registered users.
All is doing fine, but whenever I add the "post comment" function in g2 to any album or element it seems that I am loosing the session. That means the embedded g2 won't show the element but only the broken image placeholders. In that case g2 is also not shown in my blog layout, but in the standalone g2 layout. If I deactive the comment-function, all goes well.
Do you have any hints about that?
Thank you in advance!
Serendipity-Version: 1.2
g2-event-plugin: 0.3
Gallery-Version = 2.2.1 Kernel 1.2.0.1
PHP-Version = 5.2.0-10 apache2handler
Webserver = Apache/2.2.3 (Debian) mod_jk/1.2.18 PHP/5.2.0-10 mod_ssl/2.2.3 OpenSSL/0.9.8e
DB = mysql 5.0.38-Debian_1-log, lock.system=flock
Tools = ArchiveUpload, Dcraw, Exif, Ffmpeg, ImageMagick, NetPBM, SquareThumb, Thumbnail, Gd, Getid3, jpegtran
Caching (Speedup) = none, none
OS = Linux [...] 2.6.21.3-v0.02-mk #1 Wed May 30 14:03:35 CEST 2007 i686