Answer the question
In order to leave comments, you need to log in
Problem with Joomla configuration file - where to look for the problem?
Hello.
A few years ago, I moved the Joomla site configuration file outside of homedir.
I created a new folder there, placed the configuration file there and changed the path to it in the defines.php files (in the admin panel and on the site). After that, there were two moves to new domains. Last time I forgot to make a backup of the folder with the configuration file. I took this file from the very first backup, corrected the name of the database / user, the prefix of the database tables. I turn on the site and see a bunch of errors:
Warning: Unknown: open_basedir restriction in effect. File(/home/i7****/public_html/***.com/index.php) is not within the allowed path(s): (/home/uname/site1.com/www:/home/uname/site1.com/www/../../abcd:/home/uname/.system/tmp:/home/uname/site1.com/tmp:/home/uname/site1.com/www/logs) in Unknown on line 0
Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
Warning: Unknown: open_basedir restriction in effect. File(/home/i7****/public_html/***.com/index.php) is not within the allowed path(s): (/home/uname/site1.com/www:/home/uname/site1.com/www/../../abcd:/home/uname/.system/tmp:/home/uname/site1.com/tmp:/home/uname/site1.com/www/logs) in Unknown on line 0
Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
Fatal error: Unknown: Failed opening required '/home/i7****/public_html/***.com/index.php' (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in Unknown on line 0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question