I'm trying to execute a script and I get the following php error:
Warning: require(/var/wkscript/www/admin/inc/config.inc.php) [function.require]: failed to open stream: No such file or directory in /var/wkscript/www/school/phphomework/admin/RunFirst.php on line 16
Fatal error: require() [function.require]: Failed opening required '/var/wkscript/www/admin/inc/config.inc.php' (include_path='.:/usr/lib/php') in /var/wkscript/www/school/phphomework/admin/RunFirst.php on line 16
What could be the problem? Can you please help me out?
Obvious firsts would be:
1) Do the files mentioned in the errors exist??
2) Do you have the proper permissions to access these files?
I've been nipped by the same thing- start there. Beyond that, server configs and perhaps code would be required to help further if those things check out to be okay first.