LogIn does not work I’m redirected to home page
Archived from the Library DB Discussion forum.
mguevara — Wed Feb 20, 2008 2:00 pm
Hi, I’m just beginning to use dataface with librarian.
I’ve installed dataface and librarian on my server, but when I try to LogIn, I am redirected to the home page of Librarian, and I can’t edit records, etc.
I’ve installed in my develop server and I don’t have problems, but in my onLine server I can’t solve this problem.
You can see it here:
http://creaeduca.com/librariandb/index.php
dataface is here:
I’m using MySql5 and php 4.4.7
info php is here:
bye.
shannah — Wed Feb 20, 2008 2:48 pm
What is the username/password to login?
(You can email it to me)
steve at weblite dot ca
mguevara — Wed Feb 20, 2008 6:10 pm
Hi, thanks for your quikly reply, I’ve sent you an email.
Another information that maybe can be useful: it’s hosted on 1and1.com server.
bye.
mguevara — Wed Feb 20, 2008 7:45 pm
I’ve been working over this.
I did a couple of things.
1) I have uncomented the firsts lines of index.php. Now it’s posible to see the errors.
2) The problem is because the directori for SESSIONS is not accesible, this es /temp then I’ll have to hard-code the aplication.php in dataface/Datafece directory, I guess, but maybe it can be configurated in someone other place, is that?
regards.
shannah — Thu Feb 21, 2008 12:51 am
You can set the session save path to any directory you like by setting the session.save_path ini parameter.
e.g.
at the beginning of your index.php file, add
- Code: Select all
ini_set('session.save_path', '/path/to/savedir');
This can be any directory that the web server has write access to.
-Steve
mguevara — Thu Feb 21, 2008 7:26 am
Ok, I did it, just like you said. It works now!
Thank you very much, for your help.
Miguel G.