PDA

View Full Version : [HOWTO] Gallery Login


Jeff
08-02-2005, 03:38 PM
After a successful installation of Gallery via Fantastico you may notice that you are having problems logging in. Usually this is due to one of two reasons listed in section C.8 of the Gallery FAQ:


C.8.

When I try to click on the "[login]" link on the Gallery page, nothing happens (no window pops up). What's wrong?

The most common reason for this is that you have JavaScript disabled or limited in your browser. Make sure that JavaScript is allowed to open windows, or else you may not be able to login to Gallery.

The number two reason for this problem is that your login page has a slightly different hostname than the one you used for your gallery. You can check this by right clicking on the login page and selecting Properties to see what its URL is. The common cause for this is that you used a variation on the standard URL to get to your Gallery, and then the browser thinks that the JavaScript popup is actually on a different host and it causes a security exception when the popup tries to control the main window. For example, if you've told Gallery in the config wizard that your gallery is at http://www.menalto.com/photos and then you actually access the Gallery by going to http://menalto.com/photos (note the "www" is missing), you'll still see your Gallery, but you'll experience this problem. The solution is to pick one hostname and stick with it.


The following is a visual explanation of reason number two.

First, browse to your Gallery installation:

http://enterprise.myriadnetwork.com/htimg/gallery1.png

Second, right click on the "login" link and go to Properties:

http://enterprise.myriadnetwork.com/htimg/gallery2.png

Third, note the exact URL in the Properties of the link:

http://enterprise.myriadnetwork.com/htimg/gallery3.png

As you can see from the last screenshot, the URL in the address bar of the browser is "www.btreview.com", but the URL in the Properties menu displays "btreview.com" (notice the lack of the "www" prefix). Thus, in order to log in, the URL must be changed to http://btreview.com/gallery

cvos
01-27-2006, 12:54 AM
To get Gallery 2 to run on cpanel you need to change it to use GD library.

if you cannot login, clear all cookies and retry.

change the image site library here:
admin -> toolkit priority

then run maintenance

http://codex.gallery2.org/index.php/Gallery2:FAQ#Thumbnails_.2F_resized_images_don.27t _get_generated_properly.2C_how_can_it_be_fixed.3F