Login menu displayed twice

plasticgoat

Joined: 2007-01-31
Posts: 12
Posted: Thu, 2009-10-22 18:18

Hi,

I am re-opening the issues discussed here (http://gallery.menalto.com/node/91858).
I just updated to the latest exp version (22 oct.)

I am facing the same problem, ie, the login menu is displayed twice and on the wrong side of the screen

- When guest:
Login
Login

- When admin logged in:
* Logged in as <a href="/index.php/form/edit/users/2" title="Edit Your Profile" id="gUserProfileLink" class="gDialogLink">Gallery Administrator</a>
* Logout
* Logged in as <a href="/index.php/form/edit/users/2" title="Edit Your Profile" id="gUserProfileLink" class="gDialogLink">Gallery Administrator</a>
* Logout

I have the same error with the default theme (wind).
I have custom header and footer in the template settings.

My website:
http://galerie.jnicolas.name

AttachmentSize
error_login_gallery.jpg24.38 KB
Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17373
Posted: Thu, 2009-10-22 20:06

Change to the wind them.
go into your themes directory and rename or delete the directory named 'default'
Verify operation with the wind theme.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
plasticgoat

Joined: 2007-01-31
Posts: 12
Posted: Thu, 2009-10-22 22:04

I have deleted the old "default" theme. and changed to wind theme and I still have the problem

I fact I have several issues since I upgrade to the 22nd version.
Before that I had installed the experimental version from oct. 19th and everything was fine except the login problem.
Now I have some problems with the "pop-up" window:
- when I try to create a new album, the window do not close (only with 'x' button), but album is well created
- when I try to add some new pict to that album, the upload process stay stuck at the first pict (see sreenshot enclosed)

I can see the full size, but not the thumnail and resize pict (http://galerie.jnicolas.name/index.php/canada/quebec-city/saint-rock)

I think I will reinstall the 19th version tomorrow waiting for a more stable experimental version :)

Jerome

AttachmentSize
error_gallery_popup.jpg173.27 KB
Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11026
Posted: Thu, 2009-10-22 22:49
Quote:
I think I will reinstall the 19th version tomorrow waiting for a more stable experimental version :)

Follow these instructions exactly
http://codex.gallery2.org/Gallery3:Upgrading

1) Unpack/unzip the latest experimental version to a NEW directory.

2) Move your existing var directory into that new directory.

3) Rename your old gallery3 install.

4) Rename the new gallery3 directory to what your old one was.

Now how does things look?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
plasticgoat

Joined: 2007-01-31
Posts: 12
Posted: Fri, 2009-10-23 14:45

Ok :) evrything things to work now, thanks !

but I'm still wondering why the upgrader didn't work ... I don't like not knowing what's going on :D

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11026
Posted: Fri, 2009-10-23 15:28

The upgrader worked fine. I got word from one of the developers the other day that it was an intentional decision to not mess around with any existing theme directories on an upgrade. Internally the theme is changed to 'wind' but I think, as I haven't tested fully yet, that just grabbing the code and copying over an existing B3 install is leaving something behind.

If you are staying current using Git or following the tips for unpacking the code on the upgrading page it would have worked just fine.

I'm still planning on doing some testing to see if there's something that could be changed or if there's still an old reference to some file that no longer exists, but is still there and thus doesn't get overwritten, renamed, deleted.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
gertie

Joined: 2009-10-23
Posts: 1
Posted: Fri, 2009-10-23 16:56

I had this same problem. I am not using git; rather downloading experimental versions in the ZIP format and unzipping them over the existing installation, then running the upgrader. When I compared what was in my existing gallery directory to what was in the latest package I found the following orphaned files (i.e. in my installation but no longer in the distribution):

\modules\user\controllers\login.php
\modules\user\controllers\logout.php
\modules\user\controllers\password.php
\modules\user\helpers\group.php
\modules\user\helpers\user.php
\modules\user\helpers\user_theme.php
\modules\user\views\login.html.php
\modules\user\views\login_ajax.html.php
\modules\user\views\reset_password.html.php
\modules\user\views\user_languages_block.html.php

I'm not sure which one of these was causing the problem but when I removed them, the second login went away and everything worked fine.

Hope that helps.

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 11026
Posted: Fri, 2009-10-23 17:29
Quote:
Hope that helps.

Yes, very much so. Saves me of the trouble of doing exactly that :)

I think I see what's happening and there's probably not much the upgrader can do to fix it. You just either need to use git or follow the guide for unpacking the code and moving your var directory instead of unpacking over an existing install.

I believe it has to do with Kohana's cascading file system. Our upgrader would have to, at a minimum, rename files and maybe even go so far as deleting files, which I don't think we want to do.

I'll check in with the devs, but since this was part of a larger re-organization during the beta period I doubt there's much that's going to come of it. Though we now know how to fix these problems quicker.

Thanks
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments