[01-May-2003 02:52:30] PHP Warning: main(functions.php) [<a href='http://www.php.net/function.main'>function.main</a>]: failed to create stream: No such file or directory in D:\Program Files\Apache Group\Apache2\htdocs\tests\index.php on line 114 [01-May-2003 02:52:30] PHP Warning: main() [<a href='http://www.php.net/function.main'>function.main</a>]: Failed opening 'functions.php' for inclusion (include_path='.;c:\php4\pear') in D:\Program Files\Apache Group\Apache2\htdocs\tests\index.php on line 114 [01-May-2003 02:52:30] PHP Fatal error: Call to undefined function: get_author() in D:\Program Files\Apache Group\Apache2\htdocs\tests\index.php on line 176
[01-May-2003 02:52:30] PHP Warning: main(functions.php) [<a href='http://www.php.net/function.main'>function.main</a>]: failed to create stream: No such file or directory in D:\Program Files\Apache Group\Apache2\htdocs\tests\index.php on line 114
[01-May-2003 02:52:30] PHP Warning: main() [<a href='http://www.php.net/function.main'>function.main</a>]: Failed opening 'functions.php' for inclusion (include_path='.;c:\php4\pear') in D:\Program Files\Apache Group\Apache2\htdocs\tests\index.php on line 114
[01-May-2003 02:52:30] PHP Fatal error: Call to undefined function: get_author() in D:\Program Files\Apache Group\Apache2\htdocs\tests\index.php on line 176
Anyone know why it's giving me this error?
My include statement is as follows:
<?php include ('functions.php'); ?>
Inside the header of index.php.
Nevermind I'm an idiot. My functions.php file was saved as a text. False alarm. Feel free to throw PHP manuals at me. :p
It can't find the file. Use the full path. ie, include 'c:/wwwroot/functions.php';
Yep, cause I'm retarded. LOL.
lol, it took me 3 seconds to post that, you got in quick 😉
Haha I waste no time bashing my own stupidity. 😉