problem with news module after upgrading from 1.0.2 to 1.4.1

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
elmarko
New Member
New Member
Posts: 5
Joined: Sat Apr 14, 2007 11:35 pm

problem with news module after upgrading from 1.0.2 to 1.4.1

Post by elmarko »

Hi, how's it going, I have a problem with news module after upgrading from 1.0.2 to 1.4.1. When I try to submit a new article I'm met with an error message that reads:

DEBUG: SQL = INSERT INTO markcms_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 (82,'1','testtest','test','test','published','2008-08-20 23:42:14','2008-08-20 23:42:14',NULL,'2008-08-20 23:42:30','2008-08-20 23:42:30','1','xxxx')
Unknown column 'news_extra' in 'field list'

I'm assuming (and i hope I'm correct) that 82 not being in apostrophes is why it is returning that there is an unknown column, can anyone tell me which file i need to amend and to what to correct the issue?

Thanks for your time
Mark
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: problem with news module after upgrading from 1.0.2 to 1.4.1

Post by Dr.CSS »

Re upload the News module from your unpacked CMSMS in the modules folder, overwrite every thing...

And run /install/upgrade.php again...
faglork

Re: problem with news module after upgrading from 1.0.2 to 1.4.1

Post by faglork »

mark wrote: Re upload the News module from your unpacked CMSMS in the modules folder, overwrite every thing...

And run /install/upgrade.php again...
Can you elaborate on that?

a) Why first upload the news module - isn't it part of the install package anyway?
b) wouldn't it suffice to manually  add the 'news_extra' field  in the database?

Cheers,
Alex
alby

Re: problem with news module after upgrading from 1.0.2 to 1.4.1

Post by alby »

faglork wrote: b) wouldn't it suffice to manually  add the 'news_extra' field  in the database?
yes, the problem is missing new field in table 'news_extra', try to add with a sql tool

Alby
Locked

Return to “[locked] Installation, Setup and Upgrade”