[SOLVED] Unknown column 'news_url' in 'field list'

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
postiffm
Forum Members
Forum Members
Posts: 128
Joined: Tue Nov 30, 2010 12:16 am

[SOLVED] Unknown column 'news_url' in 'field list'

Post by postiffm »

www.fbcaa.org
CMS 1.9.1, recently upgraded from 1.4.1.
News module 2.11

I just activated the news module. The first article, about the news module being installed, was posted there. I deleted it, then tried to add a new test article, and got this message:

DEBUG: SQL = INSERT INTO cms_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,news_url) VALUES (5,'1','Test','test','test','published','2010-12-13 09:46:23',NULL,NULL,'2010-12-13 09:46:32','2010-12-13 09:46:32','1','test','test')
Unknown column 'news_url' in 'field list'

I searched the forums and found one article that mentioned news_url, but it was in German, and my translation skills are a bit lacking :-)

Thanks for any help you can provide.
Last edited by postiffm on Mon Dec 13, 2010 5:17 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Unknown column 'news_url' in 'field list'

Post by calguy1000 »

something happened on the upgrade and that column was not added to the database table.

An uninstall and re-install of the news module (2 mouse clicks in "Extensions >> Modules") should take care of it.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
bryan

Re: [SOLVED] Unknown column 'news_url' in 'field list'

Post by bryan »

An uninstall and re-install of the news module (2 mouse clicks in "Extensions >> Modules") should take care of it.
After a db backup, of course. Uninstalling and reinstalling removes any existing news articles, categories, templates and custom fields associated with the news module.
Didiero

Re: [SOLVED] Unknown column 'news_url' in 'field list'

Post by Didiero »

Same here: CMS 1.9.3, upgraded from 1.4.1.:

I cannot edit older news and get the "Unknown column 'news_url'"-warning on creating a new article.

I did the uninstall/install twice on the news module to no avail. Also WYSIWYG is off by default in the news module only.
faglork

Re: [SOLVED] Unknown column 'news_url' in 'field list'

Post by faglork »

bryan wrote:
An uninstall and re-install of the news module (2 mouse clicks in "Extensions >> Modules") should take care of it.
After a db backup, of course. Uninstalling and reinstalling removes any existing news articles, categories, templates and custom fields associated with the news module.
It does NOT work.

What I did:
- made a db backup
- uninstalled news
- re-installed news
- restored database

Same error.

What now?

Cheers,
Alex
faglork

Re: Unknown column 'news_url' in 'field list'

Post by faglork »

calguy1000 wrote:something happened on the upgrade and that column was not added to the database table.
What if I add this column manually?


EDIT: I just added the field "news_url" manually (via phpmyadmin) to the table "myprefix_module_news". Properties are the same as "news_extra".

That apparently did the trick ...

Cheers,
Alex
Locked

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