Page 1 of 1

News Module Problem

Posted: Wed Sep 19, 2007 4:18 pm
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

Re: News Module Problem

Posted: Wed Sep 19, 2007 6:06 pm
by Nullig

Re: News Module Problem

Posted: Wed Sep 19, 2007 7:13 pm
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

Re: News Module Problem

Posted: Mon Sep 24, 2007 1:45 am
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

Re: News Module Problem

Posted: Mon Sep 24, 2007 7:53 am
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

Re: News Module Problem

Posted: Mon Oct 01, 2007 3:06 pm
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

Re: News Module Problem

Posted: Mon Oct 01, 2007 4:00 pm
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.