Forum
Some page content disappeared since update to latest version of perch and perch...
Hi
Some page content disappeared since update to latest version of perch and perch blog - https://www.qccartoon.com/authors.php.
this is a text block and is a shared folder, below is code that should be being displayed, below that is diagnostic code.
However, this page https://www.qccartoon.com/legal-links.php is working fine.
Have you any ideas why this might be happening?
<p>
<img alt=\"\" src=\"/perch/resources/woodycaricaturelorez-ck.jpg\" style=\"width: 200px; height: 277px; float: right;\" /></p>
<p>
<a href=\"https://www,alex-williams.com\" target=\"_blank\">Alex Williams</a> is a cartoonist, film animator, and sometime barrister. He studied law at the Inns of Court School of Law in 1994.</p>
<p>
The Queens Counsel cartoon strip was born in the flyleaf of a civil litigation textbook during a particularly tedious stint in the law library. <a href=\"https://flipanimation.blogspot.co.uk/search/label/Queen%27s%20Counsel\" target=\"_blank\">You can read the full story here</a>.</p>
<p>
Alex briefly practiced law at 12 King's Bench Walk before <a href=\"https://www.imdb.com/name/nm0929989/?ref_=fn_al_nm_2\" target=\"_blank\">fleeing to Hollywood</a> to draw cartoons, and other dubious pursuits.</p>
<p>
Nowadays he keeps up with law by getting his long-suffering wife Sarah, who works at a leading law firm in London, to write all his jokes. Well, the funny ones anyway.</p>
<p>
You can see an interview with Alex at <a class=\"bodylink\" href=\"https://www.moretolaw.co.uk/morethanlaw/Ex-barristernowanimatorandcartoonist.php\">www.moretolaw.com</a>, and at <a href=\"https://www.skwigly.co.uk/an-interview-with-alex-williams/\" target=\"_blank\">Skwigly</a> magazine. You can also see his animation work at <a class=\"bodylink\" href=\"https://www.alex-williams.com\">www.alex-williams.com</a>, and catch the latest news at his <a href=\"https://flipanimation.blogspot.co.uk/\" target=\"_blank\">animation blog</a> FLIP.</p>
<p>
If you would like to know more about cartoons, animation or even commission a bespoke cartoon, email us at info@qccartoon.com</p>
Perch: 2.8.31
Production mode: Production (100)
Installed apps: content (2.8.31), assets (2.8.31), categories (2.8.31), perch_blog (5.0)
DB driver: PDO
DB tables: perch2_blog_authors (1), perch2_blog_categories (0), perch2_blog_comments (66), perch2_blog_index (5758), perch2_blog_posts (211), perch2_blog_posts_to_categories (0), perch2_blog_posts_to_tags (959), perch2_blog_sections (1), perch2_blog_tags (68), perch2_blogs (1), perch2_categories (0), perch2_category_counts (0), perch2_category_sets (1), perch2_content_index (49), perch2_content_items (65), perch2_content_regions (12), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (1), perch2_pages (32), perch2_resource_log (719), perch2_resource_tags (0), perch2_resources (719), perch2_resources_to_tags (0), perch2_settings (21), perch2_user_passwords (0), perch2_user_privileges (37), perch2_user_role_privileges (15), perch2_user_roles (2), perch2_users (1)
Users: 1
App runtimes:
<?php
include(PERCH_PATH.'/core/apps/content/runtime.php');
include(PERCH_PATH.'/addons/apps/perch_blog/runtime.php');
?>
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Editor plug-ins: ckeditor, markitup
H1: f349c2d98935551110265c09ca8ed7a0
L1: db15fb8297b5c9839a9578c9315ec6d6
F1: 2edba60ed1f613d6dd804feb202456a2
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
latest_version: 2.8.15
headerScheme: light
perch_blog_post_url: post3.php?s={postSlug}
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
dashboard: 0
content_hideNonEditableRegions: 0
update_2.1: done
update_2.2.9: done
perch_blog_update: 5.0.1
perch_blog_comment_notify: 0
update_2.8.31: done
on_sale_version: 2.8.31
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: qccartoo_perch
PERCH_DB_SERVER: 10.169.0.94
PERCH_DB_DATABASE: qccartoo_perch
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: matt@sorcewebdesign.co.uk
PERCH_EMAIL_FROM_NAME: Matthew Saunders
PERCH_LOGINPATH: /perch
PERCH_PATH: /var/sites/q/qccartoon.com/public_html/perch
PERCH_CORE: /var/sites/q/qccartoon.com/public_html/perch/core
PERCH_RESFILEPATH: /var/sites/q/qccartoon.com/public_html/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 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_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /var/sites/q/qccartoon.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.6.22
Zend: 2.6.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
MySQL server: 5.6.30
Free disk space: 12.63 TB
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, memcached, memcache, 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/w/www.qccartoon.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-GB,en-US;q=0.8,en;q=0.6
HTTP_CONNECTION: close
HTTP_COOKIE: cmsa=1; __utma=198077615.1359542095.1474561748.1474961435.1474968662.9; __utmb=198077615.49.10.1474968662; __utmc=198077615; __utmz=198077615.1474618729.2.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); PHPSESSID=e1734d4bef5fa9206868ec95fb312302
HTTP_HOST: www.qccartoon.com
HTTP_REFERER: https://www.qccartoon.com/perch/core/settings/diagnostics/
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
HTTP_X_FORWARDED_FOR: 176.26.244.69
PATH: /bin
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 176.26.244.69
REMOTE_PORT: 38795
REQUEST_METHOD: GET
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /var/sites/w/www.qccartoon.com/public_html/perch/core/settings/diagnostics/index.php
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
SERVER_ADDR: 10.168.1.105
SERVER_ADMIN: you@example.com
SERVER_NAME: www.qccartoon.com
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1474971867.52
REQUEST_TIME: 1474971867
argc: 1
Can you show us your template?
Hi Drew
This template file is in perch/templates/pages and is called default.php. Is this the template you mean?
The template you are using for the content, this will be in
perch/templates/content
This page https://www.qccartoon.com/authors.php uses Text Block, so the template is perch/templates/content/text_block.html, below is the code in text_block.html:
Do you see the content in the control panel?
Yes
And that's how it looks?
Actually it's like below, exactly the same code, just spaced slightly differently:
Do you know how it came to be such a mess?
Im not sure, it's been a while, am just trying to complete an update successfully, almost there, except this... https://www.qccartoon.com/authors.php - doesn't it contain markitup/textfile code, or whatever it is, is this what you are saying is such a mess?
The same code displays fine on a copy of site https://www.qccartoon.com/dev/authors.php
On https://www.qccartoon.com/authors.php I have now removed all code so is just what is below, but still getting a blank. page on https://www.qccartoon.com/authors.php
so nothing to do with code
Do you get anything in your server error log?
What's the difference between the version that's working and the version that's not?
ok, ill do some digging, thought it might be a common issue