Forums

This topic is locked

problem getting msql connection on uploaded page

Posted 12 May 2003 20:14:07
1
has voted
12 May 2003 20:14:07 Tom Winter posted:
I'm having trouble getting a simple php page to work.
I created a mySQL database called rchp on the server. And a simple test.php page to test it.

When I click the Live Data View, the test.php page it works perfectly on my computer.

But when I upload the test.php page to the server I get the following error:



Warning: main(Connections/rchp.php) [function.main]: failed to create stream: No such file or directory in /home/user/public_html/test.php on line 1

Fatal error: main() [function.main]: Failed opening required 'Connections/rchp.php' (include_path='') in /home/user/public_html/test.php on line 1

Line 1 on the test.php page it is referring to is:

(less than sign)?php require_once('Connections/rchp.php'); ?>



I'm just learning this and I don't know what to try next...

Reply to this topic