playts.com 升级到 6.16

今日Drupal 6.16 and 5.22 released我就迫不及待的维护升级,当运行update.php时却收到错误警告:

user warning: Table 'drupal.drupal_semaphore' doesn't exist query: SELECT expire, value FROM drupal_semaphore WHERE name = 'locale_cache_zh-hans' in /home/clients/websites/w_my/public_html/my/includes/lock.inc on line 154.

这时才想起来在升级之前没有禁用非核心模块,还好升级之前备份了文件和数据库,从新来过就是了。

当我按部就班的操作完毕,同样还是出现同样的错误警告,我编辑了settings.php文件
将:
$update_free_access = FALSE;
改为:
$update_free_access = TRUE;

还是不行,郁闷了~

includes/lock.inc是6.16新增的文件

我刷新了几次update.php,终于看到“Continue”按钮。升级完毕后,一切正常,没有错误警告了。

提示:
drupal6.16没有改动(default.)settings.php 与 robots.txt,.htaccess有小的改动,升级前一定备份文件和数据库

评论

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <img> <em> <del> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <h3> <h4> <h5> <h6>
  • 自动断行和分段。
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.