Forum
Getting Blank page when adding new pages
When trying to add new pages, I'm getting a blank screen. The first error I see while entering the details for the new page is:
[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) (urlify.php, line 0)
After typing the page name in manually and hitting submit I get:
[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) (add, line 0)
Diagnostics are as follows:
Perch information
Perch: 3.0.11
Production mode: Production (100)
Installed apps: content (3.0.11), assets (3.0.11), categories (3.0.11), perch_forms (1.9)
DB driver: PDO
DB tables: perch3_categories (9), perch3_category_counts (0), perch3_category_sets (1), perch3_content_index (6241), perch3_content_items (590), perch3_content_regions (197), perch3_forms (0), perch3_forms_responses (0), perch3_menu_items (9), perch3_navigation (0), perch3_navigation_pages (2), perch3_page_templates (10), perch3_pages (51), perch3_resource_log (3084), perch3_resource_tags (0), perch3_resources (913), perch3_resources_to_tags (0), perch3_settings (21), perch3_user_passwords (0), perch3_user_privileges (31), perch3_user_role_privileges (2), perch3_user_roles (2), perch3_users (1)
Users: 1
App runtimes:
<?php
$apps_list = [
];
Editor plug-ins: ckeditor
H1: 3d12ad81eca59cb9882fae275f9b04ca
L1: 92fcc2dc3a57d92346ff66947f4efd71
F1: 3b606135b33e6a102526838f4152a807
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
installedAt: 3.0.8
update_3.0.8: done
latest_version:
on_sale_version:
headerScheme: light
dashboard: 0
hide_pwd_reset: 0
keyboardShortcuts: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
content_skip_region_list: 0
logoPath: /siteadmin/resources/kingsford-logo-cmyk-1.png
update_3.0.1: done
update_3.0.11: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: sfc839n_kingsfor
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: sfc839n_kpreview
PERCH_DB_PREFIX: perch3_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: tony@kingsfordcreative.co.uk
PERCH_EMAIL_FROM_NAME: Tony Astley
PERCH_LOGINPATH: /siteadmin
PERCH_PATH: /home/sfc839n/public_html/preview/siteadmin
PERCH_CORE: /home/sfc839n/public_html/preview/siteadmin/core
PERCH_RESFILEPATH: /home/sfc839n/public_html/preview/siteadmin/resources
PERCH_RESPATH: /siteadmin/resources
PERCH_HTML5: 1
PERCH_SCHEDULE_SECRET: parsnip
PERCH_RUNWAY:
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_ASSET_VERSION: f704e7442d11292c99b5
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/sfc839n/public_html/preview/siteadmin/templates
PERCH_TEMPLATE_FILTERS:
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_XHTML_MARKUP:
PERCH_RWD: 1
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_DEFAULT_BUCKET: default
PERCH_TRANSLATION_ASSIST:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
PERCH_PRIV_ASSIST:
PERCH_CUSTOM_EDITOR_CONFIGS:
PERCH_ENABLE_EXIF: 1
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown
Hosting settings
PHP: 7.0.26
Zend: 3.0.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
MySQL server: 5.6.38
Free disk space: 346.71 GB
Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, readline, Reflection, SPL, session, standard, cgi-fcgi, bcmath, calendar, ctype, curl, dom, ftp, gd, imap, json, mcrypt, mysqlnd, PDO, Phar, posix, SimpleXML, sockets, sqlite3, tokenizer, xml, xmlwriter, xsl, mysqli, pdo_mysql, pdo_sqlite, wddx, xmlreader
GD: Yes
ImageMagick: No
PHP max upload size: 10M
PHP max form post size: 10M
PHP memory limit: 128M
Total max uploadable file size: 10M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
TZ: Europe/London
REDIRECT_UNIQUE_ID: WipzL7nYksVOS5@AWtHN@AAAABA
REDIRECT_SCRIPT_URL: /siteadmin/core/settings/diagnostics/
REDIRECT_SCRIPT_URI: https://preview.ballandyoung.com/siteadmin/core/settings/diagnostics/
REDIRECT_HANDLER: application/x-httpd-ea-php70
REDIRECT_STATUS: 200
UNIQUE_ID: WipzL7nYksVOS5@AWtHN@AAAABA
SCRIPT_URL: /siteadmin/core/settings/diagnostics/
SCRIPT_URI: https://preview.ballandyoung.com/siteadmin/core/settings/diagnostics/
HTTP_HOST: preview.ballandyoung.com
HTTP_COOKIE: PHPSESSID=2d16ks18icsfln27fr03jl1bf4; cmsa=1; cpsession=%3aYr82EHQhsusdRNod%2c52c0e33e5ac18b04dc63e6687fdfd56f; timezone=Europe/London; __utma=115241364.2022388101.1512726166.1512726166.1512726166.1; __utmc=115241364; __utmz=115241364.1512726166.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
HTTP_CONNECTION: keep-alive
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/604.3.5 (KHTML, like Gecko) Version/11.0.1 Safari/604.3.5
HTTP_REFERER: https://preview.ballandyoung.com/siteadmin/core/settings/diagnostics/
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_ACCEPT_ENCODING: gzip, deflate
PATH: /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
SERVER_SOFTWARE: Apache
SERVER_NAME: preview.ballandyoung.com
SERVER_ADDR: 109.75.172.13
SERVER_PORT: 80
REMOTE_ADDR: 86.138.185.26
DOCUMENT_ROOT: /home/sfc839n/public_html/preview
REQUEST_SCHEME: http
CONTEXT_PREFIX: /cgi-sys
CONTEXT_DOCUMENT_ROOT: /usr/local/cpanel/cgi-sys/
SERVER_ADMIN: webmaster@preview.ballandyoung.com
SCRIPT_FILENAME: /home/sfc839n/public_html/preview/siteadmin/core/settings/diagnostics/index.php
REMOTE_PORT: 55933
REDIRECT_URL: /siteadmin/core/settings/diagnostics/index.php
REDIRECT_QUERY_STRING: extended
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: extended
REQUEST_URI: /siteadmin/core/settings/diagnostics/?extended
SCRIPT_NAME: /siteadmin/core/settings/diagnostics/index.php
ORIG_SCRIPT_FILENAME: /usr/local/cpanel/cgi-sys/ea-php70
ORIG_PATH_INFO: /siteadmin/core/settings/diagnostics/index.php
ORIG_PATH_TRANSLATED: /home/sfc839n/public_html/preview/siteadmin/core/settings/diagnostics/index.php
ORIG_SCRIPT_NAME: /cgi-sys/ea-php70
PHP_SELF: /siteadmin/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1512731439.996
REQUEST_TIME: 1512731439
argc: 1
Does your error log have any more detailed errors?
Not sure what I'm looking for? There are 100's of lines of logs.
Any pointers? Would it be a GET log?
Do you see any PHP errors?
Hello Drew,
I've managed to get display_errors activated for a while and got the following error:
Any use?
This error now also appears in the file name field:
More digging would suggest the iconv module is not installed, however the php info dump would suggest it is?
Would having '--with-iconv=shared' cause any issues?
As the error says, you don't have iconv installed. It should be there by default in PHP so you need to speak to your host.
Hello Rachel,
I've just this second updated the thread. The PHP info shows both '--with-iconv' and '--with-iconv=shared'.
Am I right in thinking this suggests it is?
That would be a question for your host as PHP believes it is not, as that is why you are getting the error.
Thanks Rachel, I've asked the client to raise a support ticket with their host (they haven't given us direct access).
Just to wrap this up the web host has installed iconv and adding new pages is now working.
Thanks for your help.