`Warning: require_once (/home/potapovvi/domains/realsila.ru/system/startup.php) [function.require-once]: I’m not sure where to go. ru / public_html / index.php on line 21

Fatal error: require_once () [function.require]: Failed opening required '/home/potapovvi/domains/realsila.ru/system/startup.php' (include_path = '.: / Usr / local / php5 / lib / php' ) in /home/potapovvi/domains/realsila.ru/public_html/index.php on line 21`

The file is startup.php .

What could be wrong, tell me ...

  • Is the file exactly on this path? Does PHP have permissions to read this file (including directories)? - vanchester
  • There is no right to file, for example ... - thunder

2 answers 2

Most likely, you forgot to set public_html in the config file.

you probably have a registered path:

 /home/potapovvi/domains/realsila.ru/ 

to all files, but should be:

 /home/potapovvi/domains/realsila.ru/public_html 

    As written above, in this case, errors can be in 2 cases:

    1. Wrong paths in configs
    2. Not authorized to read files or catagogues

    Check the root config.php and admin / config.php for the correct paths. And also look at the permissions: In the files they should be 644, and in folders - 755

    If the rights are as I wrote, put 777 where necessary and pray