PHP require, require_once errors

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

Warning: require_once(/home/username123/public_html/amember/zend.inc) [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/zend.inc' (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/zend.inc 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 "zend.inc". The PHP script must call the file by its exact name, or you will get this same error.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I access cPanel?

1. Managing your Linux Hosting package through your web browsercPanel can be accessed by using...

Uploading Content to your cPanel Linux Hosting Package

To upload content to your Hosting package through an FTP client, use only FTPS on Port 21.Some...

SymLinks Settings of cPanel Linux Hosting packages

Linux Hosting packages do not support the "FollowSymlinks" option in the .htaccess file. This...

PHP Memory Limit Error

Allowed Memory Size Exhausted Errors Fatal error: Allowed memory size of 12582912 bytes...

How do I unblock port 80/443?

Go the "Client Area"Click Services> My ServicesChoose hosting plan and click on the planClick...

Powered by WHMCompleteSolution