刚刚升级完毕,一切都乱糟糟的:)
我在导入数据库的时候在
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.
问题已解决,我关掉
问题已解决,我关掉了mysql的strict mode,然后加载了phptemplate引擎,then my dripal works like a charm~,另外听人说也有可能是和php5.0.5+不兼容的关系,不过怕麻烦没有把我的php5.1.1安回5.0.5,反正这个问题是解决了,如果有遇到同样问题的朋友,可以参考以上方法。
Post new comment