News Module Items Can Not Find Page

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

News Module Items Can Not Find Page

Post by KitchM »

The news items show up on the list in the main page news column. However, when selected they give a page error:

Not Found
The requested URL was not found on this server.

Why is that? My experience was that they always worked. Now they do not. The only thing I did was add some more categories rather than just the General one.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: News Module Items Can Not Find Page

Post by velden »

Try:
Site Admin » System Maintenance -> Cache and Content -> Update Routes
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

Re: News Module Items Can Not Find Page

Post by KitchM »

Sorry, but that didn't help.

I have now updated the the system to handle Pretty URLs per the instructions given. That didn't help either.

Something had changed to a working news system and now, and I have no idea what changed.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: News Module Items Can Not Find Page

Post by Dr.CSS »

What is the URL in the browser when it gives this, did you set a detail page in the News admin or in the {tag}..?

Link to site..?
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

Re: News Module Items Can Not Find Page

Post by KitchM »

Here is the resulting page from the news item:

http://www.sierraclubswmg.org/news/7/39 ... -laws.html
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: News Module Items Can Not Find Page

Post by Dr.CSS »

The /news/ part of the URL leads me to believe you are using the original default news call from that default template which I show below...

{* Start News, stylesheet "Module: News" *}
<div id="news">
<h2>News</h2>
{news number='3' detailpage='news'}
</div>
{* End News *}

This means it is looking for a page in your site called news, remove that and it should be good...
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

Re: News Module Items Can Not Find Page

Post by KitchM »

I would not have changed that. Why did it work at first right out of the box?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: News Module Items Can Not Find Page

Post by Dr.CSS »

If you install the default content there is a page called News, most likely you deleted it...

http://multiintech.com/defaultcontent/d ... /news.html
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

Re: News Module Items Can Not Find Page

Post by KitchM »

Now you got it!

What I did was create a news page under my political page. Evidently I named it differently, but part of it stayed the same. It appears that actually I did not create a new one; I must have reused the original one.

While I obviously intended to create a new one, starting with the same name automatically caused the program to overwrite rather than creating new.

Wow. I sure missed that one. I will never be able to recall the exact steps I went thru to do that, I have now renamed the one and created a new News page.

Now I will have to figure out how to relink the news articles to the News page.

Thanks for your help! That was huge.
rab
Forum Members
Forum Members
Posts: 120
Joined: Wed Sep 05, 2007 8:35 pm

Re: News Module Items Can Not Find Page

Post by rab »

I seem to have a similar problem, but only if the "Use expiration date' feature is checked in the News article's record. If expiration in not checked, all is fine.

Example:
When expiration is not used, the article details display properly on this page: http://omgcparish.org/news/521/15/Youth-Group-News

When expiration is used, the same page (http://omgcparish.org/news/521/15/Youth-Group-News) displays with "The requested URL was not found on this server." error. Also, the return link at the bottom of the article is not displayed.

This only started happening after I upgraded News module to v. 2.14.1. The site is using CMSMS v. 1.11.9, 'mod_rewrite' is enabled in config.php, and it does have a page with alias 'news'.

Any help would be most appreciated!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: News Module Items Can Not Find Page

Post by Dr.CSS »

Try adding a page extension, .html, .php, .asp, whatever...

Any page that is expired most times shouldn't show up on the front end...
uniqu3

Re: News Module Items Can Not Find Page

Post by uniqu3 »

@rab There is a setting in News module (options tab) what to do with expired articles.
Look if "Expired articles can be viewed in the detail view" is checked or not.
rab
Forum Members
Forum Members
Posts: 120
Joined: Wed Sep 05, 2007 8:35 pm

Re: News Module Items Can Not Find Page

Post by rab »

If it were only with expired articles, I wouldn't be so concerned. But the error occurs with articles that have NOT expired!
KitchM
Power Poster
Power Poster
Posts: 328
Joined: Mon Dec 02, 2013 3:26 am

Re: News Module Items Can Not Find Page

Post by KitchM »

I tried recreating the News page and renaming the other that shared the name. CMSMS seems to automatically create news-1, news-2, etc.. What would have been the original News module page name? Do I have to uninstall News and then reinstall to get things back as they were? What would I back up if that is the case?

Thanks.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: News Module Items Can Not Find Page

Post by Dr.CSS »

The original News page had an alias of news, when you delete it and try to make a new 'news' page it will auto make news-1 as alias, just change news-1 to news, as long as it isn't used on any other page it should work...
Locked

Return to “Modules/Add-Ons”