Проблемы с WAMP и WordPress - PullRequest
0 голосов
/ 12 июня 2018

Я в процессе миграции установки WP для клиента.У меня есть понимание того, как это сделать, но миграция WP для меня нова.

Однако у меня есть резервная копия базы данных и основной установки, прежде чем я рекомендую своему клиенту приобрести новую услугу хостинга, которую я хочу сделатьУбедитесь, что резервные копии работают и могут быть импортированы на новый хостинг.Для этого я попытался использовать резервную копию базы данных и установить ее на локальный сервер WAMP.

К сожалению, я натолкнулся на ряд ошибок: - мне пришлось получить новый файл wp-config, так как он содержал ссылки на предыдущий хост и плагины.- Пришлось возиться с apache и его портами ...

Теперь я получаю пустую страницу из файла wp-config при попытке доступа к каталогу установки в браузере.Я установил соединение и даже попробовал echo "test"; в файле wp-config, который возвращается в браузере.

Я потерял свое направление и почти мое желание это сделать, может кто-нибудь помочь мне здесь?

Спасибо:)

Редактировать 1:

Я получаю следующее из моего debug.log

`[12-Jun-2018 03:37:33 UTC] PHP Stack trace:

[12-Jun-2018 03:37:33 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 03:37:33 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 03:37:33 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 03:37:33 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 03:37:33 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:52

[12-Jun-2018 03:37:33 UTC] PHP   6. do_action() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:450

[12-Jun-2018 03:37:33 UTC] PHP   7. WP_Hook->do_action() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\plugin.php:453

[12-Jun-2018 03:37:33 UTC] PHP   8. WP_Hook->apply_filters() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\class-wp-hook.php:310

[12-Jun-2018 03:37:33 UTC] PHP   9. call_user_func_array:{E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\class-wp-hook.php:286}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\class-wp-hook.php:286

[12-Jun-2018 03:37:33 UTC] PHP  10. wp_widgets_init() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\class-wp-hook.php:286

[12-Jun-2018 03:37:33 UTC] PHP  11. do_action() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\widgets.php:1648

[12-Jun-2018 03:37:33 UTC] PHP  12. WP_Hook->do_action() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\plugin.php:453

[12-Jun-2018 03:37:33 UTC] PHP  13. WP_Hook->apply_filters() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\class-wp-hook.php:310

[12-Jun-2018 03:37:33 UTC] PHP  14. call_user_func_array:{E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\class-wp-hook.php:286}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\class-wp-hook.php:286

[12-Jun-2018 03:37:33 UTC] PHP  15. rtbInit->register_widgets() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\class-wp-hook.php:286

`

Получил лучшую отладку:

[12-Jun-2018 04:32:43 UTC] PHP Warning:  mysqli_real_connect(): MySQL server has gone away in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1531

[12-Jun-2018 04:32:43 UTC] PHP Stack trace:

[12-Jun-2018 04:32:43 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 04:32:43 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 04:32:43 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 04:32:43 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 04:32:43 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:52

[12-Jun-2018 04:32:43 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 04:32:43 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 04:32:43 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 04:32:43 UTC] PHP   9. mysqli_real_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1531

[12-Jun-2018 04:32:43 UTC] PHP Warning:  mysqli_real_connect(): Error while reading greeting packet. PID=5716 in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1531

[12-Jun-2018 04:32:43 UTC] PHP Stack trace:

[12-Jun-2018 04:32:43 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 04:32:43 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 04:32:43 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 04:32:43 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 04:32:43 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:52

[12-Jun-2018 04:32:43 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 04:32:43 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 04:32:43 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 04:32:43 UTC] PHP   9. mysqli_real_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1531

[12-Jun-2018 04:32:43 UTC] PHP Warning:  mysqli_real_connect(): (HY000/2006): MySQL server has gone away in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1531

[12-Jun-2018 04:32:43 UTC] PHP Stack trace:

[12-Jun-2018 04:32:43 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 04:32:43 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 04:32:43 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 04:32:43 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 04:32:43 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:52

[12-Jun-2018 04:32:43 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 04:32:43 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 04:32:43 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 04:32:43 UTC] PHP   9. mysqli_real_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1531

[12-Jun-2018 04:32:43 UTC] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1562

[12-Jun-2018 04:32:43 UTC] PHP Stack trace:

[12-Jun-2018 04:32:43 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 04:32:43 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 04:32:43 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 04:32:43 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 04:32:43 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:52

[12-Jun-2018 04:32:43 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 04:32:43 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 04:32:43 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 04:32:43 UTC] PHP   9. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1557

[12-Jun-2018 04:32:43 UTC] PHP  10. mysql_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1562

[12-Jun-2018 04:33:43 UTC] PHP Warning:  mysql_connect(): MySQL server has gone away in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1562

[12-Jun-2018 04:33:43 UTC] PHP Stack trace:

[12-Jun-2018 04:33:43 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 04:33:43 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 04:33:43 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 04:33:43 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 04:33:43 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:52

[12-Jun-2018 04:33:43 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 04:33:43 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 04:33:43 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 04:33:43 UTC] PHP   9. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1557

[12-Jun-2018 04:33:43 UTC] PHP  10. mysql_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1562

[12-Jun-2018 04:33:43 UTC] PHP Warning:  mysql_connect(): Error while reading greeting packet. PID=5716 in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1562

[12-Jun-2018 04:33:43 UTC] PHP Stack trace:

[12-Jun-2018 04:33:43 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 04:33:43 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 04:33:43 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 04:33:43 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 04:33:43 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:52

[12-Jun-2018 04:33:43 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 04:33:43 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 04:33:43 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 04:33:43 UTC] PHP   9. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1557

[12-Jun-2018 04:33:43 UTC] PHP  10. mysql_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1562

[12-Jun-2018 04:33:43 UTC] PHP Warning:  mysql_connect(): MySQL server has gone away in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1562

[12-Jun-2018 04:33:43 UTC] PHP Stack trace:

[12-Jun-2018 04:33:43 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 04:33:43 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 04:33:43 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 04:33:43 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 04:33:43 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:52

[12-Jun-2018 04:33:43 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 04:33:43 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 04:33:43 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 04:33:43 UTC] PHP   9. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1557

[12-Jun-2018 04:33:43 UTC] PHP  10. mysql_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1562

[12-Jun-2018 04:33:43 UTC] PHP Fatal error:  Maximum execution time of 120 seconds exceeded in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1562

[12-Jun-2018 04:33:43 UTC] PHP Stack trace:

[12-Jun-2018 04:33:43 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 04:33:43 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 04:33:43 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 04:33:43 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 04:33:43 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:52

[12-Jun-2018 04:33:43 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 04:33:43 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 04:33:43 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 04:33:43 UTC] PHP   9. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1557

[12-Jun-2018 04:36:04 UTC] PHP Warning:  mysqli_real_connect(): MySQL server has gone away in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1531

[12-Jun-2018 04:36:04 UTC] PHP Stack trace:

[12-Jun-2018 04:36:04 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 04:36:04 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 04:36:04 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 04:36:04 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 04:36:04 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:54

[12-Jun-2018 04:36:04 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 04:36:04 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 04:36:04 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 04:36:04 UTC] PHP   9. mysqli_real_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1531

[12-Jun-2018 04:36:04 UTC] PHP Warning:  mysqli_real_connect(): Error while reading greeting packet. PID=5716 in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1531

[12-Jun-2018 04:36:04 UTC] PHP Stack trace:

[12-Jun-2018 04:36:04 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 04:36:04 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 04:36:04 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 04:36:04 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 04:36:04 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:54

[12-Jun-2018 04:36:04 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 04:36:04 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 04:36:04 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 04:36:04 UTC] PHP   9. mysqli_real_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1531

[12-Jun-2018 04:36:04 UTC] PHP Warning:  mysqli_real_connect(): (HY000/2006): MySQL server has gone away in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1531

[12-Jun-2018 04:36:04 UTC] PHP Stack trace:

[12-Jun-2018 04:36:04 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 04:36:04 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 04:36:04 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 04:36:04 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 04:36:04 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:54

[12-Jun-2018 04:36:04 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 04:36:04 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 04:36:04 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 04:36:05 UTC] PHP   9. mysqli_real_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1531

[12-Jun-2018 04:36:05 UTC] PHP Deprecated:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1562

[12-Jun-2018 04:36:05 UTC] PHP Stack trace:

[12-Jun-2018 04:36:05 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 04:36:05 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 04:36:05 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 04:36:05 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 04:36:05 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:54

[12-Jun-2018 04:36:05 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 04:36:05 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 04:36:05 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 04:36:05 UTC] PHP   9. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1557

[12-Jun-2018 04:36:05 UTC] PHP  10. mysql_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1562

Больше логов!

[12-Jun-2018 05:03:07 UTC] PHP Warning:  mysql_connect(): MySQL server has gone away in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1562

[12-Jun-2018 05:03:07 UTC] PHP Stack trace:

[12-Jun-2018 05:03:07 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 05:03:07 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 05:03:07 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 05:03:07 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 05:03:07 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:54

[12-Jun-2018 05:03:07 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 05:03:07 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 05:03:07 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 05:03:07 UTC] PHP   9. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1557

[12-Jun-2018 05:03:07 UTC] PHP  10. mysql_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1562

[12-Jun-2018 05:03:07 UTC] PHP Warning:  mysql_connect(): Error while reading greeting packet. PID=8160 in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1562

[12-Jun-2018 05:03:07 UTC] PHP Stack trace:

[12-Jun-2018 05:03:07 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 05:03:07 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 05:03:07 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 05:03:07 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 05:03:07 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:54

[12-Jun-2018 05:03:07 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 05:03:07 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 05:03:07 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 05:03:07 UTC] PHP   9. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1557

[12-Jun-2018 05:03:07 UTC] PHP  10. mysql_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1562

[12-Jun-2018 05:03:15 UTC] PHP Warning:  mysql_connect(): MySQL server has gone away in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1562

[12-Jun-2018 05:03:15 UTC] PHP Stack trace:

[12-Jun-2018 05:03:15 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 05:03:15 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 05:03:15 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 05:03:15 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 05:03:15 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:54

[12-Jun-2018 05:03:15 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 05:03:15 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 05:03:15 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 05:03:15 UTC] PHP   9. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1557

[12-Jun-2018 05:03:15 UTC] PHP  10. mysql_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1562

[12-Jun-2018 05:03:15 UTC] PHP Warning:  mysql_connect(): Error while reading greeting packet. PID=8160 in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1562

[12-Jun-2018 05:03:15 UTC] PHP Stack trace:

[12-Jun-2018 05:03:15 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 05:03:15 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 05:03:15 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 05:03:15 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 05:03:15 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:54

[12-Jun-2018 05:03:15 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 05:03:15 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 05:03:15 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 05:03:15 UTC] PHP   9. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1557

[12-Jun-2018 05:03:15 UTC] PHP  10. mysql_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1562

[12-Jun-2018 05:03:15 UTC] PHP Warning:  mysql_connect(): MySQL server has gone away in E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php on line 1562

[12-Jun-2018 05:03:15 UTC] PHP Stack trace:

[12-Jun-2018 05:03:15 UTC] PHP   1. {main}() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:0

[12-Jun-2018 05:03:15 UTC] PHP   2. require() E:\PROGRAMS\WAMP\www\wp_aupearfinal\index.php:17

[12-Jun-2018 05:03:15 UTC] PHP   3. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-blog-header.php:13

[12-Jun-2018 05:03:15 UTC] PHP   4. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-load.php:37

[12-Jun-2018 05:03:15 UTC] PHP   5. require_once() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-config.php:54

[12-Jun-2018 05:03:15 UTC] PHP   6. require_wp_db() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-settings.php:106

[12-Jun-2018 05:03:15 UTC] PHP   7. wpdb->__construct() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\load.php:404

[12-Jun-2018 05:03:15 UTC] PHP   8. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:592

[12-Jun-2018 05:03:15 UTC] PHP   9. wpdb->db_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1557

[12-Jun-2018 05:03:15 UTC] PHP  10. mysql_connect() E:\PROGRAMS\WAMP\www\wp_aupearfinal\wp-includes\wp-db.php:1562

1 Ответ

0 голосов
/ 20 июня 2018

1) Возьмите свежую копию ваших файлов резервных копий и сохраните эти файлы в папке www / вашего wamp-сервера.

2) Возьмите резервную копию mysql и выгрузите ее в phpmyadmin.

3) Теперь перейдите в таблицу wp_options, замените URL-адрес на ваш локальный URL-адрес.

4) выполните правильную настройку БД в соответствии с вашим локальным хостом.

5) Теперь запустите проект wp на вашем локальном хосте

6) войдите как администратор и сохраните страницу в настройках.

...