Page 1 of 1

Running phpwcms local

Posted: Wed 30. Mar 2005, 16:27
by HansV
Hi all

I am trying to setup phpwcms on my local computer. Everything works, except when I run setup.php I always get the same error: 'Please proof your database settings, there might be some mistakes!'

I have seen some other threads on this error, however I cannot solve my problem with those. When I check the Apache logs, I see the following lines:

[Tue Mar 29 11:47:22 2005] [error] [client 127.0.0.1] PHP Notice: Undefined variable: conf_file in C:\\Apps\\Apache\\Apache2\\htdocs\\ibw\\setup\\setup.php on line 290, referer: http://localhost:8080/ibw/setup/setup.php?step=1

[Tue Mar 29 11:47:22 2005] [error] [client 127.0.0.1] PHP Warning: mysql_pconnect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\\Apps\\Apache\\Apache2\\htdocs\\ibw\\setup\\setup.php on line 57, referer: http://localhost:8080/ibw/setup/setup.php?step=1

[Tue Mar 29 11:47:23 2005] [error] [client 127.0.0.1] PHP Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\\Apps\\Apache\\Apache2\\htdocs\\ibw\\setup\\setup.php on line 61, referer: http://localhost:8080/ibw/setup/setup.php?step=1

[Tue Mar 29 11:47:23 2005] [error] [client 127.0.0.1] PHP Notice: Undefined variable: body_onload in C:\\Apps\\Apache\\Apache2\\htdocs\\ibw\\setup\\setup.php on line 181, referer: http://localhost:8080/ibw/setup/setup.php?step=1

Can anybody find some clues in here that can help me solve my problem? Thanks in advance!

-Hans

Posted: Wed 30. Mar 2005, 16:38
by pico
Hi

wich Version of mySQL you're running on the Server?

Posted: Wed 30. Mar 2005, 19:08
by HansV
I am running the following:

MySQL 4.1
Apache 2.0.53
PHP 4.3.10.10
OS: Windows XP

Posted: Thu 31. Mar 2005, 07:58
by pico
Hi

don't see this yesterday
C:\\Apps\\Apache\\Apache2\\htdocs\\ibw\\setup\\setup.php on line 290, referer:
check your Configuration of the Server - and find out where the double Backslashes comes from?

Posted: Wed 13. Apr 2005, 15:43
by HansV
The problem was probably that I was missing some software to connect to MySQL from PHP. Downloading and installing XAMPP solved the problem: it worked directly, out of the box!

You can download it from apachefriends.org