ecshop has its own verification code function, which can be hidden and displayed in the background. If a customer needs this function, the picture cannot be displayed, php.cn is Here are some tips for you: 1. Comment out this code under the includes\init.php file: /* 判断是否支持 Gzip 模式 if (!defined('INIT_NO_SMARTY') && gzip_enabled()) { ob_start('ob_gzhandler'); } else { ob_start(); } */ Copy after login Go to the background and clear the cache to display it. 2. If the above method still cannot solve the problem, finally cover it with the original languages\zh_cn\common.php and replace the root Delete the blank lines in captcha.php under the directory. 3. If it is not displayed, it may be related to space settings and permissions. Please contact the space provider. Or it is recommended to block it from the background system settings and verification code management. |
The above is the detailed content of How to use ecshop to solve the problem of verification code not being displayed. For more information, please follow other related articles on the PHP Chinese website!