https - ssl - Error Undifined
Posted: Sat Jan 20, 2018 7:48 am
Hi Guys
Firstly sorry if not in the correct place for posting!
I am running 2.2.0.0 and until yesterday everything was working as it should.
My domain is www.stitchink.co.uk/store
I am trying to get all the site structure together before i upload all of my products, I decided to make changes to enable SEO URL's and followed the instructions to the letter. When this was working I added SEO URL's to all my categories and products and everything was looking good.
I then added code from google analytics and this was working ok tracking users online.
I then tried a test checkout to find that i could no longer do this and got an error message "Error Undefined" which i soon realised were something to do with my SSL. I contacted my service provider and they said all was good there end.
I have tried to re trace my steps and disabled SEO URL's. I can paste in the https:// on a product page and it will checkout however when i leave the page it then goes back to unsecured.
My code in the .htaccess is as follows
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
Order deny,allow
Deny from all
</FilesMatch>
# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /store/
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
My code in /config.php
<?php
// HTTPS
define('HTTP_SERVER', 'https://www.stitchink.co.uk/store/');
// HTTPS
define('HTTPS_SERVER', 'https://www.stitchink.co.uk/store/');
// DIR
define('DIR_APPLICATION', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/catalog/');
define('DIR_SYSTEM', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/');
define('DIR_IMAGE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/image/');
define('DIR_LANGUAGE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/catalog/language/');
define('DIR_TEMPLATE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/catalog/view/theme/');
define('DIR_CONFIG', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/config/');
define('DIR_CACHE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/cache/');
define('DIR_DOWNLOAD', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/download/');
define('DIR_LOGS', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/logs/');
define('DIR_MODIFICATION', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/modification/');
define('DIR_UPLOAD', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'stitchink_co_uk_');
define('DB_PASSWORD', 'xxxxxxxxxx');
define('DB_DATABASE', 'stitchink_co_uk_');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
My code in /admin/config.php
<?php
// HTTP
define('HTTP_SERVER', 'http://www.stitchink.co.uk/store/admin/');
define('HTTP_CATALOG', 'http://www.stitchink.co.uk/store/');
// HTTPS
define('HTTPS_SERVER', 'https://www.stitchink.co.uk/store/admin/');
define('HTTPS_CATALOG', 'https://www.stitchink.co.uk/store/');
// DIR
define('DIR_APPLICATION', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/admin/');
define('DIR_SYSTEM', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/');
define('DIR_IMAGE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/image/');
define('DIR_LANGUAGE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/admin/language/');
define('DIR_TEMPLATE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/admin/view/template/');
define('DIR_CONFIG', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/config/');
define('DIR_CACHE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/cache/');
define('DIR_DOWNLOAD', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/download/');
define('DIR_LOGS', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/logs/');
define('DIR_MODIFICATION', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/modification/');
define('DIR_UPLOAD', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/upload/');
define('DIR_CATALOG', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/catalog/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'stitchink_co_uk_');
define('DB_PASSWORD', 'xxxxxxxxxx');
define('DB_DATABASE', 'stitchink_co_uk_');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
I assume its something very simple that i just cant see,
Thanks in advance
Firstly sorry if not in the correct place for posting!
I am running 2.2.0.0 and until yesterday everything was working as it should.
My domain is www.stitchink.co.uk/store
I am trying to get all the site structure together before i upload all of my products, I decided to make changes to enable SEO URL's and followed the instructions to the letter. When this was working I added SEO URL's to all my categories and products and everything was looking good.
I then added code from google analytics and this was working ok tracking users online.
I then tried a test checkout to find that i could no longer do this and got an error message "Error Undefined" which i soon realised were something to do with my SSL. I contacted my service provider and they said all was good there end.
I have tried to re trace my steps and disabled SEO URL's. I can paste in the https:// on a product page and it will checkout however when i leave the page it then goes back to unsecured.
My code in the .htaccess is as follows
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
Order deny,allow
Deny from all
</FilesMatch>
# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /store/
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
My code in /config.php
<?php
// HTTPS
define('HTTP_SERVER', 'https://www.stitchink.co.uk/store/');
// HTTPS
define('HTTPS_SERVER', 'https://www.stitchink.co.uk/store/');
// DIR
define('DIR_APPLICATION', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/catalog/');
define('DIR_SYSTEM', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/');
define('DIR_IMAGE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/image/');
define('DIR_LANGUAGE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/catalog/language/');
define('DIR_TEMPLATE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/catalog/view/theme/');
define('DIR_CONFIG', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/config/');
define('DIR_CACHE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/cache/');
define('DIR_DOWNLOAD', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/download/');
define('DIR_LOGS', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/logs/');
define('DIR_MODIFICATION', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/modification/');
define('DIR_UPLOAD', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'stitchink_co_uk_');
define('DB_PASSWORD', 'xxxxxxxxxx');
define('DB_DATABASE', 'stitchink_co_uk_');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
My code in /admin/config.php
<?php
// HTTP
define('HTTP_SERVER', 'http://www.stitchink.co.uk/store/admin/');
define('HTTP_CATALOG', 'http://www.stitchink.co.uk/store/');
// HTTPS
define('HTTPS_SERVER', 'https://www.stitchink.co.uk/store/admin/');
define('HTTPS_CATALOG', 'https://www.stitchink.co.uk/store/');
// DIR
define('DIR_APPLICATION', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/admin/');
define('DIR_SYSTEM', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/');
define('DIR_IMAGE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/image/');
define('DIR_LANGUAGE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/admin/language/');
define('DIR_TEMPLATE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/admin/view/template/');
define('DIR_CONFIG', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/config/');
define('DIR_CACHE', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/cache/');
define('DIR_DOWNLOAD', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/download/');
define('DIR_LOGS', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/logs/');
define('DIR_MODIFICATION', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/modification/');
define('DIR_UPLOAD', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/system/storage/upload/');
define('DIR_CATALOG', '/customers/d/5/f/stitchink.co.uk/httpd.www/store/catalog/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'stitchink_co_uk_');
define('DB_PASSWORD', 'xxxxxxxxxx');
define('DB_DATABASE', 'stitchink_co_uk_');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');
I assume its something very simple that i just cant see,
Thanks in advance