Forum

Thread tagged as: Question, Problem, Error

Not all content being output

Hi guys,

I'm a designer who's learned to code, so if anything in my question is glaringly obvious please excuse me in advance.

I've created the following site for a client running a yoga studio: stretch-london.com. On the following page, not all content from templates, including the footer, is being output, despite content having been saved and published:

https://stretch-london.com/samata-goa

I've made various pricing templates, and the missing one is <?php perch_content('shared-room'); ?>.

Where do I start to find the error on this one?

Hope you can help, thanks a bunch.

Daniel

Daniel Flösser

Daniel Flösser 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

We need to see your template and your Diagnostics Report as requested above the Create New Post form.

Hi Rachel,

many thanks for your quick reply.

Here is the template, which isn't being output:

And here is the diagnostics report:

Perch: 2.7.10 Production mode: Production (100) Installed apps: content (2.7.10), assets (2.7.10), categories (2.7.10), perch_forms (1.8.2) 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_navigation, perch2_navigation_pages, perch2_page_templates, perch2_pages, 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', ); Editor plug-ins: markitup H1: 4ee1fc67ba71a4c5ff3f4da2913f4992 L1: 82e61a92aac22194de9e94f425e7bdb0 headerColour: #ffffff content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 0 content_collapseList: 1 lang: en-gb update_2.7.10: done latest_version: 2.8 on_sale_version: 2.8.4 PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: db94420 PERCH_DB_SERVER: external-db.s94420.gridserver.com PERCH_DB_DATABASE: db94420_stretch PERCH_DB_PREFIX: perch2_ PERCH_TZ: Europe/London PERCH_EMAIL_FROM: daniel@doubleprojects.com PERCH_EMAIL_FROM_NAME: Daniel Flösser PERCH_LOGINPATH: /perch PERCH_PATH: /nfs/c06/h04/mnt/94420/domains/stretch-london.com/html/perch PERCH_CORE: /nfs/c06/h04/mnt/94420/domains/stretch-london.com/html/perch/core PERCH_RESFILEPATH: /nfs/c06/h04/mnt/94420/domains/stretch-london.com/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_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /nfs/c06/h04/mnt/94420/domains/stretch-london.com/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_AUTH_PLUGIN: PERCH_DB_CHARSET: utf8 PERCH_DB_PORT: PERCH_DB_SOCKET: HOSTING SETTINGS

PHP: 5.3.29 Zend: 2.3.0 OS: Linux SAPI: cgi-fcgi Safe mode: not detected MySQL client: 5.1.73 MySQL server: 5.1.67-rel14.3 Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, json, ldap, mbstring, mcrypt, mysql, mysqli, standard, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, Reflection, imap, SimpleXML, soap, sockets, SQLite, exif, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, mhash GD: Yes ImageMagick: No PHP max upload size: 20M PHP max form post size: 50M PHP memory limit: 99M Total max uploadable file size: 20M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: No PWD: /etc/apache2/gs-bin FCGI_ROLE: RESPONDER UNIQUE_ID: VSbDRs26uBAAAFdUtF4AAAB- SCRIPT_URL: /perch/core/settings/diagnostics/ SCRIPT_URI: https://stretch-london.com.s94420.gridserver.com/perch/core/settings/diagnostics/ force_proxy_request_1_0: 1 proxy_nokeepalive: 1 WM_UCONTROL_XMLRPC_SERVER: https://10.0.0.13 ACCESS_DOMAIN: s94420.gridserver.com DATABASE_SERVER: internal-db.s94420.gridserver.com SITE_ROOT: /home/94420 SITE_CGIROOT: /home/94420/cgi-bin SITE_HTMLROOT: /home/94420/domains/stretch-london.com/html PHPRC: /home/94420/etc/ HTTP_HOST: stretch-london.com.s94420.gridserver.com HTTP_ACCEPT_ENCODING: gzip, deflate HTTP_COOKIE: __utma=16739700.2118695906.1423663531.1424776154.1424810494.18; __utmz=16739700.1423663531.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); cmsa=1; PHPSESSID=55a453b9f4a2967fd082dea9a2602218; _ga=GA1.2.2118695906.1423663531 HTTP_CONNECTION: close 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_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18 HTTP_ACCEPT_LANGUAGE: en-us HTTP_REFERER: https://stretch-london.com.s94420.gridserver.com/perch/core/settings/diagnostics/ HTTP_DNT: 1 PATH: /usr/local/bin:/usr/bin:/bin SERVER_SIGNATURE: <address>Apache/2.2.22 Server at stretch-london.com.s94420.gridserver.com Port 80</address> SERVER_SOFTWARE: Apache/2.2.22 SERVER_NAME: stretch-london.com.s94420.gridserver.com SERVER_ADDR: 205.186.187.67 SERVER_PORT: 80 REMOTE_ADDR: 90.184.72.90 DOCUMENT_ROOT: /home/94420/domains/stretch-london.com/html SERVER_ADMIN: webmaster@s94420.gridserver.com SCRIPT_FILENAME: /home/94420/domains/stretch-london.com/html/perch/core/settings/diagnostics/index.php REMOTE_PORT: 57794 GATEWAY_INTERFACE: CGI/1.1 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: 1428603718 argc: 1

Rachel Andrew

Rachel Andrew 394 points
Perch Support

The first thing to do is to update Perch. You are several versions out of date. The current release version is 2.8.4.

Ok, I thought that when I discovered it was out of date. I will do that, and get back to you. Thanks!

Hi,

I've now updated to the newest version, and it hasn't changed anything. I've tried to add new content through the template, but nothing's showing up. Should I try to recreate the page, or do you have any idea what's causing the error?

Many thanks Daniel

Not sure whether this is the issue or not, but you are using hyphens in your ID's which isn't advised.

Hi Dexter, many thanks for the input. Does that count for template ID's, or other ID's in general?