Recent Topics

1 Feb 16, 2006 07:37    

Hey been getting this and related alot when viewing and editing posts in the backoffice for the CVS build mentioned in the title:

MySQL error!

Unknown column 'link_itm_ID' in 'where clause'(Errno=1054)

Your query: Cascaded delete

DELETE
FROM evo_links

WHERE link_itm_ID = 108

Backtrace:

1. db->print_error( "", "Cascaded delete" )
File: H:\Storage\Site\b2evolution\blogs\evocore\_db.class.php:550
2. db->query( " DELETE FROM T_links WHERE link_itm_ID = 108", "Cascaded delete" )
File: H:\Storage\Site\b2evolution\blogs\evocore\_dataobject.class.php:325
3. dataobject::dbdelete()
File: H:\Storage\Site\b2evolution\blogs\evocore\_item.class.php:2133
4. item->dbdelete()
File: H:\Storage\Site\b2evolution\blogs\admin\edit_actions.php:396

Ignored last: 1

2 Feb 16, 2006 23:30

The DB schema has changed.

If you use CVS you have to also monitor /install/_functions_create.php for any schema change.

I've adopted a dbDelta() function from wordpress which would allow to do this automagically, but it's not in CVS yet.


Form is loading...