Solution for adding modules in Drupal with inexplicable errors (often when many modules exist)

Source: Internet
Author: User
Tags drupal
Today, with Drupal, we have encountered a strange situation when installing ctools, kippers, views, and panels at the same time. The status is as follows:
1. after clicking the "warranty" button, the page cannot be displayed normally and a blank page appears;
2. refresh the page and send out the items in the navigation that are no longer available. you cannot click the items that still exist to enter the normal page.
After multiple tests, no problems are found. after multiple reinstalls and tests, an error page is displayed: "drupal Maximum execution time of 30 seconds exceeded database in/mysqli. inc. Baidu went down and found that there were three solutions, one by one, to solve the problem.
Write down these methods:
Method 1: Change the PHP. ini file of php and set the value of max_execution_time to a greater value.
Method 2: use PHP code to change the value. call the ini_set () function to set the value, for example, ini_set ('max _ execution_time ', 1000). you can call this function in the settings of Drupal. php, but after the operation, it is best to cancel the function call.
Method 3: Find the my. ini (my. cnf) file in the mysql root directory, and find the last line.
[Mysqld]
Port = 3306
Add the following:
Set-variable = max_allowed_packet = set a value larger than 10 MB.

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.