执行查询时的数据库错误1054'where子句'中的未知列'active'

时间:2013-10-16 06:41:56

标签: mysql phplist

我想在我的网站上集成phpList。目前我在开发过程中。

我创建了数据库然后用这个SQL创建了表(我确定表结构是否正确)。

CREATE TABLE `phplist_subscribepage` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `email` varchar(255) NOT NULL DEFAULT '',
  `name` varchar(100) DEFAULT NULL,
  `data` text,
  PRIMARY KEY (`id`),
  UNIQUE KEY `email` (`email`)
)

执行此操作后,当我尝试运行index.php

时,我收到此消息
Database error 1054 while doing query Unknown column 'active' in 'where clause'
Database error 1054 while doing query Unknown column 'active' in 'where clause'

我是phpList的新手。我无法弄清楚什么可能是prblm。

任何帮助都将不胜感激。

1 个答案:

答案 0 :(得分:0)

可能是我在以前的安装中做错了。当我重新安装它时,它开始工作。