Topic: Login screen shows for every link
Can anyone help me, i have installed latest package sucessfully but each time i follow an link in the navigation the login screen shows up again.
What have i done wrong?
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Installation → Login screen shows for every link
Can anyone help me, i have installed latest package sucessfully but each time i follow an link in the navigation the login screen shows up again.
What have i done wrong?
Seems you have cookies disabled in your browser?
Janusz
hmm, i have enablet cookies for all sites but its still not work.
I have done this in tools --- internet options -- security
Any other way to do this ?
Or maybe anyone have another suggestion on the problem?
As far as I understand you can login, menu screen is displayed and every click on menu options moves you to the login screen again? If this is the case seems there is some problem with session handling. Cookie based session have to be also enabled on server side - please look into session related php.ini settings, especially session.use_cookies.
More here: http://pl.php.net/manual/en/session.configuration.php
Janusz
It is totaly correct how you understand the problem.
I installed the package and first time i logged in everything works fine, next time i logged in this happens everytime.
Give us a note when you will check session configuration and you will find something strange.
Janusz
i have resolved the problem.
session configuration is ok but i had chmod all files to 777.
When i created a new folder with a new install without doing that chmod everything works fine :-)
Well, good that it works for you now. But what write permissions setting (AFAIK non effective at all as for now ) have to do with session? Who knows...
Janusz
There may be a tmp directory that you also changed to 777 that has the php session file in it (The session has to be stored SOMEWHERE )
it is not generally a good idea to leave *all* your files set to 777
tom
Hi, I had this problem this morning too with a shared server that has an invalid save_path set. In the end I found the fix as creating a folder specific to session saves (as I always have to anyways), and then the following lines at around line 157 in /includes/session.inc (the code there didn't work so easy, though it was on the path I used to /session/store/ so slight mod worked.
// Changed session.inc at line 156, version 2.2 release
//ini_set('session.save_path', dirname(__FILE__).'/../tmp/');
ini_set('session.save_path', $path_to_root.'/store/session');
session_save_path($path_to_root.'/store/session');
// The extra session_save_path is the way I usually fix this. Not sure if that was necessary after the ini_set.
FrontAccounting forum → Installation → Login screen shows for every link
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.