Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[Решено] Перенос сайта с РФ на RU


Recommended Posts

Подскажите!

Решил перенести сайт с зоны РФ на RU, так как проблемы с сертификатом и т.д. Купил домен (был сайт, сайт.рф, купил домен sait.ru).

Сайты находятся у одного хостера но на разных аккаунтах. Попросил перенести хостера, хостер перенес сайт с РФ на RU, сайт после обновления сервера стал открываться :-)

Но при попытке зайти в админку, происходит вот такое:

 

Warning: require_once(): open_basedir restriction in effect. File(/home/директория/sait.rf/system/startup.php) is not within the allowed path(s): (/home/директория/sait.ru:/tmp:/usr/share/php:/var/lib:/usr/lib) in /home/папка/sait.ru/html/admin/index.php on line 17

Warning: require_once(/home/папка/sait.rf/system/startup.php): failed to open stream: Operation not permitted in /home/директория/sait.ru/html/admin/index.php on line 17

Fatal error: require_once(): Failed opening required '/home/директория/sait.rf/system/startup.php' (include_path='.:/usr/share/php') in /home/директория/sait.ru/html/admin/index.php on line 17

 

Помогите, что с этим делать?!

Link to comment
Share on other sites


5 минут назад, ecoferma сказал:

Подскажите!

Решил перенести сайт с зоны РФ на RU, так как проблемы с сертификатом и т.д. Купил домен (был сайт, сайт.рф, купил домен sait.ru).

Сайты находятся у одного хостера но на разных аккаунтах. Попросил перенести хостера, хостер перенес сайт с РФ на RU, сайт после обновления сервера стал открываться :-)

Но при попытке зайти в админку, происходит вот такое:

 

Warning: require_once(): open_basedir restriction in effect. File(/home/директория/sait.rf/system/startup.php) is not within the allowed path(s): (/home/директория/sait.ru:/tmp:/usr/share/php:/var/lib:/usr/lib) in /home/папка/sait.ru/html/admin/index.php on line 17

Warning: require_once(/home/папка/sait.rf/system/startup.php): failed to open stream: Operation not permitted in /home/директория/sait.ru/html/admin/index.php on line 17

Fatal error: require_once(): Failed opening required '/home/директория/sait.rf/system/startup.php' (include_path='.:/usr/share/php') in /home/директория/sait.ru/html/admin/index.php on line 17

 

Помогите, что с этим делать?!

в папке admin/config.php

пути поправьте

  • +1 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.