Page 1 of 1

almost there I think

Posted: Tue Mar 02, 2004 6:43 pm
by doktor
When I go to http://localhost/pacsone/pacsone.php I get pacsone login, not authorized to access machine: http://localhost......
when I enter the database, username and password the fields go blank. Is this a mysql setup error or IIS?? Thanks for your paitence

Posted: Tue Mar 02, 2004 10:23 pm
by pacsone
Would you like to mention:

1. Which version of PacsOne Server you've installed?

2. Using the same MySQL database name, username and password, can you try logging in to MySQL from a command shell? You can type:

mysql -u {USERNAME} -p {DBNAME}

from a Windows command shell, where:

{DBNAME} is the name of MySQL database you've created for PacsOne.
{USERNAME} is the MySQL username you've created for PacsOne. (MySQL will prompt you for the password for the username above)

NOTE: The above command assumes that the path to "mysql.exe" is in your %PATH% environment variable. If not, you can add it manually from the command shell by typing:

set PATH=%PATH%;C:\mysql\bin

where you can replace "C:\mysql\bin" with the path to your MySQL executable.

more info

Posted: Wed Mar 03, 2004 3:37 pm
by doktor
I am using the most current version downloaded from your site, not sure what version. Using winxp pro with iis. I can log into mysql, database username and password allows me access. I am sure it is a iis permission problem but I am just learning. I am not looking for all the answers but any suggestions would help. Here is the page I get:
PacsOne Server Login
Not authorized to access this URL: http://testmachine.sdh.sk.ca
Enter Database Name:
Enter Username:
Enter Password:


If I enter database user and password the fields blank and I get the same page again. Thanks for your paitence again.

Posted: Thu Mar 04, 2004 3:10 am
by pacsone
The page you're getting is the login failure page because PHP could not connect to MySQL using the database name, username and password you entered, so using blank username and password won't help at all.

If you have tried and was able to access the same MySQL database using the same username/password from a command shell, then the problem seems to be between IIS and MySQL.

Although IIS is not on the official supported web server list for Pacsone, there's at least one user who has mentioned success setting up PacsOne with IIS and MySQL, so you may want to do more research with PHP, IIS and MySQL.

Sessiondata path available/correct?

Posted: Wed Mar 17, 2004 10:01 am
by Guest
See the following topic by me.

http://www.pacsone.net/forum/viewtopic.php?t=69

It might solve your problem it did by us.

Login failure

Posted: Sun Mar 28, 2004 8:03 pm
by Guest
As detailed in the thread referenced above
the solution to this problem for me was changing the session.save_path in php.ini.
The installation instructions place the sessiondata in C:\php but the default installation placed 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