Hi all,
I recently noticed that, in checkout page, the Country dropdown is disabled and the Region dropdown list is empty. This prevents the order confirmation since the Region field is required.
Doing a liitle more research on the site, we noticed the problem also occures on cart page, when the user adds his details in order to calculate shipping.
The opencart version is 3.0.3.6 and is using php 7.4.
The Chrome DevTools returns the error
VM173:18 Uncaught TypeError: Assignment to constant variable.
at Object.success (eval at globalEval (jquery-2.1.1.min.js:2:2536), <anonymous>:18:9)
at j (jquery-2.1.1.min.js:2:26860)
at Object.fireWith [as resolveWith] (jquery-2.1.1.min.js:2:27673)
at x (jquery-2.1.1.min.js:4:11120)
at XMLHttpRequest.<anonymous> (jquery-2.1.1.min.js:4:14767)
success @ VM173:18
j @ jquery-2.1.1.min.js:2
fireWith @ jquery-2.1.1.min.js:2
x @ jquery-2.1.1.min.js:4
(anonymous) @ jquery-2.1.1.min.js:4
load (async)
send @ jquery-2.1.1.min.js:4
ajax @ jquery-2.1.1.min.js:4
eval @ VM173:2
dispatch @ jquery-2.1.1.min.js:3
r.handle @ jquery-2.1.1.min.js:3
trigger @ jquery-2.1.1.min.js:3
(anonymous) @ jquery-2.1.1.min.js:3
each @ jquery-2.1.1.min.js:2
each @ jquery-2.1.1.min.js:2
trigger @ jquery-2.1.1.min.js:3
eval @ VM173:42
globalEval @ jquery-2.1.1.min.js:2
domManip @ jquery-2.1.1.min.js:3
append @ jquery-2.1.1.min.js:3
(anonymous) @ jquery-2.1.1.min.js:3
n.access @ jquery-2.1.1.min.js:2
html @ jquery-2.1.1.min.js:3
success @ index.php?route=checkout/checkout:1218
j @ jquery-2.1.1.min.js:2
fireWith @ jquery-2.1.1.min.js:2
x @ jquery-2.1.1.min.js:4
(anonymous) @ jquery-2.1.1.min.js:4
load (async)
send @ jquery-2.1.1.min.js:4
ajax @ jquery-2.1.1.min.js:4
(anonymous) @ index.php?route=checkout/checkout:1205
dispatch @ jquery-2.1.1.min.js:3
r.handle @ jquery-2.1.1.min.js:3
The error appears when we click the Checkout Options > Continue button and the Account Billing Details tab opens.
So far we have tried/checked:
1. The Countries, Geo Zones and Zones are properly configured.
2. We changed the caching time from htaccess.
3. We have changed the php version to 8 and php 7.3
We have noticed that clearing the modification cache or changing the htaccess cache configuration fixes the problem but just for the first refresh.
I need some help identifying and fixing the problem.
Thank you in advance,
Dimitra
I recently noticed that, in checkout page, the Country dropdown is disabled and the Region dropdown list is empty. This prevents the order confirmation since the Region field is required.
Doing a liitle more research on the site, we noticed the problem also occures on cart page, when the user adds his details in order to calculate shipping.
The opencart version is 3.0.3.6 and is using php 7.4.
The Chrome DevTools returns the error
VM173:18 Uncaught TypeError: Assignment to constant variable.
at Object.success (eval at globalEval (jquery-2.1.1.min.js:2:2536), <anonymous>:18:9)
at j (jquery-2.1.1.min.js:2:26860)
at Object.fireWith [as resolveWith] (jquery-2.1.1.min.js:2:27673)
at x (jquery-2.1.1.min.js:4:11120)
at XMLHttpRequest.<anonymous> (jquery-2.1.1.min.js:4:14767)
success @ VM173:18
j @ jquery-2.1.1.min.js:2
fireWith @ jquery-2.1.1.min.js:2
x @ jquery-2.1.1.min.js:4
(anonymous) @ jquery-2.1.1.min.js:4
load (async)
send @ jquery-2.1.1.min.js:4
ajax @ jquery-2.1.1.min.js:4
eval @ VM173:2
dispatch @ jquery-2.1.1.min.js:3
r.handle @ jquery-2.1.1.min.js:3
trigger @ jquery-2.1.1.min.js:3
(anonymous) @ jquery-2.1.1.min.js:3
each @ jquery-2.1.1.min.js:2
each @ jquery-2.1.1.min.js:2
trigger @ jquery-2.1.1.min.js:3
eval @ VM173:42
globalEval @ jquery-2.1.1.min.js:2
domManip @ jquery-2.1.1.min.js:3
append @ jquery-2.1.1.min.js:3
(anonymous) @ jquery-2.1.1.min.js:3
n.access @ jquery-2.1.1.min.js:2
html @ jquery-2.1.1.min.js:3
success @ index.php?route=checkout/checkout:1218
j @ jquery-2.1.1.min.js:2
fireWith @ jquery-2.1.1.min.js:2
x @ jquery-2.1.1.min.js:4
(anonymous) @ jquery-2.1.1.min.js:4
load (async)
send @ jquery-2.1.1.min.js:4
ajax @ jquery-2.1.1.min.js:4
(anonymous) @ index.php?route=checkout/checkout:1205
dispatch @ jquery-2.1.1.min.js:3
r.handle @ jquery-2.1.1.min.js:3
The error appears when we click the Checkout Options > Continue button and the Account Billing Details tab opens.
So far we have tried/checked:
1. The Countries, Geo Zones and Zones are properly configured.
2. We changed the caching time from htaccess.
3. We have changed the php version to 8 and php 7.3
We have noticed that clearing the modification cache or changing the htaccess cache configuration fixes the problem but just for the first refresh.
I need some help identifying and fixing the problem.
Thank you in advance,
Dimitra
Precious little detail to go by here. if you want help, then please provide more details, as per the forum rules.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Have you tried a different web browser? In the Chrome Developer Tools have you tried ticking the 'Disable cache' option on the 'Network' tab?
Hi,
I have tried from Edge and Firefox. Also, the client has tried it from other browsers, including Safari and mobile browsers. I did not click the Disable Cache since the problem existed in so many different browsers.
I finally used another checkout module, but I would like to know, for future reference, what caused that problem.
I have tried from Edge and Firefox. Also, the client has tried it from other browsers, including Safari and mobile browsers. I did not click the Disable Cache since the problem existed in so many different browsers.
I finally used another checkout module, but I would like to know, for future reference, what caused that problem.
I would try the Disable cache option and test with that. That way you will at least eliminate web browser caching issues.
Bugs in that theme/checkout module.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Who is online
Users browsing this forum: No registered users and 5 guests