我在导入数据库的时候在
REPLACE blocks SET module = 'user', delta = '0', status = '1';
REPLACE blocks SET module = 'user', delta = '1', status = '1';
这两句上出现了mysql 1364错误,提示:
error 1364 (hy000):field 'page' doesn't have a defaut value.
于是进去后就根本不能应用主题,如下:
{head} {styles} {_BLOCK_.header.logo} {_BLOCK_.header.site_name} {_BLOCK_.header.site_slogan} {secondary_links}
{primary_links}
Welcome to your new Drupal-powered website. This message will guide you through your first steps with Drupal, and will disappear once you have posted your first piece of content.
The first thing you will need to do is create the first account. This account will have full administration rights and will allow you to configure your website. Once logged in, you can visit the administration section and set up your site's configuration.
Drupal comes with various modules, each of which contains a specific piece of functionality. You should visit the module list and enable those modules which suit your website's needs.
Themes handle the presentation of your website. You can use one of the existing themes, modify them or create your own from scratch.
We suggest you look around the administration section and explore the various options Drupal offers you. For more information, you can refer to the Drupal handbooks online.