Forum
Shop Cart not working
Hi,
There seems to be an error with my shopping cart as the rest of the page doesn't load when it gets to the cart. There's nothing in my error log and the rest seems to be working great. Any ideas?
Diagnostics:
Perch: 3.1.1
Production mode: Production (100)
Installed apps: content (3.1.1), assets (3.1.1), categories (3.1.1), perch_blog (5.6.1), perch_shop_orders (1.2.6), perch_shop_products (1.2.6), perch_shop (1.2.6), perch_members (1.6.4)
DB driver: PDO
DB tables: perch3_blog_authors (1), perch3_blog_comments (0), perch3_blog_index (132), perch3_blog_posts (3), perch3_blog_posts_to_tags (0), perch3_blog_sections (1), perch3_blog_tags (0), perch3_blog_webmention_queue (0), perch3_blogs (1), perch3_categories (2), perch3_category_counts (0), perch3_category_sets (2), perch3_content_index (1979), perch3_content_items (117), perch3_content_regions (19), perch3_members (7), perch3_members_forms (2), perch3_members_member_tags (0), perch3_members_sessions (1), perch3_members_tags (2), perch3_menu_items (13), perch3_navigation (0), perch3_navigation_pages (0), perch3_page_templates (1), perch3_pages (15), perch3_resource_log (1140), perch3_resource_tags (0), perch3_resources (490), perch3_resources_to_tags (0), perch3_settings (42), perch3_shop_addresses (74), perch3_shop_admin_index (122), perch3_shop_brands (1), perch3_shop_cart (3), perch3_shop_cart_data (98), perch3_shop_cart_items (40), perch3_shop_countries (250), perch3_shop_currencies (152), perch3_shop_customers (10), perch3_shop_emails (4), perch3_shop_index (1080), perch3_shop_option_values (0), perch3_shop_options (0), perch3_shop_order_items (32), perch3_shop_order_promotions (1), perch3_shop_order_statuses (9), perch3_shop_orders (16), perch3_shop_orders_meta (1), perch3_shop_product_files (0), perch3_shop_product_option_values (0), perch3_shop_product_options (0), perch3_shop_product_tags (0), perch3_shop_products (18), perch3_shop_promotions (1), perch3_shop_sales (0), perch3_shop_search (18), perch3_shop_shipping_zone_countries (1), perch3_shop_shipping_zones (1), perch3_shop_shippings (4), perch3_shop_tax_exhibits (31), perch3_shop_tax_group_rates (1), perch3_shop_tax_groups (1), perch3_shop_tax_locations (1), perch3_shop_tax_rates (1), perch3_shop_variants (0), perch3_user_passwords (1), perch3_user_privileges (76), perch3_user_role_privileges (2), perch3_user_roles (2), perch3_users (1)
Users: 1
App runtimes:
<?php
$apps_list = [
'perch_blog',
'perch_members',
'perch_shop',
];
Scheduled tasks for perch_blog: delete_spam_comments (1440 mins), publish_posts (1 mins), process_webmentions (1 mins)
Editor plug-ins:
H1: db33dca29a7603f9def607b3b42078f8
L1: 89628fba18b92a489a843f44574a757b
F1: 3b606135b33e6a102526838f4152a807
headerColour: #ffffff
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
installedAt: 3.0.12
update_3.0.12: done
latest_version:
on_sale_version:
perch_shop_update: 1.2.6
headerScheme: light
perch_shop_price_tax_mode: inc
perch_shop_product_url: product/{slug}
perch_shop_default_currency: 47
perch_shop_reporting_currency: 47
perch_shop_invoice_number_format: Invoice%d
perch_members_login_page: login.php?r={returnURL}
perch_blog_site_name:
perch_blog_post_url: post.php?s={postSlug}
perch_blog_slug_format: %Y-%m-%d-{postTitle}
perch_blog_akismet_key:
perch_blog_max_spam_days: 0
dashboard: 1
sidebar_back_link: 0
hide_pwd_reset: 0
keyboardShortcuts: 0
content_hideNonEditableRegions: 0
content_frontend_edit: 0
content_skip_region_list: 0
assets_restrict_buckets: 0
perch_blog_comment_notify: 0
perch_blog_webmention_tx: 0
perch_blog_webmention_rx: 0
perch_blog_update: 5.6
perch_members_update: 1.4
logoPath: /files/logo2x.png
perch_shop_site_url: https://www.designeroutdoorlighting.co.uk
update_3.0.14: done
update_3.1.1: done
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_DB_USERNAME: designerlighting
PERCH_DB_SERVER: 213.171.200.97
PERCH_DB_DATABASE: outdoorlighting
PERCH_DB_PREFIX: perch3_
PERCH_TZ: UTC
PERCH_EMAIL_FROM: sales@designeroutdoorlighting.co.uk
PERCH_EMAIL_FROM_NAME: Designer Outdoor Lighting
PERCH_LOGINPATH: /admin
PERCH_PATH: /home/hp3-linc4-nfs1-w/935/1669935/user/htdocs/admin
PERCH_CORE: /home/hp3-linc4-nfs1-w/935/1669935/user/htdocs/admin/core
PERCH_RESFILEPATH: /home/hp3-linc4-nfs1-w/935/1669935/user/htdocs/files
PERCH_RESPATH: /files
PERCH_HTML5: 1
PERCH_EMAIL_METHOD: mail
PERCH_DEBUG: 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: 8255e4c4a367cfa3e2bd
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /home/hp3-linc4-nfs1-w/935/1669935/user/htdocs/admin/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_SHOP_VERSION: 1.2.6
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown
Hosting settings
PHP: 7.0.32
Zend: 3.0.0
OS: Linux
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: 5.5.60-MariaDB
MySQL server: 5.6.42-log
Free disk space: 83.88 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, ionCube Loader, Zend OPcache
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-linc4-nfs1-w/935/1669935/user/htdocs/admin/core/settings/diagnostics/index.php
ORIG_PATH_INFO: /admin/core/settings/diagnostics/index.php
ORIG_SCRIPT_FILENAME: /var/www/fcgi/php70-cgi
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
REQUEST_URI: /admin/core/settings/diagnostics/?extended
QUERY_STRING: extended
REQUEST_METHOD: GET
SERVER_PROTOCOL: HTTP/1.0
GATEWAY_INTERFACE: CGI/1.1
REDIRECT_URL: /admin/core/settings/diagnostics/index.php
REDIRECT_QUERY_STRING: extended
REMOTE_PORT: 37981
SCRIPT_FILENAME: /home/hp3-linc4-nfs1-w/935/1669935/user/htdocs/admin/core/settings/diagnostics/index.php
SERVER_ADMIN: admin@designeroutdoorlighting.co.uk
CONTEXT_DOCUMENT_ROOT: /var/www/fcgi/
CONTEXT_PREFIX: /fcgi-bin/
REQUEST_SCHEME: https
DOCUMENT_ROOT: /home/hp3-linc4-nfs1-w/935/1669935/user/htdocs
REMOTE_ADDR: 91.103.188.194
SERVER_PORT: 443
SERVER_ADDR: 10.10.110.3
SERVER_NAME: www.designeroutdoorlighting.co.uk
SERVER_SOFTWARE: Apache
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_COOKIE: _ga=GA1.3.750309332.1536666542; cookieconsent_status=allow; cmsa=1; PHPSESSID=s3s32m6sh4ij706mpi8hr9deb6; _gid=GA1.3.824626820.1540810278
HTTP_REFERER: https://www.designeroutdoorlighting.co.uk/admin/core/settings/diagnostics/
HTTP_ACCEPT_ENCODING: gzip, deflate, br
HTTP_ACCEPT_LANGUAGE: en-GB,en;q=0.5
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
HTTP_CONNECTION: close
HTTP_X_URL_SCHEME: https
HTTP_X_FORWARDED_PROTO: https
HTTP_X_REAL_IP: 91.103.188.194
HTTP_X_FORWARDED_HOST: www.designeroutdoorlighting.co.uk
HTTP_HOST: www.designeroutdoorlighting.co.uk
SSL_SESSION_RESUMED: Resumed
SSL_SESSION_ID: 0b36db6dd4151275386c81593416b5433766c96918004df7f225232cb2feb24a
SSL_SERVER_A_SIG: sha256WithRSAEncryption
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: Aug 8 15:17:29 2019 GMT
SSL_SERVER_V_START: Aug 8 15:17:29 2018 GMT
SSL_SERVER_M_SERIAL: E5E20F616EFF285D
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: W9gqIwmVjsbqP4JqnYHrdQAAAAE
REDIRECT_STATUS: 200
REDIRECT_HANDLER: application/x-httpd-php70
REDIRECT_SSL_SESSION_RESUMED: Resumed
REDIRECT_SSL_SESSION_ID: 0b36db6dd4151275386c81593416b5433766c96918004df7f225232cb2feb24a
REDIRECT_SSL_SERVER_A_SIG: sha256WithRSAEncryption
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: Aug 8 15:17:29 2019 GMT
REDIRECT_SSL_SERVER_V_START: Aug 8 15:17:29 2018 GMT
REDIRECT_SSL_SERVER_M_SERIAL: E5E20F616EFF285D
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: W9gqIwmVjsbqP4JqnYHrdQAAAAE
FCGI_ROLE: RESPONDER
PHP_SELF: /admin/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1540893219.4396
REQUEST_TIME: 1540893219
Can I please have a reply? My shop is down and I'm losing business
Hello Jade,
Can you share your code for the cart page? It seems to be working ok for me.
mini-cart.html
cart.html
cart.php
Hi Jade
Can you add anymore information so that the community can help out if they can?
I had a quick look and I can add products to the cart easily enough. The whole page loads (wouldn't recommend having debug turned on your live server though). Your site seems very slow though but that might be me.
Kind regards
Jon
Sorry everyone, it seemed to be down yesterday and is now back up and running? I don't seem to know what happened!