Login problems (Again)

Galaphile
Galaphile's picture

Joined: 2002-08-24
Posts: 6
Posted: Sat, 2002-08-24 19:14

Hi all,

I've seen a couple of topics about this problem but the solutions provided did not work....
Perhaps someone has an other solution

My problem:
- clicking on login.
- popup apears. entering admin and password
- Popup disapears, page reloading
- page stays the same (without admin options)

Solutions tried:
- FAQ C/23
Nothing different :???:
- Logging in and after that clicking album
Nothing different :evil:
- entering full login url (http://www.mydomain.com/gallery/login.php) after that
entering full album url (http://www.mydomain.com/gallery/albums.php)
Page is showing admin options :smile:
Clicking an option, Blank popup apears :mad:

Using Gallery 1.3.1 on debian linux
PHP 4.1.2
Apache 1.3.26
netpbm 10.x
jhead

 
Galaphile
Galaphile's picture

Joined: 2002-08-24
Posts: 6
Posted: Sat, 2002-08-24 19:43

Weird, after posting it suddenly start to work...... :grin:
but i dont know if its gonna last.......

 
Galaphile
Galaphile's picture

Joined: 2002-08-24
Posts: 6
Posted: Sat, 2002-08-24 22:48

Well, it did not last long, managed to upload an album, tested some thing like slideshow
and did some other (non-web related) stuff on the comp. wanted to show it to a friend which came by and it flunked....
The problem is back.

Thinking its the PHP.ini on my server, can someone send me a PHP.ini so i can compare mine with it?

 
TheWatcher
TheWatcher's picture

Joined: 2002-08-21
Posts: 120
Posted: Sat, 2002-08-24 23:03

please run the diagnostic http://www.searchdomain.info/gallerypath/setup/diagnostics.php

First check the phpinfo, safe mode should be OFF . This is one of gallery requirement.
2nd check the netpbm, if you see any error. Post it here so we can analyze...

Regards.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2002-08-25 18:18

Galaphile, your problems are related to the session code. Run the session diagnostic and see if it works for you reliably.

The most common cause for this is that something is affecting PHP's ability to store and retrieve sessions. You can check out your session subsystem configuration in the PHP diagnostic; that may give you a clue.

What's the URL to your site?

 
Galaphile
Galaphile's picture

Joined: 2002-08-24
Posts: 6
Posted: Tue, 2002-08-27 17:54

Affirmed that its the session code
The sessions test runs fine on first load, restart works also but after a reload i get the 404.
<!-- BBCode Start --><A HREF="http://vulpen.no-ip.org/gallery/albums.php" TARGET="_blank">My Gallery location</A><!-- BBCode End -->

My session.cookie_lifetime is set to 0 (local and master) perhaps thats a problem?
My PHPInfo is at
<!-- BBCode Start --><A HREF="http://desoos.no-ip.com/php.php" TARGET="_blank">PHP - Info</A><!-- BBCode End -->

 
jerryasher

Joined: 2002-08-27
Posts: 25
Posted: Tue, 2002-08-27 20:19

I'm having the same/similar problem.

Using Mozilla 0.99, RedHat7.3, Gallery 1.3.1, with safe mode off, and session diagnostics showing that sessions are working, I just get the basic screen showing no albums and suggesting I login.

If I login and purposefully give the wrong password, I am told that it is the wrong password.

I've checked my javascript settings in Moz, and they allow everything, popups in particular.

I'd appreciate any suggestions,

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-08-28 05:38
Quote:
Affirmed that its the session code
The sessions test runs fine on first load, restart works also but after a reload i get the 404.
<!-- BBCode Start --><A HREF="http://vulpen.no-ip.org/gallery/albums.php" TARGET="_blank">My Gallery location</A><!-- BBCode End -->

My session.cookie_lifetime is set to 0 (local and master) perhaps thats a problem?
My PHPInfo is at
<!-- BBCode Start --><A HREF="http://desoos.no-ip.com/php.php" TARGET="_blank">PHP - Info</A><!-- BBCode End -->

It's hard to say why this is happening, but it's definitely an issue with your PHP configuration has little or nothing to do with Gallery. You should check your Apache error log, consult with your systems administrator, refer to http://www.php.net for assistance.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-08-28 05:39
Quote:
I'm having the same/similar problem.

Using Mozilla 0.99, RedHat7.3, Gallery 1.3.1, with safe mode off, and session diagnostics showing that sessions are working, I just get the basic screen showing no albums and suggesting I login.

If I login and purposefully give the wrong password, I am told that it is the wrong password.

I've checked my javascript settings in Moz, and they allow everything, popups in particular.

I'd appreciate any suggestions,

Did you read FAQs 4.21 and 4.23?

-Bharat