Database Forum
Web Database Register Members List Calendar FAQ

 
Go Back   Database Forum > PHPMagic Discussions > Installation & Getting Started
User Name
Password

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Default Problems accessing 'setup.php' file
08-14-2008, 06:51 PM #1  

mikeli
Junior Member

 
Status: Offline
Posts: 1
Join Date: Aug 2008

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.
Reply With Quote

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -5. The time now is 09:50 AM.

Powered by: vBulletin Version 3.7.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Database Forums

Help support our forum assistants and product development ->

go to top go to top