I get this error:

Warning: require(D:\Apache\htdocs\public_html/lib/stdlib.php) [function.require]: failed to open stream: No such file or directory in /home/homebase/public_html/config.php on line 143

Warning: require(D:\Apache\htdocs\public_html/lib/stdlib.php) [function.require]: failed to open stream: No such file or directory in /home/homebase/public_html/config.php on line 143

Fatal error: require() [function.require]: Failed opening required 'D:\Apache\htdocs\public_html/lib/stdlib.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/homebase/public_html/config.php on line 143

I dont know what i should be entering in this line. I entered public_html and didnt help.

The line in config i am supposed to edit is:

D:\Apache\htdocs\Randomizer

I am not sure what i should be changing this too. I am willing to pay thru paypal for help with this script.

TY
Josh

Member Avatar for amigura
echo $_SERVER['DOCUMENT_ROOT'] ; // to get path, if this does not work try
echo $_SERVER['SCRIPT_FILENAME'];

then change D:\Apache\htdocs\Randomizer to watever like /home/blah/public_html

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.