I just noticed all my captcha’s stopped working. GD with freetype installed.
Any ideas?
For some reason mine stopped working too after updating my ports in FreeBSD. I tried re-installing GD but it did not fix the issue. For now I’ve just turned off all image verification until I can figure out what is going on.
Clear the CS-Cart cache,
Logout, close all browser windows and clear your browser cache.
There’s a couple settings under “Image Verification”
Do not use verification if user is logged in
Do not use verification after first valid answer
If you have a cookie and logged in as admin you won’t see the captcha’s.
[quote name=‘ePlanetDesign’]Clear the CS-Cart cache,
Logout, close all browser windows and clear your browser cache.
There’s a couple settings under “Image Verification”
Do not use verification if user is logged in
Do not use verification after first valid answer
If you have a cookie and logged in as admin you won’t see the captcha’s.[/QUOTE]
It wasnt anything like that for me unfortunately. I had to reinstall the php5-gd port and reboot. Worked after that.
How do I Clear the CS-Cart cache?
Any answer to the above question?
and how do I reinstall the php5-gd port?
Any help please.
[quote name=‘tom437’]Any answer to the above question?
and how do I reinstall the php5-gd port?
Any help please.[/quote]
Contact your server administrator / hosting
If I ask my web hosting company to reinstall the php5-gd port, will it mess up my website? will it delete anything from my website?
Thank you
I’m still having this problem, anyone with any idea?
My server host enabled FreeType support in GD, so its working now.
I just found a funny trick from cs-cart when I did the CS-cart 2.1 migration test.
I had GD with freetype installed, but captcha’s stopped working.
When I point back to the original trial DB, It works again…lol
I guess CS-cart also check current session ID with old session ID in database during image verification creation process.
FYI: It may occur for CS-cart servers installed with PHP 5.2.13 and up.
Yesterday, I tried to fixed sales tax round 1 or 2 cents problem and followed ChrisW Troubleshooting link from Cs-Cart KB for problem with inaccurate tax, discount or total value.
After Open the fn.common.php file in /core directory, and replace the following part of code there:
return (float)sprintf(“%.2f”, round((double) $price + 0.00000000001, 2));
with this one:
return (float)sprintf(“%.4f”, round((double) $price + 0.00000000001, 4));
I found all my captcha’s stopped working. I was shocked at that time.
I fixed “PHP 5.2.13 cause some 10+ digits combination hashs served as array index becoming negative number on CS-cart option combination entry” bug this week, so I tried to adjust + 0.00000000001 to be + 0.00001. My sales tax round-up problem solved and my captcha verification back to normal.