R
R
Resize2018-03-29 12:36:41
PHP
Resize, 2018-03-29 12:36:41

How to deal with this error on the server?

Good day. I go to the site in the morning, and this error hangs there.
Please help me to understand what to do.
Almost 0 on the back end.
Warning: require(config/development.cfg.php): failed to open stream: No such file or directory in /var/www/megatour/mega-tour.org/index.php on line 7
Warning: require(config/development.cfg.php): failed to open stream: No such file or directory in /var/www/megatour/mega-tour.org/index.php on line 7
Fatal error: require(): Failed opening required 'config/development.cfg.php' (include_path='./:/var/www/megatour:/') in /var/www/megatour/mega-tour.org/index.php on line 7

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanovskiy, 2018-03-29
@Sanovskiy

Do you read errors at all?
The config/development.cfg.php file is missing from the /var/www/megatour/mega-tour.org folder Moral
: always specify absolute file include paths.
And read the error messages at least once in a while.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question