Drupal _ configuration after website migration

Source: Internet
Author: User
Tags blank page drupal nginx server

Some problems have been encountered after the website is migrated to the server. Here we summarize: 1. No response, no prompt, and blank page 2 is returned. There is content, but it is disordered and many are lost, and no CSS style 1, the environment is nginx server after several queries, found the cause of the problem is: cache memory is not enough, resulting in expired solution: Configure php5-fpm, change the default 32 M to 64 M (it may not be enough in the future) 2. There is content, let's take a look at the Source Code @ import url ("/drupal_flsvc/sites/all/themes/fllcc_zen/css/blocks.css? Msf-bae "); @ import url ("/drupal_flsvc/sites/all/themes/fllcc_zen/css/navigation.css? Msf-bae "); @ import url ("/drupal_flsvc/sites/all/themes/fllcc_zen/css/views-styles.css? Msf-bae "); @ import url ("/drupal_flsvc/sites/all/themes/fllcc_zen/css/nodes.css? Msf-bae "); @ import url ("/drupal_flsvc/sites/all/themes/fllcc_zen/css/comments.css? Msf-bae "); @ import url ("/drupal_flsvc/sites/all/themes/fllcc_zen/css/forms.css? Msf-bae "was originally defined in our path/drupal_flccs/sites. We bound the website domain name to the/sites level. To solve this problem, we can easily find/drupal/sites/all/default. /settings. php (by the way, it is also in this file to modify the Mysql link password) [php] $ databases = array ('default' => array ('database' => 'drupal _ flabc ', 'username' => 'root', 'Password' => '000000', 'host' => 'localhost', 'Port' => '', 'driver '=> 'mysql', 'prefix' => '',); turning to true ...... [Php] * Base URL (optional ). ** If Drupal is generating incorrect URLs on your site, which cocould * be in HTML headers (links to CSS and JS files) or visible links on pages * (such as in menus ), uncomment the Base URL statement below (remove the * leading hash sign) and fill in the absolute URL to your Drupal installation. ** You might also want to force users to use a given domain. * See. htaccess file for more information. ** Examples: * $ base_url = 'HTTP: // www.example.com '; * $ base_url = 'HTTP: // www.example.com: 8080'; * $ base_url = 'HTTP: // www.example.com/drupal'; * $ base_url = 'https: // www.example.com: 8888/drupal'; ** It is not allowed to have a trailing slash; drupal will add it * for you. * // $ base_url = 'HTTP: // localhost/drupal_flabc'; $ base_url = ''; remember not to add/[php] Drupal will add it for you at the end of the URL.

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.