Hi,

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?


Your time is appreciated.

Recommended Answers

All 4 Replies

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.

- skubik

thanks for your reply

figured out the problem - file path was not right

does any one know what 'obdc' is and how i can run it - using a free php hos such as http://freewebhostx.com ?

thank you

thanks for your reply

figured out the problem - file path was not right

does any one know what 'obdc' is and how i can run it - using a free php hos such as http://freewebhostx.com ?

thank you

Can anyone help me out on this?

Can anyone help me out on this?

Google can, wikipedia can, really any method of self-improvement beyond asking for help before trying to help yourself.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.