News Module Problem

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
thewebworkshop
New Member
New Member
Posts: 5
Joined: Mon Jun 11, 2007 3:46 pm

News Module Problem

Post by thewebworkshop »

Hi all,

I've been having probs with the News module. I'm running CMSMS 1.1.1 and have not been able to add news items successfully. When I enter all the details in the form and click Submit, it says that the news item was successfully added, but doesn't appear in the news listings or on the front end.

This was using the module that was pre-installed, so I downloaded News-2.5 from the Forge and installed that. Now I get string(143) "Smarty error: [in module_file_tpl:News;editarticle.tpl line 26]: syntax error: unrecognized tag 'Uploads' (Smarty_Compiler.class.php, line 590)" when I try to add a new news item - it still goes through the motions of adding the news item, but with this error message at the top. The front end, which is still very much in production, now produces "Page 1 of 3" with prev/next nav, but still no news items actually displaying. You can see what I mean at http://212.67.202.205/~perrymans001/index.php

Any and all help appreciated.

Thanks,

Andrew
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: News Module Problem

Post by Nullig »

thewebworkshop
New Member
New Member
Posts: 5
Joined: Mon Jun 11, 2007 3:46 pm

Re: News Module Problem

Post by thewebworkshop »

Thanks for the quick reply, Nullig. I've updated action.default.php  and function.admin_articlestab.php and all seems to be ok  :)

Andrew
rasimk81

Re: News Module Problem

Post by rasimk81 »

Hey Andrew and Nulling i am also having same problem. I tried following the link or the information but no help.. Can you please help me. I am using News Module 2.5 and am unable to publish any aritcles...

Asim
thewebworkshop
New Member
New Member
Posts: 5
Joined: Mon Jun 11, 2007 3:46 pm

Re: News Module Problem

Post by thewebworkshop »

Hi Asim,

I folllowed what openmtl had posted:

"I enabled debug and found that the SQL syntax error was complaining about the ...LIMIT OFFSET right at the end of the query in action.default.php (line 228 or so) and function.admin_articlestab.php (around line 95),

I changed my copies to...

//$query1 .= " LIMIT $pagelimit OFFSET $startelement";
$query1 .= " LIMIT $startelement , $pagelimit ";

Changing those two files did the trick for me. Have you tried changing your copies?

Andrew
jans
Forum Members
Forum Members
Posts: 87
Joined: Thu Mar 16, 2006 11:28 pm

Re: News Module Problem

Post by jans »

I have the same problem, tried your given solution but it did not work, I do however have the possibility to post news items and can do all that is needed with news.

My page however keeps loading some stuff and can't find anything it needs as it seems cause loading does not stop.

greets, Jan
thewebworkshop
New Member
New Member
Posts: 5
Joined: Mon Jun 11, 2007 3:46 pm

Re: News Module Problem

Post by thewebworkshop »

I've been having quite a few problems with News 2.5, so I've gone back to the previous version for now.
Post Reply

Return to “CMSMS Core”