[SOLVED] News and extra fields problem in 1.6.3

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

[SOLVED] News and extra fields problem in 1.6.3

Post by nils73 »

I have updated from 1.5.8 to 1.6.3 of CMSMS and tried to insert a news for the first time. It did not work and gave me:

Code: Select all

DEBUG: SQL = INSERT INTO a5_module_news (news_id, news_category_id, news_title, news_data, summary, status, news_date, start_time, end_time, create_date, modified_date,author_id,news_extra) VALUES (6,'2','fdsfsda','dffds','sddsf','published','2009-08-07 15:17:26','2009-08-07 15:17:26',NULL,'2009-08-07 15:17:40','2009-08-07 15:17:40','1','asfasdfasdf')
Unknown column 'news_extra' in 'field list'
I assume it has something to do with extra fields but when I open up the tab where I have entered the extra fields nothing will show up. Other installs of CMSMS are running fine. Any ideas?

Regards,
Nils
Last edited by nils73 on Wed Oct 21, 2009 9:36 am, edited 1 time in total.
jubasolo
Forum Members
Forum Members
Posts: 19
Joined: Wed Aug 13, 2008 3:09 pm

Re: News and extra fields problem in 1.6.3

Post by jubasolo »

The same problem applies when making a new install on for example Moindou version - at least if you do as I did: put up the cms with no News Module, and then installing News Module through Module manager. I get exactly the same message. But the solution seems to be to uninstall News Module through Extensions > Modules, and then simply installing it again. Not straight forward but very simple if you know how. I would be happy if this bug was fixed though.
Peciura

Re: News and extra fields problem in 1.6.3

Post by Peciura »

If MySQL server complains about missing collumn - insert it  :):

Code: Select all

ALTER TABLE `a5_module_news` ADD `news_extra` varchar( 255 ) NULL ;
Well it is not missing in upgrade method. I IMO it is related to adodb lite, because it is not the first time when "AddColumnSQL" failed me.
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: News and extra fields problem in 1.6.3

Post by nils73 »

jubasolo wrote: But the solution seems to be to uninstall News Module through Extensions > Modules, and then simply installing it again.
That did the trick - as well as updating SQL-statement directly. But this one is by far smarter!

Thanks,
Nils
Post Reply

Return to “CMSMS Core”