Page 1 of 2
News Module Items Can Not Find Page
Posted: Fri Jan 24, 2014 8:07 pm
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.
Re: News Module Items Can Not Find Page
Posted: Fri Jan 24, 2014 9:29 pm
by velden
Try:
Site Admin ยป System Maintenance -> Cache and Content -> Update Routes
Re: News Module Items Can Not Find Page
Posted: Mon Jan 27, 2014 7:43 pm
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.
Re: News Module Items Can Not Find Page
Posted: Tue Jan 28, 2014 4:23 pm
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..?
Re: News Module Items Can Not Find Page
Posted: Wed Jan 29, 2014 12:52 am
by KitchM
Re: News Module Items Can Not Find Page
Posted: Wed Jan 29, 2014 6:20 pm
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...
Re: News Module Items Can Not Find Page
Posted: Wed Jan 29, 2014 7:31 pm
by KitchM
I would not have changed that. Why did it work at first right out of the box?
Re: News Module Items Can Not Find Page
Posted: Wed Jan 29, 2014 9:54 pm
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
Re: News Module Items Can Not Find Page
Posted: Wed Jan 29, 2014 10:26 pm
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.
Re: News Module Items Can Not Find Page
Posted: Thu Jan 30, 2014 9:43 pm
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!
Re: News Module Items Can Not Find Page
Posted: Fri Jan 31, 2014 4:14 pm
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...
Re: News Module Items Can Not Find Page
Posted: Fri Jan 31, 2014 5:09 pm
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.
Re: News Module Items Can Not Find Page
Posted: Sat Feb 01, 2014 5:14 pm
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!
Re: News Module Items Can Not Find Page
Posted: Sun Feb 02, 2014 4:10 am
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.
Re: News Module Items Can Not Find Page
Posted: Sun Feb 02, 2014 4:22 pm
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...