Page 1 of 1

Static Pages install error - column db_built missing

Posted: Tue May 20, 2008 5:19 pm
by sonichouse
I get

Code: Select all

Warning: sqlite_query() [function.sqlite-query]: table serendipity_staticpages has no column named db_built in /opt/share/www/cherokee/serendipity/include/db/sqlite.inc.php on line 229
when trying to install this plugin.

Any ideas ?

Re: Static Pages install error - column db_built missing

Posted: Tue May 20, 2008 5:23 pm
by garvinhicking
Hi!

Hm, I wouldn't know why this variable would get passed on to a SQL query! "db_built" is only a config value (and goes into serendipity_config) to denote if the plugin has created the database or not.

Can you somehow provoke the error to see where it stems from?

Regards,
Garvin

Posted: Tue May 20, 2008 5:26 pm
by sonichouse
I also get
Warning: sqlite_query() [function.sqlite-query]: table serendipity_staticpages_types already exists in /opt/share/www/cherokee/serendipity/include/db/sqlite.inc.php on line 229

Warning: sqlite_query() [function.sqlite-query]: near "ALTER": syntax error in /opt/share/www/cherokee/serendipity/include/db/sqlite.inc.php on line 229

Re: Static Pages install error - column db_built missing

Posted: Tue May 20, 2008 7:20 pm
by sonichouse
garvinhicking wrote:Hi!

Hm, I wouldn't know why this variable would get passed on to a SQL query! "db_built" is only a config value (and goes into serendipity_config) to denote if the plugin has created the database or not.

Can you somehow provoke the error to see where it stems from?

Regards,
Garvin
Hi Garvin,
the plugin works fine, must only complain when being installed :wink:

/Steve