Ecshop Verification code cannot be displayed

Source: Internet
Author: User

  1. Problem one, backstage display, the front desk does not show (member login does not show):

    Workaround: Connect the space with the FTP tool, locate the includes/init.php file on line No. 300, block the following code,/* Determine if Gzip mode is supported */



    1if (!defined (' Init_no_smarty ') && gzip_enabled ()) {



    2ob_start (' Ob_gzhandler ');



    3}else{



    4ob_start ();



    5}



    650) this.width=650; "class=" Exp-image-default "alt=" ecshop reasons analysis and solution of several verification codes not shown "src=" http://f.hiphotos.baidu.com/ Exp/w=500/sign=1631d38f6ad9f2d3201124ef99ed8a53/eaf81a4c510fd9f9baefb9072d2dd42a2934a4e0.jpg "style=" border:0px ; "/>

  2. Problem two, because of the path problem in PHP, there is no./The current path causes the picture to not display the workaround: Connect the space with FTP, locate the captcha.php file under the root directory, and put the following code:


    1$img = new Captcha (' data/captcha/', $_cfg[' captcha_width '], $_cfg[' captcha_height ']);


    Change to:


    1$img = new Captcha (Root_path. ' data/captcha/', $_cfg[' captcha_width '], $_cfg[' captcha_height ']);


    650) this.width=650; "class=" Exp-image-default "alt=" ecshop reasons analysis and solution of several verification codes not shown "src=" http://e.hiphotos.baidu.com/ Exp/w=500/sign=48a3f16a3c9b033b2c88fcda25cf3620/8c1001e93901213f2487a2b25ce736d12f2e952c.jpg "style=" border:0px ; "/>

  3. question three, File encoding format BOM Header problem Solving method: Find the corresponding file of the error, download the FTP tool to the local, with a text editor (editplus) Open, Save as Utf-8 no BOM mode. This happens most for direct with Notepad open, which is recommended to open with a professional code editor, edit.

    650) this.width=650; "class=" Exp-image-default "alt=" Ecshop causes analysis and resolution of several verification codes not shown "src="/HTTP/ h.hiphotos.baidu.com/exp/w=500/sign=361090d4d8a20cf44690fedf46084b0c/ 3b292df5e0fe9925d3a37e033ca85edf8db17131.jpg "style=" border:0px; "/>

  4. 4

    2. Locate the website root directory open/themes/default/library/comments_list.lbi modify the following code: <!– to determine whether to enable the verification code {if $enabled _captcha}–> modified to: <!– Determines whether the verification code {if $enabled _captcha_comments}–> is enabled

    The above is Ecshop verification code does not display several small series of contact to the solution, I hope to help you.

    650) this.width=650; "class=" Exp-image-default "alt=" ecshop reasons analysis and solution of several verification codes not shown "src=" http://e.hiphotos.baidu.com/ Exp/w=500/sign=48a0f16a3c9b033b2c88fcda25cf3620/8c1001e93901213f2484a2b25ce736d12f2e952d.jpg "style=" border:0px ; "/>



Ecshop Verification code cannot be displayed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.