Safari kicking out problem

wbarek

Joined: 2007-05-02
Posts: 155
Posted: Wed, 2009-07-08 22:57

I have played with g3 for a week now and everything works well when working in Firefox. However, when I switch to Safari and login with admin account everything seems fine. When I click on the album or detail image it logs me out from admin and I am back to guest account. This seems consistent at any level. Has anyone reported the same problem? Thanks William
Safari 4.0.2
Firefox 3.5
OS X 10.5.7

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-07-09 05:04

Are you still logged into G3 in Firefox?

Are you using the latest code? Not the Beta download, but the latest code?

git clone git://github.com/gallery/gallery3.git

I'm currently logged in as Admin in Safari 4.0 under Windows using G3 code that's a few days old
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
wbarek

Joined: 2007-05-02
Posts: 155
Posted: Thu, 2009-07-09 11:50

No, I wasn't logged simultaneously in with Firefox.
I am running latest Beta download. How do I upgrade to latest code? Isn't there way to upgrade from runing installation?
Thanks William

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-07-09 13:07

You can use the git command I posted above or this page explains how to download the latest code:
http://codex.gallery2.org/Gallery3:Upgrading
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
wbarek

Joined: 2007-05-02
Posts: 155
Posted: Thu, 2009-07-09 17:00

Hi,
I did everything, upgraded to the latest code and the problem with Safari is still there. I can loggin as admin, but as soon as I click at any album or image, it shows it but it kicks me out of admin. Also I notice that when I loggin as admin and try to use any of the admin options it comes with this message:

Dang... Something went wrong!

We tried really hard, but it's broken.

Talk to your Gallery administrator for help fixing this!

In Firefox there are no problems and I like the upgrade of code option, it went seamlessly and also import from G2 went fine with over 9000 images. Great stuff.
W

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-07-09 17:25

look in /var/logs to see if there is anything and post the entire output of the message of what went wrong. Oh wait, it's kicking you out of your admin session so it's not giving you any info. Check /var/logs to see if there are any error logs Gallery is generating.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
wbarek

Joined: 2007-05-02
Posts: 155
Posted: Fri, 2009-07-10 12:53

Hi, today I checked the log after I loggin as admin and tried any of the admin menues for which I got the screen error:
-----
"Dang... Something went wrong!

We tried really hard, but it's broken.

Talk to your Gallery administrator for help fixing this!"
-----

and when I looked into log file in var this was the entry:
------

<?php defined('SYSPATH') or die('No direct script access.'); ?>

2009-07-10 08:47:48 -04:00 --- error: Uncaught Exception: @todo FORBIDDEN in file modules/gallery/helpers/access.php on line 176
-----

What does it mean that it is produced only in Safari but not Firefox?
Tx W

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2009-07-13 04:00

There seems to be some issue with sessions in Safari 4 that we haven't tracked down yet.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!