Kreismeister
Kreismeister's picture

Joined: 2003-10-14
Posts: 19
Posted: Tue, 2003-10-14 13:32

Same problem here. I click the "log in" link -> log in window appears -> I enter "admin" + pw and click "log in" -> login window disappears, main window reloads but I'm nbot logged in.

1.4-pl2 installed today.

I've tried Mozilla + IE6

 
fallscrape

Joined: 2003-10-14
Posts: 18
Posted: Tue, 2003-10-14 14:34

In my case, this is classified as a "Stupid User Error" or SUE for short. Basically in my haste to click, click, click, the popup window got thrown the back, where it suffered an IE fatal error (And hence was hidden)

As soon as I rebooted, the problem sorted itself :- )

Can't help the other guy, unless it's the same problem!

 
Kreismeister
Kreismeister's picture

Joined: 2003-10-14
Posts: 19
Posted: Thu, 2003-10-16 12:05

I'm sure it's not a browser problem :(

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2003-10-16 12:16

Kreismeister, have you checked FAQ Gallery:c.9

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Thu, 2003-10-16 12:24

Splitting. These problems have nothing to do with each other. Kreismeister, you'll find your question in a separate thread shortly.

 
Danny

Joined: 2003-03-24
Posts: 90
Posted: Thu, 2003-10-16 20:23

Hi, I also cant login with 1.4.1 Build 161. Session Test says it is all OK, numbers are increasing. I enabled full access for the site for cookies, but Gallery won't let me in. When I type in the admin credentials, after clicking OK the login windows just reloads instead of going away. Of course it clears the password field and just let the username there.

Any ideas, how to solve this problematic?

 
chump1039

Joined: 2003-10-16
Posts: 1
Posted: Thu, 2003-10-16 20:52
Danny wrote:
Hi, I also cant login with 1.4.1 Build 161. Session Test says it is all OK, numbers are increasing. I enabled full access for the site for cookies, but Gallery won't let me in. When I type in the admin credentials, after clicking OK the login windows just reloads instead of going away. Of course it clears the password field and just let the username there.

Any ideas, how to solve this problematic?

downloaded and installed gallery-1.4-pl2.zip today

getting the same problem

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Thu, 2003-10-16 23:02

URL and admin password?

 
clayaikenfancom

Joined: 2003-10-18
Posts: 1
Posted: Sat, 2003-10-18 19:35

I also cannot log on. I type the correct name and pass but it says that it is invalid.

http://clayaikenfan.com/gallery/albums.php
password - amanda

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2003-10-18 20:08

clayaikenfancom, i can't see a Gallery install there at all?

 
Kreismeister
Kreismeister's picture

Joined: 2003-10-14
Posts: 19
Posted: Thu, 2003-10-23 06:23
joan wrote:
Splitting. These problems have nothing to do with each other. Kreismeister, you'll find your question in a separate thread shortly.

Hi!

I've checked the FAQ and thats not the problem. Can you point me to the new thred?

Thanks,
KM

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Thu, 2003-10-23 06:56

This is the new thread. Sorry for the confusion.

 
Kreismeister
Kreismeister's picture

Joined: 2003-10-14
Posts: 19
Posted: Thu, 2003-10-23 07:17

I don't know what todo. I think it must be a bug. Everything looks fine. Sessions are created in the temp directory. I can view public albums but I can't log in.

The second thing I'm wondering about is why the hell the session test only runs till the counter value is 2 and doesn't increase any more.

 
theprotege
theprotege's picture

Joined: 2002-08-16
Posts: 58
Posted: Thu, 2003-10-23 08:09
h0bbel wrote:
Kreismeister, have you checked FAQ Gallery:c.9

i'm fixed...i can't believe i was this stupid...
wonder why it worked previous though?? windows sucks

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Thu, 2003-10-23 10:02

the session count value is a problem. it should keep increasing.

I'll see if Joyoflinux has any ideas.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2003-10-23 11:31

Kreismeister, URL to your session_test.php script ?

 
Kreismeister
Kreismeister's picture

Joined: 2003-10-14
Posts: 19
Posted: Thu, 2003-10-23 13:04

I created a fresh installation for you to verify:
http://www.familie-wagenknecht.de/fotos/setup/session_test.php

... could there be a firewall problem? Will will try tonight at home.

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2003-10-23 21:29

Wow, that is freaking crazy. I'd have to poke around on your system to actually see what else may be wrong...

 
Kreismeister
Kreismeister's picture

Joined: 2003-10-14
Posts: 19
Posted: Fri, 2003-10-24 07:43
joyoflinux wrote:
Wow, that is freaking crazy. I'd have to poke around on your system to actually see what else may be wrong...

Send you an email.

Thanks,
KM

 
SeamusWarren

Joined: 2003-10-20
Posts: 36
Posted: Sun, 2003-10-26 03:44

After reading the first post here I realised I was entering "Admin" instead of "admin". Problem solved. Thank you. :)

Don't know if this will help, but I used the "test.php" page to tell me the path to "netpbm" but every time I ran the configuration script/program/page thingy, it would not be able to see it. Until...drum roll please...I changed the permissions on the netpbm directory and its contents to "755".

Do you need to change the permissions of any files or directories so they can be read?

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Sun, 2003-10-26 09:53
 
tigerbear

Joined: 2003-10-31
Posts: 1
Posted: Fri, 2003-10-31 11:46

@kreismeister

hello I am having same problem as you. After checking all recommend issues as described in FAQ Gallery:c.9 I am still not able to login. Session tests etc. - everything worked fine.

May be this is an ISP relying problem? I am using a german ISP 'puretec' (aka '1 & 1').

Any help / hints are very appreciated. Thanks!

 
flare

Joined: 2003-10-31
Posts: 1
Posted: Fri, 2003-10-31 12:32

Hi I'm also getting the same problem.

PHP 4.2.3
Gallery of 1.4-pl2

I've identified the line which is causing me the issue in login.php, and it is shown below with my extra line to prove the problem.

if (!$gallery->session->offline) {
print "<span class=error>FAILED</span><p>";
// dismissAndReload();

My changes obviously stop the form from being cleared and the page reloaded, but does prove the error.

 
Kreismeister
Kreismeister's picture

Joined: 2003-10-14
Posts: 19
Posted: Tue, 2003-11-04 12:34

I've created a bug report to track further investigations.
https://sourceforge.net/tracker/index.php?func=detail&aid=834879&group_id=7130&atid=107130

From a technical point I would say Gallery doesn't safe any
new values to a sessions. The session contains only the initial
values and they are not updated.

Permissions are OK.

Any ideas?

 
Kreismeister
Kreismeister's picture

Joined: 2003-10-14
Posts: 19
Posted: Tue, 2003-11-04 12:38
tigerbear wrote:
Session tests etc. - everything worked fine.

May be this is an ISP relying problem? I am using a german ISP 'puretec' (aka '1 & 1').

The session test only seems to work. It can create a session and read a session but it can't update the session. I don't know why but I don't believe it is a configuration issue because I double checked the FAQ and all other hints.

Joyoflinux wanted to look into the problem but it seems he doesn't have time.

 
egregor

Joined: 2003-11-05
Posts: 1
Posted: Wed, 2003-11-05 21:50

same error here, but I found a workaround on IE :

IE Menu->Tools->Internet Options->Privacy Tab->Edit, in the Address of Web site box type your domain name, and then click Allow

my english is poor, sorry.

-e

 
Culprit

Joined: 2003-11-06
Posts: 2
Posted: Thu, 2003-11-06 04:39

Same problems here.

I even try the session test in the diagnostic link and it works once - then it switches to page cannot be displayed.

I have tried version 1.4pl2 and then even removed that and installed the earlier version of 1.3.4 trying to revert to the last working version.

Each did the same thing.

I have looked over the FAQ's and everything is in order according to them.

Please let me know how to fix this and get this working. thanks.

 
Kreismeister
Kreismeister's picture

Joined: 2003-10-14
Posts: 19
Posted: Thu, 2003-11-06 10:31
egregor wrote:
same error here, but I found a workaround on IE :

IE Menu->Tools->Internet Options->Privacy Tab->Edit, in the Address of Web site box type your domain name, and then click Allow
-e

NO, it's NOT the same problem. You had a cookie problem explained in the FAQ.

KM

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Thu, 2003-11-06 14:26

Kreismeister,

Gallery relies on the PHP session functions. The session_test.php uses the php functions only, and no Gallery code (except to translate the text). As the session test does not increment the counter past 2, then there is a problem with how your php installation is handling sessions.

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Thu, 2003-11-06 14:41

Just to make it clear, here is session test stripped down to the essentials. If this works on your machine, then I'll reopen your bug report, but I don't believe it will.

<?php extract($HTTP_GET_VARS);
session_start();
$count =& $HTTP_SESSION_VARS["count"];
session_register("count");
if (isset($destroy)) {
    session_destroy();
    header("Location: session_test.php");
    exit;
}
$count++;
echo "views: $count<br>" ;
?>          
<a href="session_test.php?destroy=1">Start over</a>

As you can see, it just uses three php functions and the session variables.

 
Culprit

Joined: 2003-11-06
Posts: 2
Posted: Thu, 2003-11-06 16:43

Could you perhaps then point me in the correct direction on how to approach my host.

What exactly do I ask him to change/fix? Or at least what exactly do I ask him to look into.

 
Kreismeister
Kreismeister's picture

Joined: 2003-10-14
Posts: 19
Posted: Sun, 2003-11-09 12:18

Problem solved.

I upgraded to latest PHP 4.3.4 using backports for Debian Woody from moolfree.com.

# php4 and other backports from moolfree.com
deb http://debian.moolfreet.com ./

Bye,
KM

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Sun, 2003-11-09 12:24

Yay! Thanks for keeping us up to date. And for your determination.

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Sun, 2003-11-09 12:26

Culprit,

Do you still have problems? Start a fresh thread, so we can see what's going on with you.