Forum
Password Reminder Email Timeout
I've trying to get email password reminders sent out using Fasthosts servers , but using the test email factility in Perch admin, the request times out. I've edited the PerchEmail.class.php file to add in the server details, and am using a working email address with the correct password. Not sure where to go from here. My diagnostics look like this:
Perch: 3.0.14
Production mode: Production (100)
Installed apps: content (3.0.14), assets (3.0.14), categories (3.0.14), perch_blog (5.6.1)
DB driver: PDO
DB tables: perch3_blog_authors (5), perch3_blog_comments (0), perch3_blog_index (1165), perch3_blog_posts (16), perch3_blog_posts_to_tags (22), perch3_blog_sections (1), perch3_blog_tags (20), perch3_blogs (1), perch3_categories (4), perch3_category_counts (4), perch3_category_sets (1), perch3_content_index (1894), perch3_content_items (425), perch3_content_regions (33), perch3_menu_items (9), perch3_navigation (0), perch3_navigation_pages (0), perch3_page_templates (1), perch3_pages (9), perch3_resource_log (472), perch3_resource_tags (47), perch3_resources (173), perch3_resources_to_tags (112), perch3_settings (31), perch3_user_passwords (0), perch3_user_privileges (36), perch3_user_role_privileges (13), perch3_user_roles (3), perch3_users (4)
Users: 4
App runtimes:
<?php
$apps_list = [
'perch_blog'
];
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins), publish_posts (1 mins), process_webmentions (1 mins)
Editor plug-ins: ckeditor
H1: ceca180a4c1d1af5a341eba838cdaa0d
L1: bfc297f67a9d1df958b1b22ff3c8606d
F1: 9fab42554990d2c203d599a6437edd2a
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
installedAt: 3.0.8
update_3.0.8: done
latest_version:
on_sale_version:
perch_blog_update: 5.6
perch_blog_post_url: /blog/post.php?s={postSlug}
update_3.0.14: done
headerScheme: light
dashboard: 0
sidebar_back_link: 1
hide_pwd_reset: 0
keyboardShortcuts: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
content_skip_region_list: 0
assets_restrict_buckets: 0
logoPath: /perch/resources/physiokinetic-logo.jpg
perch_blog_site_name:
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 1
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: jtarbuck
PERCH_DB_SERVER: 213.171.200.84
PERCH_DB_DATABASE: physiokinetic2018
PERCH_DB_PREFIX: perch3_
PERCH_TZ: Europe/London
PERCH_EMAIL_FROM: web@physiokinetic.co.uk
PERCH_EMAIL_FROM_NAME: Physiokinetic
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/hp3-linc7-nfs1-x/804/1864804/user/htdocs/perch
PERCH_CORE: /home/hp3-linc7-nfs1-x/804/1864804/user/htdocs/perch/core
PERCH_RESFILEPATH: /home/hp3-linc7-nfs1-x/804/1864804/user/htdocs/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: f704e7442d11292c99b5
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/hp3-linc7-nfs1-x/804/1864804/user/htdocs/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.27
Zend: 3.0.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: 5.5.56-MariaDB
MySQL server: 5.6.40-log
Free disk space: 315.80 GB
Extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, fileinfo, filter, ftp, gettext, gmp, SPL, iconv, intl, pcntl, session, standard, posix, readline, Reflection, Phar, shmop, SimpleXML, sockets, mbstring, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, cgi-fcgi, bcmath, dba, dom, gd, imap, json, ldap, exif, mcrypt, memcached, mysqli, odbc, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, pspell, snmp, soap, tidy, xmlreader, xmlrpc, xmlwriter, xsl, zip
GD: Yes
ImageMagick: No
PHP max upload size: 20M
PHP max form post size: 20M
PHP memory limit: 128M
Total max uploadable file size: 20M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
PWD: /var/www/fcgi
PHP_FCGI_MAX_REQUESTS: 100
ORIG_SCRIPT_NAME: /fcgi-bin/php70-cgi
ORIG_PATH_TRANSLATED: /home/hp3-linc7-nfs1-x/804/1864804/user/htdocs/perch/core/settings/diagnostics/index.php
ORIG_PATH_INFO: /perch/core/settings/diagnostics/index.php
ORIG_SCRIPT_FILENAME: /var/www/fcgi/php70-cgi
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/?extended
QUERY_STRING: extended
REQUEST_METHOD: GET
SERVER_PROTOCOL: HTTP/1.0
GATEWAY_INTERFACE: CGI/1.1
REDIRECT_URL: /perch/core/settings/diagnostics/index.php
REDIRECT_QUERY_STRING: extended
REMOTE_PORT: 44034
SCRIPT_FILENAME: /home/hp3-linc7-nfs1-x/804/1864804/user/htdocs/perch/core/settings/diagnostics/index.php
SERVER_ADMIN: admin@physiokinetic.co.uk
CONTEXT_DOCUMENT_ROOT: /var/www/fcgi/
CONTEXT_PREFIX: /fcgi-bin/
REQUEST_SCHEME: https
DOCUMENT_ROOT: /home/hp3-linc7-nfs1-x/804/1864804/user/htdocs
REMOTE_ADDR: 81.138.153.30
SERVER_PORT: 443
SERVER_ADDR: 10.10.110.86
SERVER_NAME: www.physiokinetic.co.uk
SERVER_SOFTWARE: Apache
HTTP_COOKIE: PHPSESSID=t1uik8d1a6dq4c4jiq9crajoa0; cmsa=1; __utmz=185434856.1524570921.2.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); __utma=185434856.1212843037.1524568842.1524570921.1524642954.3; _gid=GA1.3.2126054023.1525076071; _ga=GA1.3.1212843037.1524568842
HTTP_ACCEPT_ENCODING: gzip, deflate, br
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299
HTTP_ACCEPT_LANGUAGE: en-GB
HTTP_REFERER: https://www.physiokinetic.co.uk/perch/core/settings/diagnostics/
HTTP_ACCEPT: text/html, application/xhtml+xml, image/jxr, */*
HTTP_CONNECTION: close
HTTP_X_URL_SCHEME: https
HTTP_X_FORWARDED_PROTO: https
HTTP_X_REAL_IP: 81.138.153.30
HTTP_X_FORWARDED_HOST: www.physiokinetic.co.uk
HTTP_HOST: www.physiokinetic.co.uk
SSL_SESSION_RESUMED: Resumed
SSL_SESSION_ID: d1dd4a52c541c67f8d5e4e10dd05ab75c6735186c8caa99ebf8c6438deae7d34
SSL_SERVER_A_SIG: sha1WithRSAEncryption
SSL_SERVER_A_KEY: rsaEncryption
SSL_SERVER_I_DN: CN=clusteredwebhosting.hostingp3.local,L=Gloucester,ST=Gloucestershire,OU=NOC,O=Fasthosts Internet Limited,C=GB
SSL_SERVER_S_DN: CN=clusteredwebhosting.hostingp3.local,L=Gloucester,ST=Gloucestershire,OU=NOC,O=Fasthosts Internet Limited,C=GB
SSL_SERVER_V_END: Jun 13 09:57:55 2018 GMT
SSL_SERVER_V_START: Aug 24 09:57:55 2015 GMT
SSL_SERVER_M_SERIAL: 82B49DAED9E06E64
SSL_SERVER_M_VERSION: 1
SSL_CLIENT_VERIFY: NONE
SSL_CIPHER_ALGKEYSIZE: 256
SSL_CIPHER_USEKEYSIZE: 256
SSL_CIPHER_EXPORT: false
SSL_CIPHER: ECDHE-RSA-AES256-GCM-SHA384
SSL_COMPRESS_METHOD: NULL
SSL_SECURE_RENEG: true
SSL_PROTOCOL: TLSv1.2
SSL_VERSION_LIBRARY: OpenSSL/1.0.2k-fips
SSL_VERSION_INTERFACE: mod_ssl/2.4.6
SSL_SERVER_I_DN_CN: clusteredwebhosting.hostingp3.local
SSL_SERVER_I_DN_L: Gloucester
SSL_SERVER_I_DN_ST: Gloucestershire
SSL_SERVER_I_DN_OU: NOC
SSL_SERVER_I_DN_O: Fasthosts Internet Limited
SSL_SERVER_I_DN_C: GB
SSL_SERVER_S_DN_CN: clusteredwebhosting.hostingp3.local
SSL_SERVER_S_DN_L: Gloucester
SSL_SERVER_S_DN_ST: Gloucestershire
SSL_SERVER_S_DN_OU: NOC
SSL_SERVER_S_DN_O: Fasthosts Internet Limited
SSL_SERVER_S_DN_C: GB
HTTPS: on
UNIQUE_ID: WucCA6xf7sjDUyoetr7kawAAABI
REDIRECT_STATUS: 200
REDIRECT_HANDLER: application/x-httpd-php70
REDIRECT_SSL_SESSION_RESUMED: Resumed
REDIRECT_SSL_SESSION_ID: d1dd4a52c541c67f8d5e4e10dd05ab75c6735186c8caa99ebf8c6438deae7d34
REDIRECT_SSL_SERVER_A_SIG: sha1WithRSAEncryption
REDIRECT_SSL_SERVER_A_KEY: rsaEncryption
REDIRECT_SSL_SERVER_I_DN: CN=clusteredwebhosting.hostingp3.local,L=Gloucester,ST=Gloucestershire,OU=NOC,O=Fasthosts Internet Limited,C=GB
REDIRECT_SSL_SERVER_S_DN: CN=clusteredwebhosting.hostingp3.local,L=Gloucester,ST=Gloucestershire,OU=NOC,O=Fasthosts Internet Limited,C=GB
REDIRECT_SSL_SERVER_V_END: Jun 13 09:57:55 2018 GMT
REDIRECT_SSL_SERVER_V_START: Aug 24 09:57:55 2015 GMT
REDIRECT_SSL_SERVER_M_SERIAL: 82B49DAED9E06E64
REDIRECT_SSL_SERVER_M_VERSION: 1
REDIRECT_SSL_CLIENT_VERIFY: NONE
REDIRECT_SSL_CIPHER_ALGKEYSIZE: 256
REDIRECT_SSL_CIPHER_USEKEYSIZE: 256
REDIRECT_SSL_CIPHER_EXPORT: false
REDIRECT_SSL_CIPHER: ECDHE-RSA-AES256-GCM-SHA384
REDIRECT_SSL_COMPRESS_METHOD: NULL
REDIRECT_SSL_SECURE_RENEG: true
REDIRECT_SSL_PROTOCOL: TLSv1.2
REDIRECT_SSL_VERSION_LIBRARY: OpenSSL/1.0.2k-fips
REDIRECT_SSL_VERSION_INTERFACE: mod_ssl/2.4.6
REDIRECT_SSL_SERVER_I_DN_CN: clusteredwebhosting.hostingp3.local
REDIRECT_SSL_SERVER_I_DN_L: Gloucester
REDIRECT_SSL_SERVER_I_DN_ST: Gloucestershire
REDIRECT_SSL_SERVER_I_DN_OU: NOC
REDIRECT_SSL_SERVER_I_DN_O: Fasthosts Internet Limited
REDIRECT_SSL_SERVER_I_DN_C: GB
REDIRECT_SSL_SERVER_S_DN_CN: clusteredwebhosting.hostingp3.local
REDIRECT_SSL_SERVER_S_DN_L: Gloucester
REDIRECT_SSL_SERVER_S_DN_ST: Gloucestershire
REDIRECT_SSL_SERVER_S_DN_OU: NOC
REDIRECT_SSL_SERVER_S_DN_O: Fasthosts Internet Limited
REDIRECT_SSL_SERVER_S_DN_C: GB
REDIRECT_HTTPS: on
REDIRECT_UNIQUE_ID: WucCA6xf7sjDUyoetr7kawAAABI
FCGI_ROLE: RESPONDER
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1525088772.821
REQUEST_TIME: 1525088772
You shouldn't edit anything in the
perch/core
folder. I'd recommend updating to the current version and reverting your changes in the process.If you want to use a custom email configuration, you can do that in your config file.
https://docs.grabaperch.com/perch/configuration/email/
OK, have updated the config file with those settings and it still doesn't work. I get an error 504 gateway timeout.
From your site or the email server?