Static Pages install error - column db_built missing

Creating and modifying plugins.
Post Reply
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Static Pages install error - column db_built missing

Post 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 ?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Static Pages install error - column db_built missing

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Post 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
sonichouse
Regular
Posts: 196
Joined: Sun May 11, 2008 2:53 am
Contact:

Re: Static Pages install error - column db_built missing

Post 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
Post Reply