MySQL error on update

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
Cyrus
Posts: 63
Joined: Mon 22. Mar 2004, 05:40
Location: New Zealand
Contact:

MySQL error on update

Post by Cyrus »

Updating from 1.1.9-DEV to 1.2-DEV I get the following error :

SQL-query:

Code: Select all

ALTER TABLE `phpwcms_forum` ADD `forum_cpost` INT NOT NULL AFTER `forum_counttopic`

MySQL said:

Code: Select all

#1054 - Unknown column 'forum_counttopic' in 'phpwcms_forum'
Something wrong somewhere with my tables?
Cyrus
jscholtysik

Post by jscholtysik »

Hi Cyrus,


Karla seems to have a solution:

http://www.phpwcms.de/forum/viewtopic.php?t=5648


Joachim
User avatar
Cyrus
Posts: 63
Joined: Mon 22. Mar 2004, 05:40
Location: New Zealand
Contact:

Post by Cyrus »

Thanks for that...sorry.... should have caught the earlier post.

Code: Select all

ALTER TABLE `phpwcms_forum` ADD `forum_cpost` INT NOT NULL AFTER `forum_ctopic` ;
worked successfully
Cyrus
Post Reply