Dede Optimized Open speed

Source: Internet
Author: User

Weaving Dream Dedecms Local background running slow

Do not know when to start, weaving dream dedecms in the local PHP environment for testing, the background of the operation will be very slow, often after a long time did not respond. After a long run, there will be "\include\userlogin.class.php on the line 21" error message, began to think that the PHP environment, and later changed a few are the same. Now no cattle network to share the solution, hoping to help all meet the same problem of friends.

The problem is caused by the code behind a piece of security testing in the background of the weaving dream. Find the Dream Dedecms Management folder, this according to their own website to judge, the default is the Dede directory, find the directory Templets folder inside the Index_ body.htm file, use professional editor such as Dreamweaver to open, find the following content, the code to comment or delete:

1 $(function(){$.get("index_testenv.php",function(data){if(data !== ‘‘){$("#__testEvn").html(data);}})})

This code is originally in a section of the JS code, after the comment or delete, refresh the background, you will find that the speed has been lifted up. No cattle nets have been tested, and solve the dream Dedecms local background running very slow problem, I hope to be helpful to everyone.

Http://www.noniu.com/jiaocheng/dedecms-houtai-man.html

Dede Optimized Open speed

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.