Peter Knight Posted April 9, 2015 Share Posted April 9, 2015 Hi guys I was installing the ChangeLog module and my site is now throwing the following error Error: Exception: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'templates_id' (in /var/www/vhosts/mydomain.com/httpdocs/wire/core/WireDatabasePDO.php line 191)This error message was shown because you are logged in as a Superuser. Error has been logged. Looking at WireDatabasePDO.php line 191, I don't see anything obviously wrong but I'm not familiar with the inner workings of that file. public function exec($statement, $note = '') { $this->queryLog($statement, $note); return $this->pdo()->exec($statement); } Any ideas? Could I manually replace the Wire folder or should I look to cherry pick this fix? Link to comment Share on other sites More sharing options...
Soma Posted April 9, 2015 Share Posted April 9, 2015 You should contact the module author. Nothing wrong with WireDatabasePDO. It seems a problem with ChangeLog https://github.com/teppokoivula/ProcessChangelog/blob/master/ProcessChangelogHooks.module#L417 Link to comment Share on other sites More sharing options...
Peter Knight Posted April 9, 2015 Author Share Posted April 9, 2015 Will do. Wasn't sure if it was definitely ChangeLog but now I've tried it on another test site and had same result. I've created an issue here https://github.com/teppokoivula/ProcessChangelog/issues/7 and fixed temporarily by removing module in the database. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now