Forum

Thread tagged as: Problem, Error

Wrong paths

Hi

I successfully set up a small website as a kind of training ground for myself where I could try all the perch apps etc. Yesterday I accidentally deleted the Perch folder via FTP!! horror!

I've reinstalled perch and added the content to my page but now when I view a page via the admin I get this: https://www.sts-webdesign.co.uk/perch/core/apps/content/page/www.sts-webdesign.co.uk/demo/about_us.php instead of www.sts-webdesign.co.uk/demo/about_us.php?

Many thanks for your help... feeling really stupid!

Suzanne Szenher

Suzanne Szenher 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show us your diagnostics report?

Here it is...thanks

PERCH INFORMATION

Perch: 2.6.6
Production mode: Production (100)
Installed apps: content (2.6.6), assets (2.6.6), categories (2.6.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_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: 1
App runtimes:
<?php
    $apps_list = array(
        'content', 
        'categories',
    );
Editor plug-ins: markitup
H1: 01df9254a172537385ff71fc87038e7b
L1: 0e55068973ab5a4583c0468b86f5fed1
headerColour: #0677bd
content_singlePageEdit: 1
helpURL:
hideBranding: 1
content_collapseList: 1
lang: en-gb
update_2.6.6: done
latest_version: 2.5.3
on_sale_version: 2.6.6
headerScheme: dark
dashboard: 1
hide_pwd_reset: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
siteURL: www.sts-webdesign.co.uk
logoPath: /perch/resources/1412678003_sts-cms-login-logo.png
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: cl52-stsdesign
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: cl52-stsdesign
PERCH_DB_PREFIX: perch2_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: sueszenher@aol.com
PERCH_EMAIL_FROM_NAME: Suzanne Szenher
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/sites/sts-webdesign.co.uk/public_html/perch
PERCH_CORE: /home/sites/sts-webdesign.co.uk/public_html/perch/core
PERCH_RESFILEPATH: /home/sites/sts-webdesign.co.uk/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_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/sites/sts-webdesign.co.uk/public_html/perch/templates
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_RWD:
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
HOSTING SETTINGS

PHP: 5.3.28
Zend: 2.3.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.8-dev - 20102224 - $Id: 731e5b87ba42146a687c29995d2dfd8b4e40b325 $
MySQL server: 5.5.33
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, session, standard, mysqlnd, pcntl, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, Reflection, mysql, shmop, SimpleXML, sockets, exif, tokenizer, xml, cgi-fcgi, bcmath, curl, dom, fileinfo, gd, imap, intl, json, ldap, mbstring, mcrypt, mssql, OAuth, odbc, pdo_dblib, PDO_ODBC, pdo_pgsql, pgsql, posix, soap, SQLite, sysvmsg, sysvsem, sysvshm, wddx, xmlreader, xmlrpc, xmlwriter, xsl, zip, ionCube Loader, Zend Guard Loader
GD: Yes
ImageMagick: No
PHP max upload size: 64M
PHP max form post size: 64M
PHP memory limit: 128M
Total max uploadable file size: 64M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: No
PATH: /usr/local/bin:/usr/bin:/bin
UNIQUE_ID: VDP8RH8AAAEAAEqZw8MAAAAC
SCRIPT_URL: /perch/core/settings/diagnostics/
SCRIPT_URI: https://www.sts-webdesign.co.uk/perch/core/settings/diagnostics/
HTTP_HOST: www.sts-webdesign.co.uk
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_COOKIE: cmsa=1; PHPSESSID=5jtqfeka2bm5i1k0bg3i7g4qi3
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/7.0.4 Safari/537.76.4
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_REFERER: https://www.sts-webdesign.co.uk/perch/core/settings/diagnostics/
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_CONNECTION: close
SERVER_SIGNATURE: <address>Apache/2.4.9 (Unix) Server at www.sts-webdesign.co.uk Port 80</address>
SERVER_SOFTWARE: Apache/2.4.9 (Unix)
SERVER_NAME: www.sts-webdesign.co.uk
SERVER_ADDR: 10.0.187.68
SERVER_PORT: 80
REMOTE_ADDR: 151.249.68.166
DOCUMENT_ROOT: /home/sites/sts-webdesign.co.uk/public_html
REQUEST_SCHEME: http
CONTEXT_DOCUMENT_ROOT: /home/sites/sts-webdesign.co.uk/public_html
SERVER_ADMIN: root@localhost
SCRIPT_FILENAME: /home/sites/sts-webdesign.co.uk/public_html/perch/core/settings/diagnostics/index.php
REMOTE_PORT: 42769
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: 1412693060
Drew McLellan

Drew McLellan 2638 points
Perch Support

On the Settings page, change your Site URL from

www.sts-webdesign.co.uk

to

https://www.sts-webdesign.co.uk

Many thanks again.