PDOStatement: Duplicate column name 'updatetime'

by AdVitam, Thursday, September 11, 2014, 15:58 (3549 days ago) @ geobaev

It look like to be a problem when the selfoss db is in 3 or 4 version (in selfoss database, table version) and want to update to the last db version.

To avoid the problem in daos/mysql/Database.php

Comment the line 134 like this :

/* \F3::get('db')->exec('
ALTER TABLE '.\F3::get('db_prefix').'items ADD updatetime DATETIME;
'); */

After i need to give "super" privilege to the selfoss db user (just 1 time), reload the page and remove the "super" privilege.


Complete thread:

 RSS Feed of thread

powered by my little forum