PHP require, require_once

Have you seen an error like this?

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

These errors are happening because /home/user/public_html/item/ cannot be found. If the file exists, you may need to re-set the file permissions.


  • 30 Users Found This Useful
Was this answer helpful?

Related Articles

Is it a problem if I'm not in the US?

Not at all! In fact, we already have customers in countries all over the world.

I uploaded my page but it's not working!

Make sure that you are uploading to the public_html or www folder.  Only the files placed...

What is an error 404 page?

Error 404 indicates that you are requesting a file or a directory that does not exist on the...

Can I run scripts like Wordpress, Joomla, or phpBB on my site?

Absolutely! We make it extremely easy to install over 250 different scripts via the Softaculous...

Can I upgrade my plan or features later?

Upgrades/Addons are available to purchase at any time through your Client Area dashboard. Once...