Hi
I'm currently evaluating PhpMagic and am experiencing a problem with creating the database files.
I'm running Windows Vista Home Premium.
I get an 'HTTP 500 Internal Server Error' when the file 'setup.php' is attempted to be accessed.
The error log in the folder that I have installed all my server programs (Apache, PHP, MySql) gives me this:
[Fri Aug 15 05:27:56 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: dbServer in C:\\webserver\\htdocs\\music2\\setup.php on line 29, referer:
http://localhost/music2/singers_view.php
[Fri Aug 15 05:27:56 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: dbUsername in C:\\webserver\\htdocs\\music2\\setup.php on line 30, referer:
http://localhost/music2/singers_view.php
[Fri Aug 15 05:27:56 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: dbPassword in C:\\webserver\\htdocs\\music2\\setup.php on line 31, referer:
http://localhost/music2/singers_view.php
[Fri Aug 15 05:27:56 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: dbDatabase in C:\\webserver\\htdocs\\music2\\setup.php on line 32, referer:
http://localhost/music2/singers_view.php
The lines referred to (29-32) in my 'setup.php' file read as follows:-
// connect to the database
$dbServer=$HTTP_POST_VARS['dbServer'];
$dbUsername=$HTTP_POST_VARS['dbUsername'];
$dbPassword=$HTTP_POST_VARS['dbPassword'];
$dbDatabase=$HTTP_POST_VARS['dbDatabase'];
I'm sure that there is a simple solution to this, but I have had a good look around various forums and tried a few things without any success.
Any assistance would be reatly appreciated.