【发布时间】:2015-12-04 03:45:13
【问题描述】:
我有一台新笔记本电脑; Windows 8.1 64 位。我将 wampserver 与 apache 2.4.9 和 php 5.5.12 一起使用。我的笔记本电脑安装了 Microsoft Visual C++ 2012。
我正在尝试安装 Drupal 网站。安装前我创建了一个数据库。我复制并重命名 settings.php 文件并安装 Drupal。到目前为止从来没有问题。
然后当我开始安装模块时,会出现以下错误消息
PDOException: SQLSTATE[HY000]: General error: 1030 Got error -1 from storage engine: TRUNCATE {cache_rules} ; Array ( ) in cache_clear_all() (line 167 of C:\wamp\www\xxx\includes\cache.inc).
错误后面跟着下面的错误
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'alleserin.cache_rules' doesn't exist: DELETE FROM {cache_rules} WHERE (expire <> :db_condition_placeholder_0) AND (expire < :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] => 0 [:db_condition_placeholder_1] => 1441699681 ) in cache_clear_all() (line 167 of C:\wamp\www\xxxx\includes\cache.inc).
如果我理解正确.. 我的 Drupal 安装不再看到我的数据库了吗?
我有这个问题好几天了。我的旧笔记本电脑坏了。我看不到那里有哪些版本的 wampserver。我使用了相同的 Drupal 7.39,并且我使用的所有模块都是最新的。我在那里没有问题。
我进行了许多新安装。删除了 wampserver 和数据库。每次错误再次随机发生,我无法再对网站做任何事情。我试图清除缓存。将引擎从 InnoDB 更改为 myIsam。我尝试使用 XAMMP 安装 Drupal。它每次都会发生。 我的 wampserver 中的设置似乎有问题。不是 Drupal
我真的没有想法了。我的新笔记本电脑一定有问题。我必须缺少一些包才能使 Drupal 功能正常。
有人有什么想法吗?
【问题讨论】:
-
您是否将 WAMP 安装到您的根 C:/ 目录中?
-
让我们从头开始,系统托盘中的 wampmanager 图标是什么颜色的?
-
嗨 Riggy.. 它是绿色的。它正在运行,对于 apache,我打开了 alias_module、rewrite_module 和 vhost_alias_module。对于 php,我启用了这些扩展 php_curl php_gd2 php_mysqli。我可以下载 Drupal 并安装第一个模块,但每次我收到上述错误
标签: php mysql phpmyadmin wamp wampserver