Forum

Thread tagged as: Question, Problem

Search Results not showing result_excerpt

On my search results its not showing the result_excerpt

I switched on perch:showall /> and got the following (link below)

https://goo.gl/f2snwp

This is my template

<div class="list-post__info  list-post__ajax clearfix">
   <h3 class="a300 caps beta list-post__name"><a href="<perch:search id="result_url" />" class="blog__link"><perch:search id="result_title" /></a></h3>
   <p class="list-post__desc"><perch:search id="result_excerpt" encode="false" /></p>
</div>

<perch:showall />

Cant understand whats happening here? How can I fix this?

Many Thanks

Fishtank Creative

Fishtank Creative 2 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Do the posts have an excerpt completed?

Yes all posts have an excerpt see here

https://goo.gl/9l4L5C

I am on Perch 2.8.26 maybe there has been some search updates since then?

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Any advice we give will be based on the current version so you should first update and see if the problem still exists.

I have now updated to the latest version of Runway. The excerpt is still not showing for the blog app. It shows for content items but nothing for the blog.

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Can we see your Diagnostics Report please?

Here we go, thanks.

Perch Runway: 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), perch_forms (1.8.3), collection_4 (2.8.31), perch_twitter (3.5.1)
DB driver: PDO
DB tables: perch2_backup_plans (0), perch2_backup_resources (0), perch2_backup_runs (0), perch2_blog_authors (5), perch2_blog_comments (2), perch2_blog_index (4254), perch2_blog_posts (150), perch2_blog_posts_to_tags (18), perch2_blog_sections (1), perch2_blog_tags (14), perch2_blogs (1), perch2_categories (26), perch2_category_counts (4), perch2_category_sets (2), perch2_collection_index (17737), perch2_collection_items (495), perch2_collection_revisions (82), perch2_collections (2), perch2_content_index (6031), perch2_content_items (698), perch2_content_regions (92), perch2_forms (4), perch2_forms_responses (1051), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_routes (13), perch2_page_templates (53), perch2_pages (57), perch2_resource_log (8323), perch2_resource_tags (3), perch2_resources (3516), perch2_resources_to_tags (32), perch2_scheduled_tasks (4), perch2_settings (32), perch2_twitter_scheduled_tweets (0), perch2_twitter_settings (1), perch2_twitter_tweets (715), perch2_user_passwords (3), perch2_user_privileges (39), perch2_user_role_privileges (23), perch2_user_roles (2), perch2_users (6)
Users: 6
App runtimes:
<?php
    $apps_list = array(
        'content',
        'categories',
                              'perch_blog',
                              'perch_forms',
                              'perch_twitter'
    );
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins)
Scheduled tasks for perch_twitter: post_tweets (1 mins), update_tweets (10 mins)
Editor plug-ins: markitup
H1: 6c5bd607e944f3cf610bde29597d05e7
L1: 6f73f5121d72c8ed1eb3d31f7d2ebe0a
F1: 2edba60ed1f613d6dd804feb202456a2
headerColour: #0f4a7d
content_singlePageEdit: 1
helpURL:
siteURL:
hideBranding: 0
content_collapseList: 1
lang: en-gb
update_2.8.15: done
perch_twitter_update: 3.5
headerScheme: dark
update_runway_2.8.15: done
latest_version: 2.8.15
on_sale_version: 2.8.31
perch_blog_update: 5.0.1
perch_blog_post_url: /blog/{postSlug}
perch_blog_site_name: Stephenson Personal Care
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
dashboard: 0
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
perch_blog_comment_notify: 0
logoPath: /admin/resources/logo.png
update_runway_2.8.18: done
update_runway_2.8.19: done
update_runway_2.8.20: done
update_runway_2.8.21: done
update_runway_2.8.26: done
update_runway_2.8.27: done
update_runway_2.8.31: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_SITEPATH: /Users/Chris 1/Sites/_stephenson
PERCH_SCHEDULE_SECRET: eDWSv32LpIb9yWzE
PERCH_DB_USERNAME: personal_stephen
PERCH_DB_SERVER: 87.117.225.40
PERCH_DB_DATABASE: personal_stephenson
PERCH_DB_PREFIX: perch2_
PERCH_EMAIL_FROM: chris@teamfc.co.uk
PERCH_EMAIL_FROM_NAME: Chris Gorrod
PERCH_LOGINPATH: /admin
PERCH_PATH: /home/personalcare/public_html/admin
PERCH_CORE: /home/personalcare/public_html/admin/core
PERCH_RESFILEPATH: /home/personalcare/public_html/admin/resources
PERCH_RESPATH: /admin/resources
PERCH_HTML5: 1
PERCH_TZ: Europe/London
PERCH_CLEAN_RESOURCES:
PERCH_YOUTUBE_API_KEY: AIzaSyBtmFM5odjISl9UvsPvGiFSj0F6JQhCV40
PERCH_RUNWAY: 1
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: /home/personalcare/public_html/admin/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
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: textile
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.5.50-cll
Free disk space: 50.31 GB
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, json, mbstring, mcrypt, standard, mysql, mysqli, mysqlnd, Phar, posix, Reflection, imap, SimpleXML, soap, sockets, exif, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, PDO, pdo_sqlite, pdo_mysql, ionCube Loader, Zend Guard Loader
GD: Yes
ImageMagick: No
PHP max upload size: 120M
PHP max form post size: 8M
PHP memory limit: 512M
Total max uploadable file size: 8M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
CONTEXT_DOCUMENT_ROOT: /home/personalcare/public_html
DOCUMENT_ROOT: /home/personalcare/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,fr;q=0.6
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: hsfirstvisit=http%3A%2F%2Fwww.stephensonpersonalcare.com%2F||1466423805079; __leadinmigrated=1; __leadinutk=8f7c38ef6fff21b867416b3a520a8f1b; __utma=180405605.316222354.1464269301.1469088266.1470063453.12; __utmz=180405605.1464269301.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _okdetect=%7B%22token%22%3A%2214720255678280%22%2C%22proto%22%3A%22http%3A%22%2C%22host%22%3A%22stephensonpersonalcare.com%22%7D; _ok=8482-213-10-2984; __unam=8bd15fa-15456c22b85-3cb5f019-49; _okbk=cd5%3Davailable%2Ccd4%3Dtrue%2Cvi5%3D0%2Cvi4%3D1472041028664%2Cvi3%3Dactive%2Cvi2%3Dfalse%2Cvi1%3Dfalse%2Ccd8%3Dchat%2Ccd6%3D0%2Ccd3%3Dfalse%2Ccd2%3D0%2Ccd1%3D0%2C; __hstc=3987823.8f7c38ef6fff21b867416b3a520a8f1b.1466423805081.1472025567500.1472039953425.26; __hssrc=1; hubspotutk=8f7c38ef6fff21b867416b3a520a8f1b; olfsk=olfsk19345350026854513; wcsid=vY5WXOu40BSKLu004a2VL3aKJO0NE3RA; hblid=kpwhREWJCtWOgSxb4a2VL5aJJONQ0ELg; _ga=GA1.2.316222354.1464269301; _oklv=1472042466352%2CvY5WXOu40BSKLu004a2VL3aKJO0NE3RA; cmsa=1; PHPSESSID=dde8f370274afb34324df916bd36887b
HTTP_HOST: stephensonpersonalcare.com
HTTP_REFERER: https://stephensonpersonalcare.com/admin/core/settings/diagnostics/
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.70 Safari/537.36
PATH: /bin:/usr/bin
QUERY_STRING: extended
REDIRECT_STATUS: 200
REMOTE_ADDR: 81.105.76.171
REMOTE_PORT: 59893
REQUEST_METHOD: GET
REQUEST_SCHEME: http
REQUEST_URI: /admin/core/settings/diagnostics/?extended
SCRIPT_FILENAME: /home/personalcare/public_html/admin/core/settings/diagnostics/index.php
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
SERVER_ADDR: 87.117.225.40
SERVER_ADMIN: webmaster@stephensonpersonalcare.com
SERVER_NAME: stephensonpersonalcare.com
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Apache
UNIQUE_ID: V72Zzld14SgAAFHNEmgAAAAI
PHP_SELF: /admin/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1472043471.25
REQUEST_TIME: 1472043471
argc: 1
Drew McLellan

Drew McLellan 2638 points
Perch Support

What's the ID of your excerpt field in the template?

<perch:blog id="excerpt" type="textarea" label="Excerpt" encode="false" size="s" order="3" />
Drew McLellan

Drew McLellan 2638 points
Perch Support

Looks like we actually make the excerpt from postDescHTML rather than use the excerpt field, because it's optional of course.

Do you have content in postDescHTML ?