Admin can't add albums

kurt1232

Joined: 2010-01-19
Posts: 8
Posted: Wed, 2010-12-29 10:45

Hi!

I installed Gallery3 yesterday and managed to add an album and 65 pictures. But after that the system behavior is quite strange. As Admin or any other user I can't add albums and can't modify the first one. As Admin I can only use the menu item 'Admin', but I have to login again (despite that I'm already logged in), I can't use 'Add' or 'Album options'. When I go to 'Home' I will be logged out automatically. And sometime I get the error message: something went wrong (see attached file).

Thanks for helping me!

AttachmentSize
Something went wrong!.pdf74.88 KB
 
kurt1232

Joined: 2010-01-19
Posts: 8
Posted: Wed, 2010-12-29 15:53

I'm just tested it with Firefox on my Mac instead with Safari. It work's. Does that mean that Gallery3 is not compatible with OSX/Safari?

 
Whiskerfish

Joined: 2009-06-08
Posts: 15
Posted: Thu, 2010-12-30 00:10

I am absolutely guessing mind you but it might be as simple as a cookie or cache setting?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2010-12-30 07:48

I use Safari on OSX to test occasionally and it works ok for me. Hm. Can you try this with the latest 3.0.1 code? See my link below for upgrading info.
---
Problems? Check gallery3/var/logs
file a bug/feature ticket | upgrade to the latest code! | hacking G3? join us on IRC!

 
kurt1232

Joined: 2010-01-19
Posts: 8
Posted: Mon, 2011-01-10 12:01

I just upgraded to 3.0.1 but I still have the some troubles. I can now better describe the situation. If users use Safari or Internet Explorer they have to re-login after each activity. E.g. they go to the home screen and see the albums which are access able for everybody. Than the login and see further 3 albums for the group. But when the click on one of them, they have to re-login. Than they can see the pictures of the album. When they click on a certain picture, they have to re-login, and so on.

This failure happens on different computers with different browsers.

Thanks!

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2011-01-10 18:21

What's the url to your site so that I can test it out myself? Do you ever see "g3sid=..." show up in the url? (that would be https://sourceforge.net/apps/trac/gallery/ticket/1316)
---
Problems? Check gallery3/var/logs
file a bug/feature ticket | upgrade to the latest code! | hacking G3? join us on IRC!

 
kurt1232

Joined: 2010-01-19
Posts: 8
Posted: Wed, 2011-01-12 18:12

I did a lot of testing the last days. The results are:

The failure comes only on Macs with Safari (I tested it on 2 different machines). The problem is that after one or two clicks on albums or pictures your a logged out automatically and you cannot access that item. After re-login the game begins again. If you go to http://www.scoopandspoon.com/fotos/ with a Safari browser on a Mac your can see two albums (buenos aires, buenos aires bw) which are open for everybody. After login as temp with the password temp123 you see also the album called Temp. Here you can test that system behavior.

Here are some log files during that failure:

gallery3 Log:

2011-01-12 11:32:06 +01:00 --- error: File not found: rss/feed/gallery/album/279
2011-01-12 11:32:08 +01:00 --- error: File not found: Salzstiegl/Salzstiegl-3
2011-01-12 11:32:52 +01:00 --- error: File not found: Salzstiegl
2011-01-12 11:35:58 +01:00 --- error: File not found: file_proxy/.album.jpg
2011-01-12 11:35:59 +01:00 --- error: File not found: Salzstiegl
2011-01-12 11:36:45 +01:00 --- error: File not found: rss/feed/gallery/album/279
2011-01-12 11:36:45 +01:00 --- error: File not found: file_proxy/Salzstiegl-6.jpg
2011-01-12 11:36:45 +01:00 --- error: File not found: file_proxy/Salzstiegl-7.jpg
2011-01-12 11:36:46 +01:00 --- error: File not found: file_proxy/Salzstiegl-8.jpg
2011-01-12 11:36:46 +01:00 --- error: File not found: file_proxy/Salzstiegl-9.jpg
2011-01-12 11:36:49 +01:00 --- error: File not found: Salzstiegl/Salzstiegl-5
2011-01-12 11:37:01 +01:00 --- error: File not found: Salzstiegl
2011-01-12 11:39:00 +01:00 --- error: File not found: Silvester-2010
2011-01-12 11:42:02 +01:00 --- error: File not found: file_proxy/.album.jpg
2011-01-12 11:42:04 +01:00 --- error: File not found: Salzstiegl

The web server log shows that that entries come from Safari/Mac:

193.104.55.138 - - [12/Jan/2011:11:32:06 +0100] "GET /fotos/rss/feed/gallery/album/279 HTTP/1.1" 404 6265 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko)"
193.104.55.138 - - [12/Jan/2011:11:32:08 +0100] "GET /fotos/Salzstiegl/Salzstiegl-3 HTTP/1.1" 404 6265 "http://www.scoopandspoon.com/fotos/Salzstiegl" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
193.104.55.138 - - [12/Jan/2011:11:32:52 +0100] "GET /fotos/Salzstiegl HTTP/1.1" 404 6265 "http://www.scoopandspoon.com/fotos/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
193.104.55.138 - - [12/Jan/2011:11:35:58 +0100] "GET /fotos/var/thumbs/Finikunda-2010/.album.jpg?m=1294350172 HTTP/1.1" 404 14 "http://www.scoopandspoon.com/fotos/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
193.104.55.138 - - [12/Jan/2011:11:35:59 +0100] "GET /fotos/Salzstiegl HTTP/1.1" 404 6265 "http://www.scoopandspoon.com/fotos/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
193.104.55.138 - - [12/Jan/2011:11:36:45 +0100] "GET /fotos/rss/feed/gallery/album/279 HTTP/1.1" 404 6265 "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko)"
193.104.55.138 - - [12/Jan/2011:11:36:45 +0100] "GET /fotos/var/thumbs/Salzstiegl/Salzstiegl-6.jpg?m=1293654703 HTTP/1.1" 404 14 "http://www.scoopandspoon.com/fotos/Salzstiegl" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
193.104.55.138 - - [12/Jan/2011:11:36:45 +0100] "GET /fotos/var/thumbs/Salzstiegl/Salzstiegl-7.jpg?m=1293654707 HTTP/1.1" 404 14 "http://www.scoopandspoon.com/fotos/Salzstiegl" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
193.104.55.138 - - [12/Jan/2011:11:36:45 +0100] "GET /fotos/var/thumbs/Salzstiegl/Salzstiegl-8.jpg?m=1293654703 HTTP/1.1" 404 14 "http://www.scoopandspoon.com/fotos/Salzstiegl" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
193.104.55.138 - - [12/Jan/2011:11:36:46 +0100] "GET /fotos/var/thumbs/Salzstiegl/Salzstiegl-9.jpg?m=1293654703 HTTP/1.1" 404 14 "http://www.scoopandspoon.com/fotos/Salzstiegl" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
193.104.55.138 - - [12/Jan/2011:11:36:49 +0100] "GET /fotos/Salzstiegl/Salzstiegl-5 HTTP/1.1" 404 6265 "http://www.scoopandspoon.com/fotos/Salzstiegl" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
193.104.55.138 - - [12/Jan/2011:11:37:01 +0100] "GET /fotos/Salzstiegl HTTP/1.1" 404 6265 "http://www.scoopandspoon.com/fotos/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
193.104.55.138 - - [12/Jan/2011:11:39:00 +0100] "GET /fotos/Silvester-2010 HTTP/1.1" 404 6265 "http://www.scoopandspoon.com/fotos/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
193.104.55.138 - - [12/Jan/2011:11:42:02 +0100] "GET /fotos/var/thumbs/Finikunda-2010/.album.jpg?m=1294350172 HTTP/1.1" 404 14 "http://www.scoopandspoon.com/fotos/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
193.104.55.138 - - [12/Jan/2011:11:42:04 +0100] "GET /fotos/Salzstiegl HTTP/1.1" 404 6265 "http://www.scoopandspoon.com/fotos/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"

Accessing the same picture with Firefox from a Mac or from Windows lead to not troubles, also to not 404 entries.

Thanks for helping!

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2011-01-19 05:46

I logged in as temp and clicked around a bunch and it didn't log me out. I still suspect the use_trans_sid issue -- did you see g3sid in your urls? Is the problem still happening?
---
Problems? Check gallery3/var/logs
file a bug/feature ticket | upgrade to the latest code! | hacking G3? join us on IRC!

 
kurt1232

Joined: 2010-01-19
Posts: 8
Posted: Sat, 2011-01-22 20:07

Strange, I still get logged out after some klicks. I cannot see any g3sid url.