Forum
perch blog custom prevents html loading
I have this in a global.aside.php template
<?php perch_blog_custom( array(
'sort' => 'postDateTime',
'sort-order' => 'DESC',
'template' => 'post_in_list.html',
'count' => 3
) );
?>
It seems this code blocks all content after it to be output. Tried to put it at different places of the page, everything below is cut.
Here is my log
Perch: 3.0.9
Production mode: Production (100)
Installed apps: content (3.0.9), assets (3.0.9), categories (3.0.9), perch_blog (5.6.1), perch_events (1.9.5), perch_forms (1.9.1)
DB driver: PDO
DB tables: perch3_blog_authors (1), perch3_blog_comments (0), perch3_blog_index (31), perch3_blog_posts (1), perch3_blog_posts_to_tags (0), perch3_blog_sections (1), perch3_blog_tags (0), perch3_blog_webmention_queue (0), perch3_blogs (1), perch3_categories (0), perch3_category_counts (0), perch3_category_sets (1), perch3_content_index (403), perch3_content_items (97), perch3_content_regions (17), perch3_events (2), perch3_events_categories (0), perch3_events_to_categories (0), perch3_forms (1), perch3_forms_responses (9), perch3_menu_items (11), perch3_navigation (0), perch3_navigation_pages (0), perch3_page_templates (0), perch3_pages (9), perch3_resource_log (67), perch3_resource_tags (0), perch3_resources (15), perch3_resources_to_tags (0), perch3_settings (30), perch3_user_passwords (0), perch3_user_privileges (42), perch3_user_role_privileges (7), perch3_user_roles (2), perch3_users (2)
Users: 2
App runtimes:
<?php
$apps_list = [
'perch_events',
'perch_forms'
];
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins), publish_posts (1 mins), process_webmentions (1 mins)
Editor plug-ins:
H1: 3ac65faf8945aec05e6ff7a7d66451bf
L1: 7b13a60ec87cf1d7e330a8155772b3cc
F1: 3b606135b33e6a102526838f4152a807
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: fr-fr1
installedAt: 3.0.9
update_3.0.9: done
latest_version:
on_sale_version:
perch_events_update: 1.8
headerScheme: light
perch_events_detail_url: /events/event.php?s={eventSlug}
dashboard: 0
hide_pwd_reset: 0
keyboardShortcuts: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
content_skip_region_list: 0
assets_restrict_buckets: 0
perch_blog_update: 5.6
perch_blog_post_url: /blog/post.php?s={postSlug}
perch_blog_site_name:
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
perch_blog_comment_notify: 0
perch_blog_webmention_tx: 0
perch_blog_webmention_rx: 0
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: psychologuetoulo_root
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: psychologuetoulo_melissa
PERCH_DB_PREFIX: perch3_
PERCH_TZ: Europe/Paris
PERCH_EMAIL_FROM: ndevaux@gmail.com
PERCH_EMAIL_FROM_NAME: Nicolas Devaux
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/psychologuetoulo/public_html/perch
PERCH_CORE: /home/psychologuetoulo/public_html/perch/core
PERCH_RESFILEPATH: /home/psychologuetoulo/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_ASSET_VERSION: ab805d13c20751d6975a
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/psychologuetoulo/public_html/perch/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.24
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.5.5-10.1.28-MariaDB
Free disk space: 47,41 GB
Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, readline, Reflection, SPL, session, standard, cgi-fcgi, bcmath, bz2, calendar, ctype, curl, dom, mbstring, ftp, gd, gettext, iconv, imap, json, exif, mcrypt, mysqlnd, PDO, pgsql, Phar, posix, SimpleXML, soap, sockets, sqlite3, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, wddx, xmlreader, xmlrpc
GD: Yes
ImageMagick: No
PHP max upload size: 2M
PHP max form post size: 8M
PHP memory limit: 32M
Total max uploadable file size: 2M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
CONTEXT_DOCUMENT_ROOT: /home/psychologuetoulo/public_html
DOCUMENT_ROOT: /home/psychologuetoulo/public_html
GATEWAY_INTERFACE: CGI/1.1
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: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7,es;q=0.6
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: PHPSESSID=pf7n5ldrcprnl94ic03ckdu5s6; cmsa=1
HTTP_HOST: psychologue-toulouse.info
HTTP_REFERER: https://psychologue-toulouse.info/perch/core/settings/diagnostics/
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3238.0 Safari/537.36
PATH: /bin:/usr/bin
PHP_INI_SCAN_DIR: /opt/cpanel/ea-php70/root/etc:/opt/cpanel/ea-php70/root/etc/php.d:.
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 81.64.155.53
REMOTE_PORT: 55739
REQUEST_METHOD: GET
REQUEST_SCHEME: http
REQUEST_URI: /perch/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /home/psychologuetoulo/public_html/perch/core/settings/diagnostics/index.php
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
SCRIPT_URI: https://psychologue-toulouse.info/perch/core/settings/diagnostics/
SCRIPT_URL: /perch/core/settings/diagnostics/
SERVER_ADDR: 85.236.157.164
SERVER_ADMIN: webmaster@psychologue-toulouse.info
SERVER_NAME: psychologue-toulouse.info
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
TZ: Etc/GMT-2
UNIQUE_ID: WeBnNl7peMjqi-@EGN-afAAAAY0
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1507878710,6197
REQUEST_TIME: 1507878710
argc: 1
uh i am sorry, reading my log shows me i forgot to add blog_app to my settings !