Forum
New Page error - "Perch by edgeofmyseat.com"
When I create a new page and then select a master page (doesnt matter what master page - the problem exists even with the Perch default master page), it saves without a problem.
When I then clickon a region to edit it, I have a blank screen, except for "Perch by edgeofmyseat.com" in the top left corner. Nothing else.
I have debug turned on, and it shows this on that blank page:
Debug Message
[1] SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=2 AND u.userHash='3429a5dae19de4df569fc31730a2c732' LIMIT 1
UPDATE perch2_users SET userHash='f388acd12ba8485c1706786d77c9aba8' WHERE userID='2'
[34] SELECT p.privKey FROM perch2_user_privileges p
[12] SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=2 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID
[1] SELECT * FROM perch2_content_regions WHERE regionID=220 LIMIT 1
Queries: 6
Memory: 2.6086
Diagnostics
PERCH INFORMATION
Perch: 2.8.29
Production mode: Production (100)
Installed apps: content (2.8.29), assets (2.8.29), categories (2.8.29), perch_blog (5.0)
DB driver: PDO
DB tables: perch2_blog_authors (1), perch2_blog_comments (0), perch2_blog_index (373), perch2_blog_posts (6), perch2_blog_posts_to_tags (0), perch2_blog_sections (1), perch2_blog_tags (0), perch2_blogs (1), perch2_categories (2), perch2_category_counts (2), perch2_category_sets (1), perch2_content_index (193), perch2_content_items (85), perch2_content_regions (39), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (2), perch2_pages (12), perch2_resource_log (709), perch2_resource_tags (0), perch2_resources (287), perch2_resources_to_tags (0), perch2_settings (12), perch2_user_passwords (1), perch2_user_privileges (34), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (2)
Users: 2
App runtimes:
<?php
$apps_list = array(
'content',
'categories',
'perch_blog',
);
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: ckeditor, redactor, markitup
H1: 8e251e2f7ef1f29e7c0283d60ac10c1d
L1: deafd3d744d4853868dd3a0a40634081
F1: 2edba60ed1f613d6dd804feb202456a2
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.29: done
latest_version: 2.8.15
on_sale_version: 2.8.29
perch_blog_update: 5.0.1
perch_blog_post_url: /blog/post.php?s={postSlug}
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: 05creati_murph
PERCH_DB_SERVER: 10.169.0.99
PERCH_DB_DATABASE: 05creati_live2016
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: chris@05creative.com
PERCH_EMAIL_FROM_NAME: Chris James
PERCH_LOGINPATH: /perch
PERCH_PATH: /var/sites/0/05creative.com/public_html/perch
PERCH_CORE: /var/sites/0/05creative.com/public_html/perch/core
PERCH_RESFILEPATH: /var/sites/0/05creative.com/public_html/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_DEBUG: 1
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_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /var/sites/0/05creative.com/public_html/perch/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_SESSION_TIMEOUT_MINS: 20
HOSTING SETTINGS
PHP: 5.4.42
Zend: 2.4.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
MySQL server: 5.6.21
Free disk space: 1010.31 GB
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, intl, json, ldap, mbstring, mcrypt, mssql, standard, mysql, mysqlnd, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, imap, SimpleXML, soap, sockets, exif, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, memcache, geoip, mhash, ionCube Loader, Zend Guard Loader
GD: Yes
ImageMagick: No
PHP max upload size: 100M
PHP max form post size: 100M
PHP memory limit: 128M
Total max uploadable file size: 100M
Resource folder writeable: Yes
Session timeout: 240 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
DOCUMENT_ROOT: /var/sites/0/05creative.com/public_html
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_CONNECTION: close
HTTP_COOKIE: _ga=GA1.2.938930737.1465747670; cmsa=1; PHPSESSID=e1647d355a9c6f8074feb1b79aa8a0c6
HTTP_HOST: 05creative.com
HTTP_REFERER: https://05creative.com/perch/core/settings/diagnostics/
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
HTTP_X_FORWARDED_FOR: 81.97.237.32
PATH: /bin
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 81.97.237.32
REMOTE_PORT: 56034
REQUEST_METHOD: GET
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /var/sites/0/05creative.com/public_html/perch/core/settings/diagnostics/index.php
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
SERVER_ADDR: 10.168.1.172
SERVER_ADMIN: you@example.com
SERVER_NAME: 05creative.com
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1466375870.5
REQUEST_TIME: 1466375870
argc: 1
Debug on diagnostics page
Debug Message
[1] SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=2 AND u.userHash='fa038748c913d67bba34d2b74f6fa1df' LIMIT 1
UPDATE perch2_users SET userHash='9f7b764f0beaa65bb5c0337ccc47a5e7' WHERE userID='2'
[34] SELECT p.privKey FROM perch2_user_privileges p
[12] SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=2 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID
[28] SHOW TABLES
[1] SELECT COUNT(*) FROM perch2_blog_authors
[0] SELECT COUNT(*) FROM perch2_blog_comments
[373] SELECT COUNT(*) FROM perch2_blog_index
[6] SELECT COUNT(*) FROM perch2_blog_posts
[0] SELECT COUNT(*) FROM perch2_blog_posts_to_tags
[1] SELECT COUNT(*) FROM perch2_blog_sections
[0] SELECT COUNT(*) FROM perch2_blog_tags
[1] SELECT COUNT(*) FROM perch2_blogs
[2] SELECT COUNT(*) FROM perch2_categories
[2] SELECT COUNT(*) FROM perch2_category_counts
[1] SELECT COUNT(*) FROM perch2_category_sets
[193] SELECT COUNT(*) FROM perch2_content_index
[85] SELECT COUNT(*) FROM perch2_content_items
[39] SELECT COUNT(*) FROM perch2_content_regions
[0] SELECT COUNT(*) FROM perch2_navigation
[0] SELECT COUNT(*) FROM perch2_navigation_pages
[2] SELECT COUNT(*) FROM perch2_page_templates
[12] SELECT COUNT(*) FROM perch2_pages
[709] SELECT COUNT(*) FROM perch2_resource_log
[0] SELECT COUNT(*) FROM perch2_resource_tags
[287] SELECT COUNT(*) FROM perch2_resources
[0] SELECT COUNT(*) FROM perch2_resources_to_tags
[12] SELECT COUNT(*) FROM perch2_settings
[1] SELECT COUNT(*) FROM perch2_user_passwords
[34] SELECT COUNT(*) FROM perch2_user_privileges
[16] SELECT COUNT(*) FROM perch2_user_role_privileges
[2] SELECT COUNT(*) FROM perch2_user_roles
[2] SELECT COUNT(*) FROM perch2_users
[1] SELECT COUNT(*) FROM perch2_users
[12] SELECT DISTINCT settingID, settingValue FROM perch2_settings WHERE userID=0
Queries: 36
Memory: 2.2527
What is in your PHP error log?
It said this
Then to test it out I removed what was on line 12 (Facebook og meta tag)
Then it just moves the error down the page. I even removed all php from the header apart from
but it made no difference.
Is this a new installation?
Perch has been installed on a previous version of the site for a few weeks. We've added a blog (unfinished) and put several pages into Perch now, and I basically did a total reinstall of the site yesterday.
What did you do when you reinstalled?
I removed all site files from the server via FTP. Then uploaded new site files to root directory, created a new database on the server and imported the new site database into it and connected it on the config with the correct details
Have you verified that all the files were correctly uploaded?
Ive tried going through the process again. Now a blank white screen. I have the server support people looking at it, but they are saying its looking like a problem in my php in the site files. The latest error is this:
my Header file
And when I go to perch login I get this
Which version of PHP are you running?
Ok so I went through the whole process again and changed the php version from 5.2 to 5.5. This time all the site is appearing fine. When I tried to login to Perch, I get that error again. A blank screen with:
"Perch by edgeofmyseat.com"
and the url reads "https://05creative.com/perch/core/apps/content/"
Latest php error log
SO I cant login to perch at all now
The initial Diagnostics Report you gave us wasn't PHP 5.2 so I am a bit confused where the information you are giving us is coming from. Perch requires at least PHP 5.3 (will be 5.4 with Perch 2.9)
Did you get a Pass from the Compatibility Test for this server? https://grabaperch.com/requirements
Yes - Perch was working on it earlier, fine and Ive used Perch several times on the same setup before. I mentioned earlier after Drew asked what php version that I changed it from 5.2 to 5.5. but since I did that I cant log in to Perch so I cant give you updated diagnostics, only yhe server error log, as above.
Don't know if it helps but when I hit that url ("https://05creative.com/perch/core/apps/content/") from here I get a standard Perch login form rather than a blank screen and I also get a standard Perch login form on the standard url of "https://05creative.com/perch/"
Thanks Kim, but Ive sent the url to other people with the login details and get the same result, blank screen
Where did that initial Diagnostics Report come from?
The one that said you were running PHP: 5.4.42
Im honestly not sure now Rachel - Ive tried so many different things in desperation! However, I managed to reinstall everything on a staging site and then move it to the live site. It seems better now. Thanks for your help