| |||||||||||
| |||||||||||
error message Posted by bschultz (bschultz), 24 February 2003 I'm getting the following error message on a script.Warning: main(testphp) [function.main]: failed to create stream: No such file or directory in c:\program files\apache group\apache\htdocs\sports\softball\statstest.php on line 17 Fatal error: main() [function.main]: Failed opening required 'testphp' (include_path='.;c:\php4\pear') in c:\program files\apache group\apache\htdocs\sports\softball\statstest.php on line 17 Here's the code: Code:
Here is code for stats.php: Code:
Any ideas? Posted by admin (Graham Ellis), 25 February 2003 Is the first file called "statstest.php" and have you supplied a sample starting at line 17?I think that require test.php should read require "test.php" Note the extra quotes. The "." without the quotes is a string concatanation operator, thius making up a file name testphp (note no . in the name) which couldn't be found .... Posted by bschultz (bschultz), 25 February 2003 That was it, Thanks Graham.Thanks! Thought it had to be something simple. Brian This page is a thread posted to the opentalk forum
at www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
|
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |