There is a Javascript popup alert on my Account Registration page but I can't identify what triggers it. The error can be seen by following any of the account registration links eg. My Account > Register at the top of the screen to https://www.allscotltd.co.uk/index.php? ... t/register
The browser console shows 3 XHR errors, one of which contains the same HTML shown by the Javascript error popup. This is a GET request for https://www.allscotltd.co.uk/index.php? ... ount/login
I can't identify which Javascript event triggers the XHR request. Can anyone help please?
OpenCart Version 2.3.0.2
There are no php errors or any seemingly related errors in the opencart error log.
PHP error logs.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Your AJAX request for the zone list is requesting /index.php?route=account/account/country, which is getting redirected to /index.php?route=account/login.
Well spotted - 302 is clearly a redirect and I should have seen this.ADD Creative wrote: ↑Thu Oct 21, 2021 10:15 pmYour AJAX request for the zone list is requesting /index.php?route=account/account/country, which is getting redirected to /index.php?route=account/login.
Issue resolved - it was a missing
Code: Select all
$
Thank you.
For completeness, as per initial post, there were no entries in php_error.log.
No problem. Now that issue has been resolved, please add: [SOLVED] at the beginning of the subject line on your first post.chris.dempsey wrote: ↑Thu Oct 21, 2021 10:40 pmWell spotted - 302 is clearly a redirect and I should have seen this.ADD Creative wrote: ↑Thu Oct 21, 2021 10:15 pmYour AJAX request for the zone list is requesting /index.php?route=account/account/country, which is getting redirected to /index.php?route=account/login.
Issue resolved - it was a missingcharacter in the server config file relating to redirects.Code: Select all
$
Thank you.
For completeness, as per initial post, there were no entries in php_error.log.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 407 guests