Page 1 of 1

php index error

Posted: Thu May 14, 2009 2:51 am
by ubsacc2004
hi all,

i start learning php and i encountered this error.

Warning: require_once(C:\Moodle\Moodle19\server\moodle\tshirtshop/presentationapplication.php) [function.require-once]: failed to open stream: No such file or directory in C:\Moodle\Moodle19\server\moodle\tshirtshop\index.php on line 5

Fatal error: require_once() [function.require]: Failed opening required 'C:\Moodle\Moodle19\server\moodle\tshirtshop/presentationapplication.php' (include_path='.;C:\Moodle\Moodle19\server\php\pear\') in C:\Moodle\Moodle19\server\moodle\tshirtshop\index.php on line 5

Pls help. tks.

Re: php index error

Posted: Thu May 14, 2009 2:56 am
by Griven
Use a backslash instead of a forward slash.

This:

Code: Select all

moodle\tshirtshop/presentationapplication.php
Should be this:

Code: Select all

moodle\tshirtshop\presentationapplication.php

Re: php index error

Posted: Thu May 14, 2009 10:01 pm
by ubsacc2004
thanks bro. Its solved.