Drupal Add module There is an inexplicable error resolution (often appearing in modules) _php tutorial

Source: Internet
Author: User
Tags blank page drupal
The situation is as follows:
1, click on the Guarantee button, can not go to the page normally, there is a blank page;
2, refresh the page, issued many items in the navigation is no longer, there is still a click on the item can not enter the normal page.
Tested several times did not find any problems, repeated reloading, testing, finally appeared an error page tip: "Drupal Maximum execution time of the seconds exceeded database In/mysqli.inc", A look at this document, finally found a little dawn. Baidu, found that there are three solutions, one test, problem solving.
These methods are now noted:
Method One: Change the PHP php.ini file and set the value of Max_execution_time to a large point.
Method two: Change with PHP code, call the Ini_set () function to set, such as Ini_set (' Max_execution_time ', 1000), The call to this function can be added to Drupal's settings.php, but it is best to cancel the call of this function after the operation is complete.
Method Three: (never tried) find the My.ini (my.cnf) file in the root directory of MySQL, open and find the last line
[Mysqld]
port=3306
Add the following:
Set-variable = max_allowed_packet= Set a larger number such as 10M

http://www.bkjia.com/PHPjc/323140.html www.bkjia.com true http://www.bkjia.com/PHPjc/323140.html techarticle The situation is as follows: 1, after clicking on the Guarantee button, can not go to the page, there is a blank page, 2, refresh the page, issued many items in the navigation has no, there is no entry Click also can not enter ...

  • 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.