Forum

Thread tagged as: Problem

Form email weirdness after uploading to live server

OK, so my form emails were all working nicely before I uploaded the site to a live server. If I complete the form, the responses are stored in the CMS, but while the email to the owner is sent, the autoresponder isn't. If go to the form settings, the dropdown box for the email address field under Sending Emai is empty, whereas on the test server it lists all fields.

This is the diagnostics report for the live server:


Perch: 2.8.32 Production mode: Production (100) Installed apps: content (2.8.32), assets (2.8.32), categories (2.8.32), perch_forms (1.8.3), perch_shop_orders (1.0.9), perch_shop_products (PERCH_SHOP_VERSION), perch_shop (1.0.9), perch_members (1.5) DB driver: PDO DB tables: perch2_categories (3), perch2_category_counts (0), perch2_category_sets (1), perch2_content_index (0), perch2_content_items (11), perch2_content_regions (1), perch2_forms (4), perch2_forms_responses (0), perch2_members (2), perch2_members_forms (0), perch2_members_member_tags (0), perch2_members_sessions (3), perch2_members_tags (0), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (0), perch2_pages (1), perch2_resource_log (45), perch2_resource_tags (0), perch2_resources (12), perch2_resources_to_tags (0), perch2_settings (25), perch2_shop_addresses (10), perch2_shop_admin_index (30), perch2_shop_brands (1), perch2_shop_cart (14), perch2_shop_cart_data (92), perch2_shop_cart_items (15), perch2_shop_countries (250), perch2_shop_currencies (152), perch2_shop_customers (4), perch2_shop_emails (2), perch2_shop_index (606), perch2_shop_option_values (0), perch2_shop_options (0), perch2_shop_order_items (174), perch2_shop_order_promotions (0), perch2_shop_order_statuses (9), perch2_shop_orders (83), perch2_shop_orders_meta (1), perch2_shop_product_files (0), perch2_shop_product_option_values (0), perch2_shop_product_options (0), perch2_shop_product_tags (0), perch2_shop_products (8), perch2_shop_promotions (0), perch2_shop_search (8), perch2_shop_shipping_zone_countries (4), perch2_shop_shipping_zones (1), perch2_shop_shippings (1), perch2_shop_tax_exhibits (110), perch2_shop_tax_group_rates (1), perch2_shop_tax_groups (1), perch2_shop_tax_locations (1), perch2_shop_tax_rates (0), perch2_shop_variants (0), perch2_user_passwords (0), perch2_user_privileges (69), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (1) Users: 1 App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_forms', 'perch_members', 'perch_shop', ); Editor plug-ins: markitup, ckeditor, redactor H1: 56f154827075af77ca2eb679829d679a L1: 631c421152c1f13dd7654cb910052040 F1: 2edba60ed1f613d6dd804feb202456a2 headerColour: #ffffff content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 0 content_collapseList: 1 lang: en-gb update_2.8.31: done latest_version: 2.8.15 on_sale_version: 2.8.32 perch_members_update: 1.4 update_2.8.32: done perch_shop_update: 1.0.9 headerScheme: light perch_members_login_page: /members/ perch_shop_price_tax_mode: inc perch_shop_site_url: perch_shop_product_url: /shop/{slug} perch_shop_default_currency: 47 perch_shop_reporting_currency: 47 perch_shop_invoice_number_format: SGS#%d dashboard: 0 hide_pwd_reset: 0 content_hideNonEditableRegions: 0 content_frontend_edit: 0 PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: website_admin PERCH_DB_SERVER: localhost PERCH_DB_DATABASE: website_sgs PERCH_DB_PREFIX: perch2_ PERCH_TZ: Europe/London PERCH_EMAIL_FROM: email@website.co.uk PERCH_EMAIL_FROM_NAME: Lisa Morena PERCH_LOGINPATH: /my_cms PERCH_PATH: /home/test/public_html/website.co.uk/sgs/my_cms PERCH_CORE: /home/test/public_html/website.co.uk/sgs/my_cms/core PERCH_RESFILEPATH: /home/test/public_html/website.co.uk/sgs/my_cms/resources PERCH_RESPATH: /my_cms/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_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /home/test/public_html/website.co.uk/sgs/my_cms/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_SHOP_VERSION: 1.0.9 PERCH_APPS_EDITOR_PLUGIN: markitup PERCH_APPS_EDITOR_MARKUP_LANGUAGE: textile Hosting settings PHP: 5.6.26 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.6.33 Free disk space: 1.09 TB Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, enchant, hash, filter, ftp, gd, gettext, SPL, iconv, session, intl, json, mbstring, mcrypt, standard, mysqlnd, mysqli, mysql, Phar, posix, pspell, Reflection, imap, SimpleXML, soap, sockets, exif, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, cgi-fcgi, PDO, pdo_sqlite, pdo_mysql, imagick, timezonedb, uploadprogress, SourceGuardian, ionCube Loader, Zend Guard Loader GD: Yes ImageMagick: Yes PHP max upload size: 105M PHP max form post size: 105M PHP memory limit: 128M Total max uploadable file size: 105M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: Yes CONTEXT_DOCUMENT_ROOT: /home/test/public_html/website.co.uk/sgs DOCUMENT_ROOT: /home/test/public_html/website.co.uk/sgs GATEWAY_INTERFACE: CGI/1.1 HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_ENCODING: gzip, deflate HTTP_ACCEPT_LANGUAGE: en-GB,en;q=0.5 HTTP_CONNECTION: keep-alive HTTP_COOKIE: PHPSESSID=016af326c0a8eedd2411df8ec61252c9; cmsa=1 HTTP_HOST: sgs.websitet.co.uk HTTP_REFERER: https://sgs.website.co.uk/my_cms/core/settings/diagnostics/ HTTP_UPGRADE_INSECURE_REQUESTS: 1 HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 PATH: /bin:/usr/bin QUERY_STRING: extended REDIRECT_STATUS: 200 REMOTE_ADDR: 92.16.62.51 REMOTE_PORT: 53276 REQUEST_METHOD: GET REQUEST_SCHEME: http REQUEST_URI: /my_cms/core/settings/diagnostics/?extended SCRIPT_FILENAME: /home/test/public_html/website.co.uk/sgs/my_cms/core/settings/diagnostics/index.php SCRIPT_NAME: /my_cms/core/settings/diagnostics/index.php SERVER_ADDR: 77.92.80.192 SERVER_ADMIN: webmaster@sgs.website.co.uk SERVER_NAME: sgs.website.co.uk SERVER_PORT: 80 SERVER_PROTOCOL: HTTP/1.1 SERVER_SOFTWARE: Apache UNIQUE_ID: WAig@01cUK4AACHILhkAAAAf PHP_SELF: /my_cms/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1476960507.72 REQUEST_TIME: 1476960507 argc: 1

Why is that select box empty when it works just fine on the test server and I simply copied the database?

Lisa Morena

Lisa Morena 1 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Are both sites on the same platform?

Here is the diagnostics for my WAMP server - all workign fine here

Perch: 2.8.32
    Production mode: Production (100)
    Installed apps: content (2.8.32), assets (2.8.32), categories (2.8.32), perch_forms (1.8.3), perch_shop_orders (1.0.9), perch_shop_products (1.0.9), perch_shop (1.0.9), perch_members (1.5)
    DB driver: PDO
    DB tables: perch2_categories (3), perch2_category_counts (0), perch2_category_sets (1), perch2_content_index (0), perch2_content_items (11), perch2_content_regions (1), perch2_forms (4), perch2_forms_responses (1), perch2_members (3), perch2_members_forms (0), perch2_members_member_tags (0), perch2_members_sessions (4), perch2_members_tags (0), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (0), perch2_pages (1), perch2_resource_log (45), perch2_resource_tags (0), perch2_resources (12), perch2_resources_to_tags (0), perch2_settings (25), perch2_shop_addresses (5), perch2_shop_admin_index (30), perch2_shop_brands (1), perch2_shop_cart (12), perch2_shop_cart_data (88), perch2_shop_cart_items (13), perch2_shop_countries (250), perch2_shop_currencies (152), perch2_shop_customers (3), perch2_shop_emails (3), perch2_shop_index (606), perch2_shop_option_values (0), perch2_shop_options (0), perch2_shop_order_items (166), perch2_shop_order_promotions (0), perch2_shop_order_statuses (9), perch2_shop_orders (79), perch2_shop_orders_meta (1), perch2_shop_product_files (0), perch2_shop_product_option_values (0), perch2_shop_product_options (0), perch2_shop_product_tags (0), perch2_shop_products (8), perch2_shop_promotions (0), perch2_shop_search (8), perch2_shop_shipping_zone_countries (4), perch2_shop_shipping_zones (1), perch2_shop_shippings (1), perch2_shop_tax_exhibits (100), perch2_shop_tax_group_rates (1), perch2_shop_tax_groups (1), perch2_shop_tax_locations (1), perch2_shop_tax_rates (0), perch2_shop_variants (0), perch2_user_passwords (0), perch2_user_privileges (69), perch2_user_role_privileges (16), perch2_user_roles (2), perch2_users (1)
    Users: 1
    App runtimes:

    <?php
        $apps_list = array(
            'content', 
            'categories',
            'perch_forms',
    'perch_members',
    'perch_shop',
        );

    Editor plug-ins: ckeditor, markitup, redactor
    H1: 5238654cba3af19af8b40d479727ac50
    L1: 631c421152c1f13dd7654cb910052040
    F1: 2edba60ed1f613d6dd804feb202456a2
    headerColour: #ffffff
    content_singlePageEdit: 1
    helpURL:
    siteURL: /
    hideBranding: 0
    content_collapseList: 1
    lang: en-gb
    update_2.8.31: done
    latest_version: 2.8.15
    on_sale_version: 2.8.32
    perch_members_update: 1.4
    update_2.8.32: done
    perch_shop_update: 1.0.9
    headerScheme: light
    perch_members_login_page: /members/login.php?r={returnURL}
    perch_shop_price_tax_mode: inc
    perch_shop_site_url:
    perch_shop_product_url: /shop/{slug}
    perch_shop_default_currency: 47
    perch_shop_reporting_currency: 47
    perch_shop_invoice_number_format: Invoice%d
    dashboard: 0
    hide_pwd_reset: 0
    content_hideNonEditableRegions: 0
    content_frontend_edit: 0
    PERCH_DEVELOPMENT: 10
    PERCH_STAGING: 50
    PERCH_PRODUCTION: 100
    PERCH_DB_USERNAME: root
    PERCH_DB_SERVER: localhost
    PERCH_DB_DATABASE: website_cms
    PERCH_DB_PREFIX: perch2_
    PERCH_TZ: Europe/London
    PERCH_EMAIL_FROM: email@test.co.uk
    PERCH_EMAIL_FROM_NAME: Lisa Morena
    PERCH_LOGINPATH: /my_cms
    PERCH_PATH: C:\UniServerZ\www\sgs.localhost\my_cms
    PERCH_CORE: C:\UniServerZ\www\sgs.localhost\my_cms\core
    PERCH_RESFILEPATH: C:\UniServerZ\www\sgs.localhost\my_cms\resources
    PERCH_RESPATH: /my_cms/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_DEBUG:
    PERCH_PREVIEW_ARG: preview
    PERCH_TEMPLATE_PATH: C:\UniServerZ\www\sgs.localhost\my_cms\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_SHOP_VERSION: 1.0.9
    PERCH_APPS_EDITOR_PLUGIN: markitup
    PERCH_APPS_EDITOR_MARKUP_LANGUAGE: textile

Hosting settings

    PHP: 5.6.19
    Zend: 2.6.0
    OS: WINNT
    SAPI: apache2handler
    Safe mode: not detected
    MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
    MySQL server: 5.6.28
    Free disk space: 455.47 GB
    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, openssl, SimpleXML, wddx, xml, xmlreader, xmlwriter, apache2handler, curl, fileinfo, gd, intl, mbstring, exif, mysql, mysqli, Phar, pdo_mysql, sockets, xmlrpc, com_dotnet, mhash
    GD: Yes
    ImageMagick: No
    PHP max upload size: 20M
    PHP max form post size: 25M
    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
    HTTP_HOST: sgs.localhost
    HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
    HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_LANGUAGE: en-GB,en;q=0.5
    HTTP_ACCEPT_ENCODING: gzip, deflate
    HTTP_REFERER: https://sgs.localhost/my_cms/core/settings/diagnostics/
    HTTP_COOKIE: cookieconsent_dismissed=yes; p_m=330bc8e1c64cfb595d357b8ab455d64a59a18845; cmsa=1; PHPSESSID=af3vv3purmo081q54vq30btar3
    HTTP_CONNECTION: keep-alive
    HTTP_UPGRADE_INSECURE_REQUESTS: 1
    PATH: C:\UniServerZ\core\apache2\bin;C:\UniServerZ\core\mysql\bin;C:\UniServerZ\core\php56;C:\UniServerZ\core\openssl;C:\UniServerZ\core\msmtp;C:\UniServerZ\utils;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\ZipGenius 6\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Windows Live\Shared
    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_SOFTWARE: Apache
    SERVER_NAME: sgs.localhost
    SERVER_ADDR: 127.0.0.1
    SERVER_PORT: 80
    REMOTE_ADDR: 127.0.0.1
    DOCUMENT_ROOT: C:/UniServerZ/www/sgs.localhost
    REQUEST_SCHEME: http
    CONTEXT_DOCUMENT_ROOT: C:/UniServerZ/www/sgs.localhost
    SERVER_ADMIN: email@test.co.uk
    SCRIPT_FILENAME: C:/UniServerZ/www/sgs.localhost/my_cms/core/settings/diagnostics/index.php
    REMOTE_PORT: 50064
    GATEWAY_INTERFACE: CGI/1.1
    SERVER_PROTOCOL: HTTP/1.1
    REQUEST_METHOD: GET
    QUERY_STRING: extended
    REQUEST_URI: /my_cms/core/settings/diagnostics/?extended
    SCRIPT_NAME: /my_cms/core/settings/diagnostics/index.php
    PHP_SELF: /my_cms/core/settings/diagnostics/index.php
    REQUEST_TIME_FLOAT: 1476903151.589
    REQUEST_TIME: 1476903151

Test server is on Windows, live is Linux not that that has ever caused an issue before

OK, so you got me thinking. Just deleted the forms and then started over as far as the CMS form settings are concerened as it's really no big deal to do