first time login

Trouble during PacsOne Server installations
Post Reply
gregan
Posts:1
Joined:Thu Feb 12, 2004 2:43 am
first time login

Post by gregan » Thu Feb 12, 2004 2:48 am

PacsOne Server Login
Not authorized to access this URL: http://localhost/pacsone/login.php
Enter Database Name:
Enter Username:
Enter Password:


Set fine, but I keep getting Not authorized to access.

:evil:

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Thu Feb 12, 2004 2:32 pm

Can you login to the same MySQL database using the same username/password? i.e., try the following from a command shell:

shell>mysql -u USERNAME -p DBNAME

where DBNAME is the databasename you entered in the login page, USERNAME is the username you entered in the login page, and MySQL will prompt you for the password of the MySQL username you entered above.

It'd be a bug if you can login to the same MySQL database with the same username/password from the command shell, but not from the login page.

guest

Sessiondata dir?

Post by guest » Tue Mar 16, 2004 3:21 pm

I found out that the problem was in a non-existing sessiondata path by looking at the apache log file. I think this is the solution for more of you on this forum getting the problem with

Did you verify that the session.save_path is correct and does exist?

You can find the set location by opening http://HOSTNAME/pacsone/hello.php under the session section.

The session save path is set in your php.ini file using the following line:

session.save_path = "c:\php\sessiondata"

if your sessiondata is located at c:\php\sessiondata

It worked for me.

Good luck!

Guest

Failed login

Post by Guest » Sun Mar 28, 2004 7:59 pm

This was also the solution to my problem
The installation instructions place the sessiondata in C:\php but the default installation places it in c:\tmp (find in http://localhost/pacsone/hello.php output).

Changing the save session path in the php.ini file to

session.save_path = "c:/tmp"

and creating a file C:/tmp

fixed my login problem

Post Reply