R
R
Rinat Haisman2017-07-21 16:16:33
Domain name market
Rinat Haisman, 2017-07-21 16:16:33

Wordpress: how to fix errors after moving to a new domain?

Good hour. What was done:

  1. Transferred all files via FTP to a location linked to the new domain
  2. In PHPMyAdmin, I replaced all the addresses of the old domain with the new one

БД та же, что и на старом хостинге.
Но при открытие сайта, посыпались ошибки:
Warning: include_once(/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/contact-form-7/wp-contact-form-7.php): failed to open stream: Permission denied in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(): Failed opening '/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/contact-form-7/wp-contact-form-7.php' for inclusion (include_path='.:/usr/lib/php7.0') in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/pingler-v10/pingler.php): failed to open stream: Permission denied in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(): Failed opening '/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/pingler-v10/pingler.php' for inclusion (include_path='.:/usr/lib/php7.0') in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/really-simple-captcha/really-simple-captcha.php): failed to open stream: Permission denied in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(): Failed opening '/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/really-simple-captcha/really-simple-captcha.php' for inclusion (include_path='.:/usr/lib/php7.0') in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/sitemap-generator/sitemap-generator.php): failed to open stream: Permission denied in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(): Failed opening '/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/sitemap-generator/sitemap-generator.php' for inclusion (include_path='.:/usr/lib/php7.0') in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

В админку не заходит, выдаёт следующее:
Warning: include_once(/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/contact-form-7/wp-contact-form-7.php): failed to open stream: Permission denied in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(): Failed opening '/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/contact-form-7/wp-contact-form-7.php' for inclusion (include_path='.:/usr/lib/php7.0') in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/pingler-v10/pingler.php): failed to open stream: Permission denied in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(): Failed opening '/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/pingler-v10/pingler.php' for inclusion (include_path='.:/usr/lib/php7.0') in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/really-simple-captcha/really-simple-captcha.php): failed to open stream: Permission denied in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(): Failed opening '/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/really-simple-captcha/really-simple-captcha.php' for inclusion (include_path='.:/usr/lib/php7.0') in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/sitemap-generator/sitemap-generator.php): failed to open stream: Permission denied in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: include_once(): Failed opening '/homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/sitemap-generator/sitemap-generator.php' for inclusion (include_path='.:/usr/lib/php7.0') in /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php on line 303

Warning: Cannot modify header information - headers already sent by (output started at /homepages/23/d546810525/htdocs/reichrudel.com/wp-settings.php:303) in /homepages/23/d546810525/htdocs/reichrudel.com/wp-includes/pluggable.php on line 1210

Содержимое 303 строки в файле wp_settings:
a2a88203c6d64d42adecb53c5dd6b8b4.png
Подозреваю, что проблема с путями, где-то они не правильно указаны, но где? Куда копать?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
Денис Сечин, 2017-07-21
@tamogavk

Нехватает прав! там же написано

V
ValeraValera, 2017-07-21
@cluberr

Третий способ
Безболезненный перенос сайта на WordPress на новый...

A
alex-1917, 2017-11-10
@alex-1917

Попробуй не

по ФТП перенес все файлы
, а АРХИВ файлов распаковать средствами файлового менеджера в панельке хостинга, как правило, все права выставятся правильные.
видать, чудный хостинг у тебя - или старый или новый

L
Larisa Moroz, 2017-07-21
@larisamoroz

The problem is most likely not in the paths, but in the rights to the files.
What rights should be set depends on the file system settings of the new hosting.
Most often, you need to set the flag of the executable file to all *.php scripts.
This can be done:
1) through the console

cd /homepages/23/d546810525/htdocs/reichrudel.com/wp-content/plugins/; find . -iname "*.php" | xargs chmod +x

2) through the file manager - depending on the one you use, add permission to execute ("executable" or something like that) in the properties of all php files

C
Constantine, 2018-07-11
@vebmaster

Try duplicator plugin to transfer wordpress site to new domain

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question