Support » Knowledge Base » Shop-Script » Troubleshooting »
CAPTCHA is used by WebAsyst Shop-Script to prevent access to its storefront by so-called web robots. To enable storefront protection with CAPTCHA, log in to your store administration account, go to section "Settings -> Settings -> General", enable parameter "Protection from 3rd party scripts (captcha)" and save your changes.
To check whether CAPTCHA is working, open the customer registration page. At the page bottom an image similar to the below picture should be displayed:

If such an image is missing on the registration page, check the following:
<?php
phpinfo();
?>
Upload the test file to the WebAsyst installation directory and open it with a browser. The table with PHP configuration data that will appear should contain the following line if the JPG format is supported:

If such a line is missing, enable JPG support in the PHP configuration. You may need to apply to your system administrator for assistance with such re-configuring.
Should you fail to enable JPG support on the server, change the source code of WebAsyst Shop-Script to make it use GIF format instead of JPG. To do so, open file /published/SC/html/scripts/classes/class.ivalidator.php and type "gif" instead of "jpeg" in the following line:
var $ImageType = 'jpeg';
After such changes the line should look as shown below:
var $ImageType = 'gif';
Save the file and refresh the registration page, the CAPTCHA code should appear on it.