Thread tagged as: Problem, Error, Blog

Blank White Screen when trying to edit pages and post

I recently transferred perch files from shared hosting to VPS. Imported my database, connected the config file and uploaded my files. The website loads, and the perch cms loads but when I try to edit a blog post, I am getting a white screen.

I seem to be getting white screens when I try to edit anything such as pages, post etc..

How do I fix this?

Thank you

Diagnostic Report: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`` Perch: 3.0.14, PHP: 5.6.35, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (3.0.14), assets (3.0.14), categories (3.0.14), perch_blog (5.6.1), perch_events (1.9.5), perch_forms (1.10), perch_gallery (2.8.9), perch_shop_orders (1.2.5), perch_shop_products (1.2.5), perch_shop (1.2.5), perch_comments (1.2.1), perch_members (1.6.2) App runtimes: <?php $apps_list = ['perch_forms','perch_blog' ]; PERCH_LOGINPATH: /perch PERCH_PATH: /home/bodustries/public_html/visionflo/perch PERCH_CORE: /home/bodustries/public_html/visionflo/perch/core PERCH_RESFILEPATH: /home/bodustries/public_html/visionflo/perch/resources Image manipulation: GD PHP limits: Max upload 2M, Max POST 8M, Memory: 32M, Total max file upload: 2M F1: 3b606135b33e6a102526838f4152a807 Resource folder writeable: Yes HTTP_HOST: DOCUMENT_ROOT: /home/bodustries/public_html/visionflo REQUEST_URI: /perch/core/settings/diagnostics/ SCRIPT_NAME: /perch/core/settings/diagnostics/index.php


Error message from error log: [14-Apr-2018 10:58:09 UTC] PHP Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/bodustries/public_html/visionflo/perch/core/lib/PerchDB_MySQL.class.php on line 73

David Bowen

David Bowen 0 points

  • 3 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

I Googled "php_network_getaddresses: getaddrinfo failed: Name or service not known" and there is lots of information, sounds like maybe your database server information is incorrect? It seems to be a server, rather than a Perch issue anyway so if you can't figure it out from Google then your host is probably the person to ask.