Tested on oc 3.0.3.8 and 3.0.3.9 with default & custom themes
I have exhausted my limited skills....
src="http://..../index.php?route=extension/captcha/basic/captcha" alt="The image “http://..../index.php?route=extension/captcha/basic/captcha” cannot be displayed because it contains errors."
I've managed to download the index.jpg from this and it is without any captcha code, ie the captcha graphics background without any Letters or numbers
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Contacts has no captcha image , until after submit has been pressed and captcha fails and generates a new code
http://www.digiplex.com.au/shop/index.p ... on/contact
Account registration and every other place captcha is used, no problem, the image is displayed
https://www.digiplex.com.au/shop/index. ... t/register
It seems that there is no captcha code generated by the contact page as the cause of the problem
Attachments
test.png (197.77 KiB) Viewed 1643 times
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Check your OpenCart error log, your PHP error log and your server error log. Maybe it was a one off error being cached or blocked by a firewall such as ModSecurity.
This is because I'm experimenting and don't know what coding is currrent at that time. I have added some code during the captcha function when it creates the image to generate a new code - if (empty($this->session->data['captcha'])) { - but I don't know how to store this new code so it can be checked during validation. So even though the image is now displayed, data['captcha'] is probably still empty and validation will fail.
So at any given moment I could have different experimental coding running, so first looks could be deceiving. My potential fix is dodgy but its all my skill level allows. Fixing the actual cause why the contact page doesn't create a code is what really needs to be corrected.
I wont say its solved, but think its more to do with whats going on outside opencart than within it.
https://github.com/opencart/opencart/pull/13599
You also need to fix your config.php and admin/config.php files.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Just use this: https://www.opencart.com/index.php?rout ... er=antropy
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Users browsing this forum: No registered users and 16 guests