Dont Login !!! Reloads page !!!

mlaia

Joined: 2002-11-01
Posts: 44
Posted: Mon, 2002-11-11 22:27

I have the problem, and I looked at the FAQ C.11 e 4.23.
session.use_cookies is on, and the login page is correct.

Just got the gallery installed and setup fine.

I go to the gallary webpage and I atempt to logon but when I logon as 'admin' witht he correct user name and pw it just reloads the same page and doesnt log me in.

i found some info on here to do with making sure the java something or other is turned on well i presume it is.

I am use ie6 with low security settings.

If any one can help me that would be greatly apreshiated thank you

I'm using Win2K workstation.

Marcelo :mad:

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3473
Posted: Tue, 2002-11-12 06:03

Have you run the session diagnostic page? (gallery/setup/session_test.php)? Does it work correctly? (i.e. the numbers incrementing)

 
mlaia

Joined: 2002-11-01
Posts: 44
Posted: Tue, 2002-11-12 14:31

This is the result of the execute http://localhost/gallery/setup/session_test.php

Session Test
If sessions are configured properly in your PHP installation, then you should see a session id below, and the "page views" number should increase every time you reload the page. Clicking "start over" should reset the page view number back to 1.
If this does not work, then you most likely have a configuration issue with your PHP installation. Gallery will not work properly until PHP's session management is configured properly.
Your session id is aba07672267be914400981efe1e10614
Page views in this session 1
Start over
Return to the Diagnostics Page

This is OK? I noted a possible error: When I reload this page, the Page views in this session is not incremented! Is this a error? If it is a error, when I correct/solve it?

Next, I place a copy of the result of PHPInfo, section of sessions.

session
Session Support enabled

Directive Local Value Master Value
session.auto_start Off Off
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_trans_sid 1 1

Thanks Very Much for any helps.

Marcelo :???:

 
mlaia

Joined: 2002-11-01
Posts: 44
Posted: Wed, 2002-11-13 13:17

I solve this problem changing the my session.save_path line.

It is was /tmp and I change it to c:phpsessionstmp

Next, I created the directory sessionstmp in the c:php.

Do this changes in the php.ini file. Next, restart the Apache server.

Thanks

Marcelo