Please can someone help me check the setup of our working site. We have a working site that is breaking when I try to install Square webpay.
After asking on the threads for webpay I have been advised my problem is a more general setup issue and I should post it in the main area, so here goes, can anyone help please?
Site originally setup in 2013, upgraded a few times now, working fine, SSL and site is in a subfolder.
Minimal customisations, only a few addons (cookie control, google re-captcha, inventory report, minimum order, sales report, square webpay)
No issues till I attempted to add Square webpay, apparently it is rather sensitive about how you configure things if you are running your site in a sub folder, now this hasn't caused any issues before, running in a folder is how I did it from the start but apparently I have not properly defined this in my configure files. I do not think I have made any significant changes to these files, so they are pretty much as installed other than turning on SSL a few years back.
I retried with the update to the config files but it goes wrong. In the help files for Square Webpay it mentions properly defining in the config file the "DIR_WS_HTTPS_CATALOG constant", now apparently we haven't, so I made the change in both files (configure.php in both admin and store) - but only those two lines and it broke the site!
the edits were:
define('DIR_WS_CATALOG', '/JPV3/');
define('DIR_WS_HTTPS_CATALOG', '/JPV3/');
(the store is in a folder called JPV3)
I have now changed it back and its working fine. I was wondering if these are added to the https info and so maybe I just needed to reissue/renew the SSL cert?
Site info:
URL is https://www.j e r w o o d p h i l a t e l i c s .co.uk/
ZC version 1.5.8a, working fine since, previously upgraded from 1.5.6 and before that 1.5.3 I think
PHP 8.1
Mysql 5.7
hosted by Ionos (previously known as 1and1)
I have tried to attach the edited config files but the attachment keeps being rejected for invalid file type, i have tried .php and .txt - what should it be so i can show the forum?
It broke the storefront not the admin side. The storefront wound up looking like the attached image:
Thank you in advance, George
Bookmarks