Page 1 of 1

[Solved] News module stopped working

Posted: Sat Nov 29, 2008 5:52 pm
by morten444
Hi
I have installed the default template and only changed banner and the location of the search box.

I have a problem that the news has stopped working. I cant see what I have done wrong.
I have just added pages, some of them renamed and deleted old news article that is not in use.

I can add a news and it does appear on the front page, but when I click the link it says " page can not be found"

I have tried to delete all news, categories, recreate them but still it does not work.

You can see the problem on www.dmm-support.dk

The news you can see, when in admin mode it has ID in browser:
http://www.dmm-support.dk/admin/modulei ... rticleid=8

When I click in normal view from the front page article link it gives:
http://www.dmm-support.dk/index.php?mac ... eturnid=39

I can not see the relation and do not understand how to trouble shoot from here.

Does anyone have a good advice or can point me in the rigth direction?

Kind Regards
Morten

Re: News module stopped working

Posted: Sat Nov 29, 2008 6:00 pm
by RonnyK
How are you calling {news}. Did you give extra parameters, like detailpage f.e. and if so, does that page exist and is it active...

Ronny

Re: News module stopped working

Posted: Sat Nov 29, 2008 10:00 pm
by morten444
Hi
Thanks for your reply :)

I have not (at least on purpouse done any changes) on it.

When you say {news} and what i have there. Not sure where to look
This below is from the template file. Is that what you where refering to?
If not where do I have to look

      {* Start News *}
     
        News
          {news number='3' detailpage='news'}
     
      {* End News *}


Kind Regards
Morten

Re: News module stopped working

Posted: Sat Nov 29, 2008 10:43 pm
by morten444
Hi
I have just made a test:
Installed CMS default and when clicking on link it opens:

http://www.itfixing.com/index.php?mact= ... eturnid=39


When I open the same in my forum
http://www.dmm-support.dk/index.php?mac ... eturnid=39

So the problem is that the "39" still showing the default. I wonder if this has happened because i deleted the orginal cms news that opviously had ID 39

Is there anyting I can do to correct this

Regards
Morten

Re: News module stopped working

Posted: Sat Nov 29, 2008 11:14 pm
by morten444
Resolved.

I have resolved it.
It had got the id 39 from an old article.
All I did was to activate that old article, save then new one again and it , the delete the old with ID39 and it worked.
No idea why!!!

Thanks for looking
Morten

Re: News module stopped working

Posted: Sun Nov 30, 2008 12:25 pm
by RonnyK
Morten,

how did you delete the news-entry, just plain from within the news-module, or from the database directly?

If the topic is solved, will you mark the subject-line of the first/original post with [solved].

Ronny

Solved: News module stopped working

Posted: Sun Nov 30, 2008 4:23 pm
by morten444
Hi I Just went to the news Article itself and deleted it from there.

It is not 100% resolved. News do open now, but its opens like inside another page.
Look a little strange but as long as it opens its Ok.

Thanks again :)

Re: [Solved] News module stopped working

Posted: Sun Nov 30, 2008 4:27 pm
by RonnyK
THe fact that it opens in another page is correct, as you specified, the detailpage= parameter.... That will cause News to open the details in the page, holding that alias....

Ronny

Re: [Solved] News module stopped working

Posted: Sun Nov 30, 2008 4:47 pm
by morten444
Hi again
Thanks for the explenation.
Learning something new every day :)


Thanks again


regards
Morten

Re: [Solved] News module stopped working

Posted: Thu Dec 25, 2008 11:11 pm
by mannerv
Okay, I seem to be having this same problem. You can see from here how I am experiencing it:
http://forum.cmsmadesimple.org/index.ph ... 260.0.html