PDA

View Full Version : Why do I get this message?


tcdy01
07-26-2007, 08:56 PM
I have been trying to follow the PHP database tutorials.
when the link between the dwc.php file and the database is meant to be tested in Dreamweaver, i get this message being displayed in the internet browser.

"Warning: require_once(Connections/connection.php) [function.require-once (http://localhost/test/Images/function.require-once)]: failed to open stream: No such file or directory in C:\Documents and Settings\Owner\My Documents\Web Root\Test\Images\dwc.php on line 2

Fatal error: require_once() [function.require (http://localhost/test/Images/function.require)]: Failed opening required 'Connections/connection.php' (include_path='.;C:\php5\pear') in C:\Documents and Settings\Owner\My Documents\Web Root\Test\Images\dwc.php on line 2"

Please could someone please help resolve this issue.

Tim

Mark_W
07-26-2007, 09:15 PM
Post the code, it is most likely that the file you are requiring once has either been mispelt or the link is pointing in the wrong direction.