Page 1 of 1

LogIn does not work I'm redirected to home page

PostPosted: Wed Feb 20, 2008 2:00 pm
by mguevara
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:
http://creaeduca.com/dataface

I'm using MySql5 and php 4.4.7
info php is here:
http://creaeduca.com/info.php

bye.

PostPosted: Wed Feb 20, 2008 2:48 pm
by shannah
What is the username/password to login?
(You can email it to me)
steve at weblite dot ca

I've sent you an email

PostPosted: Wed Feb 20, 2008 6:10 pm
by mguevara
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.

It's for the temp dir

PostPosted: Wed Feb 20, 2008 7:45 pm
by mguevara
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.

PostPosted: Thu Feb 21, 2008 12:51 am
by shannah
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

OK It works now

PostPosted: Thu Feb 21, 2008 7:26 am
by mguevara
Ok, I did it, just like you said. It works now! :D
Thank you very much, for your help.

Miguel G.