PHP require, require_once errors

If you an error that looks like one of these...

Warning: require_once(/home/username123/public_html/amember/ [function.require-once]: failed to open stream: No such file or directory in /home/username123/public_html/amember/rconfig.php on line 19
Fatal error: require_once() [function.require]: Failed opening required '/home/username123/public_html/amember/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username123/public_html/amember/rconfig.php on line 19

This error is saying that the file in /public_html/amember/ doesn't exist, or isn't readable. Check and see if this file exists. If it does, check the permissions on this file to make sure they are 644 or 755.

The file /public_html/amember/rconfig.php is simply the PHP file that tried to call "". The PHP script must call the file by its exact name, or you will get this same error.

Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment