Forum

Thread tagged as: Problem, Error, Hosting

Content Disappeared Suddenly after 3 Years

Hello everyone,

I've had a website running for around 3 year without any issues. However suddenly the Perch content disappeared... I originally thought it was something to do with parsing html as php files etc, however during my trouble shooting attempts I change a file to php extension and I'm still getting a php parsing issue.

Some context:

So before I had the .htaccess file setup like so:

AddHandler fcgid-script .html
 FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .html

On the about.html page, I have an example perch content tag as follows:

<?php perch_content('Header Image'); ?>

On the .html version of this page, I'm getting a comment tag returned from the server:

<!--?php perch_content('Header Image'); ?-->

On the .php version of the same page, I'm getting this comment tag back from the server:

<!-- Undefined content: Header Image -->

Is there something I'm missing, seems like php is not running with perch? Thanks for your support in advance!

Marc

Here is my diagnostics reports:

PERCH INFORMATION
Perch: 2.8.5
Production mode: Production (100)
Installed apps: content (2.8.5), assets (2.8.5), categories (2.8.5), perch_forms (1.8.3), perch_gallery (2.8.6)
DB driver: PDO
DB tables: perch2_categories, perch2_category_counts, perch2_category_sets, perch2_content_index, perch2_content_items, perch2_content_regions, perch2_forms, perch2_forms_responses, perch2_gallery_albums, perch2_gallery_image_versions, perch2_gallery_images, perch2_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, perch2_resource_log, perch2_resource_tags, perch2_resources, perch2_resources_to_tags, perch2_settings, perch2_user_privileges, perch2_user_role_privileges, perch2_user_roles, perch2_users
Users: 2
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
        'perch_forms',
        'perch_gallery',
    );
Editor plug-ins: ace, ckeditor, markitup
H1: 6b39ec9dfc5a1dd5a01cdc2cff5edaa2
L1: d8f430a8d29aa5ddec30e44617390bce
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.5: done
on_sale_version:
update_2.8.6: done
headerScheme: light
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
logoPath: /perch/resources/ap2project-logo.png
perch_gallery_update: 2.8.5
latest_version: 2.8.15
perch_gallery_bucket_mode: single
perch_gallery_bucket: default
perch_gallery_basicUpload: 0
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: woof-admin3
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: woof-dubai3
PERCH_DB_PREFIX: perch2_
PERCH_TZ: Asia/Dubai
PERCH_EMAIL_FROM: example@email.com
PERCH_EMAIL_FROM_NAME: Name
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/ap2cpanel/public_html/woofdubai.ae/perch
PERCH_CORE: /home/ap2cpanel/public_html/woofdubai.ae/perch/core
PERCH_RESFILEPATH: /home/ap2cpanel/public_html/woofdubai.ae/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_EMAIL_METHOD: smtp
PERCH_EMAIL_HOST: p3plcpnl0600.prod.phx3.secureserver.net
PERCH_EMAIL_SECURE: ssl
PERCH_EMAIL_AUTH: 1
PERCH_EMAIL_PORT: 465
PERCH_EMAIL_USERNAME: example@email.com
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_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/ap2cpanel/public_html/woofdubai.ae/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_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
HOSTING SETTINGS
PHP: 5.4.45
Zend: 2.4.0
OS: Linux
SAPI: litespeed
Safe mode: not detected
MySQL client: 5.6.39
MySQL server: 5.6.39-cll-lve
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, gmp, SPL, iconv, pcntl, readline, Reflection, session, standard, shmop, SimpleXML, mbstring, tokenizer, xml, litespeed, bcmath, dom, fileinfo, gd, imagick, imap, inotify, intl, json, exif, mcrypt, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, soap, xmlreader, xmlrpc, xmlwriter, mhash, ionCube Loader, Zend Guard Loader
GD: Yes
ImageMagick: Yes
PHP max upload size: 2M
PHP max form post size: 8M
PHP memory limit: 128M
Total max uploadable file size: 2M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
LSPHP_ENABLE_USER_INI: on
PATH: /usr/local/bin:/usr/bin:/bin
TEMP: /tmp
TMP: /tmp
TMPDIR: /tmp
PWD: /
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.9
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: _ga=GA1.2.2129477228.1529216324; _gid=GA1.2.2141799251.1529216324; cmsa=1; PHPSESSID=j78oqalshir32cg3vdag0jhqt0
HTTP_HOST: www.woofdubai.ae
HTTP_REFERER: https://www.woofdubai.ae/perch/core/settings/diagnostics/
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS: 1
UNIQUE_ID: WyYGdMBjcTF9BYvw15f2wQAAAEQ
SERVER_SOFTWARE: Apache
SERVER_NAME: www.woofdubai.ae
SERVER_ADDR: 23.229.213.201
SERVER_PORT: 80
REMOTE_ADDR: 86.98.7.75
DOCUMENT_ROOT: /home/ap2cpanel/public_html/woofdubai.ae
REQUEST_SCHEME: http
CONTEXT_DOCUMENT_ROOT: /home/ap2cpanel/public_html/woofdubai.ae
SERVER_ADMIN: webmaster@woofdubai.ap2sites.com
SCRIPT_FILENAME: /home/ap2cpanel/public_html/woofdubai.ae/perch/core/settings/diagnostics/index.php
REMOTE_PORT: 55424
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: extended
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1529218676.727
REQUEST_TIME: 1529218676
Marc Jeffrey

Marc Jeffrey 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you spoken to whoever hosts the site? It sounds like a hosting issue rather than a Perch issue.