Forum

Thread tagged as: Problem, Error, Runway

Search in the Admin seems broken

I've never really had a use for the search facility in the admin, but i thought i;d try it out as i'm working on a site with a lot of pages.

The initial search itself seems to work just fine, it lists all of the pages with the word in it, all good. But then when i click the page so i can go to it, it just returns me to the usual pages view.

Looking at the link in the search result, i can see it is not the same as the URL of where i was expecting to be delivered. For example in search the URL of the link is: https://perch.local/admin/core/apps/content/edit/?id=covers_content.html&itm=Page%20Content

But the actual URL of the area that seems to be referring to is: https://perch.local/admin/core/apps/content/edit/?id=75

The thing is, this behavior is intermittent. Some searches return all results that link to where i would expect and some return all results that results that link to the wrong place.

I can't even say "well it is one particular page" because a search for "cut" returns results that don't link to the right place, yet "barber" does return results that link to the right place, and they both refer to the exact same pages!!

Daniel Owen

Daniel Owen 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Can you post your Diagnostic Report please?

Certainly can! Sorry, it was late so i forgot to do that while posting.

Perch Runway: 2.8.7
Production mode: Production (100)
Installed apps: content (2.8.7), assets (2.8.7), categories (2.8.7)
DB driver: PDO
DB tables: prss_backup_plans, prss_backup_resources, prss_backup_runs, prss_categories, prss_category_counts, prss_category_sets, prss_collection_index, prss_collection_items, prss_collection_revisions, prss_collections, prss_content_index, prss_content_items, prss_content_regions, prss_navigation, prss_navigation_pages, prss_page_routes, prss_page_templates, prss_pages, prss_resource_log, prss_resource_tags, prss_resources, prss_resources_to_tags, prss_settings, prss_user_privileges, prss_user_role_privileges, prss_user_roles, prss_users
Users: 2
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
    );
Editor plug-ins: ckeditor, markitup, redactor, tinymce
H1: 587d49f732126a2d60a1cd5e1a642af7
L1: 23efce521759e8670eb108d5e31c80ec
headerColour: #6cbd9c
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 0
lang: en-gb
update_2.8.6: done
headerScheme: dark
update_runway_2.8.6: done
latest_version: 2.8
on_sale_version: 2.8.7
content_hideNonEditableRegions: 1
content_frontend_edit: 1
dashboard: 0
hide_pwd_reset: 0
logoPath: /admin/resources/1431957460_salonsaverlogo.png
update_runway_2.8.7: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_SITEPATH: C:\xampp\htdocs\salonsaver\admin\setup\runway\modes
PERCH_SCHEDULE_SECRET: wuAWQcaF5YUXPn6G
PERCH_DB_USERNAME: gd346jsqks6q2379
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: salsav2015
PERCH_DB_PREFIX: prss_
PERCH_EMAIL_FROM: pulsecode@gmail.com
PERCH_EMAIL_FROM_NAME: Daniel Owen
PERCH_LOGINPATH: /admin
PERCH_PATH: C:\xampp\htdocs\salonsaver\admin
PERCH_CORE: C:\xampp\htdocs\salonsaver\admin\core
PERCH_RESFILEPATH: C:\xampp\htdocs\salonsaver\admin\resources
PERCH_RESPATH: /admin/resources
PERCH_HTML5: 1
PERCH_TZ: Europe/London
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_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: C:\xampp\htdocs\salonsaver\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_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
HOSTING SETTINGS

PHP: 5.5.15
Zend: 2.5.0
OS: WINNT
SAPI: apache2handler
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: bf9ad53b11c9a57efdb1057292d73b928b8c5c77 $
MySQL server: 5.6.20
Extensions: Core, bcmath, calendar, ctype, date, ereg, filter, ftp, hash, iconv, json, mcrypt, SPL, odbc, pcre, Reflection, session, standard, mysqlnd, tokenizer, zip, zlib, libxml, dom, PDO, bz2, SimpleXML, wddx, xml, xmlreader, xmlwriter, apache2handler, openssl, curl, mbstring, exif, fileinfo, gd, gettext, mysql, mysqli, Phar, pdo_mysql, pdo_sqlite, soap, sockets, sqlite3, xmlrpc, xsl, mhash
GD: Yes
ImageMagick: No
PHP max upload size: 16M
PHP max form post size: 16M
PHP memory limit: 128M
Total max uploadable file size: 16M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
MIBDIRS: C:/xampp/php/extras/mibs
MYSQL_HOME: \xampp\mysql\bin
OPENSSL_CONF: C:/xampp/apache/bin/openssl.cnf
PHP_PEAR_SYSCONF_DIR: \xampp\php
PHPRC: \xampp\php
TMP: \xampp\tmp
HTTP_HOST: perch.local
HTTP_CONNECTION: keep-alive
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.65 Safari/537.36
HTTP_REFERER: https://perch.local/admin/core/settings/diagnostics/
HTTP_ACCEPT_ENCODING: gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8,fr;q=0.6
HTTP_COOKIE: no_mobile=0; PHPSESSID=62i6p56qsvqd06qej8ul4qh8h1; cmsa=1
PATH: C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\nodejs\;
SystemRoot: C:\Windows
COMSPEC: C:\Windows\system32\cmd.exe
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR: C:\Windows
SERVER_SIGNATURE: <address>Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15 Server at perch.local Port 80</address>
SERVER_SOFTWARE: Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15
SERVER_NAME: perch.local
SERVER_ADDR: 127.0.0.1
SERVER_PORT: 80
REMOTE_ADDR: 127.0.0.1
DOCUMENT_ROOT: C:/xampp/htdocs/salonsaver
REQUEST_SCHEME: http
CONTEXT_DOCUMENT_ROOT: C:/xampp/htdocs/salonsaver
SERVER_ADMIN: postmaster@localhost
SCRIPT_FILENAME: C:/xampp/htdocs/salonsaver/admin/core/settings/diagnostics/index.php
REMOTE_PORT: 50391
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: extended
REQUEST_URI: /admin/core/settings/diagnostics/?extended
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
PHP_SELF: /admin/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1432388686.114
REQUEST_TIME: 1432388686
Drew McLellan

Drew McLellan 2638 points
Perch Support

It does seem to fail. We'll take a look at it.