• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [Solved] News detail is giving me a 404 error
PostPosted: Sun Mar 25, 2012 8:24 pm 
Offline
New Member

Joined: Sun Mar 25, 2012 7:45 pm
Posts: 3
Hi. I'm running CMS Made Simple 1.10.3. I'm using PHP 5.3.8, and MySQL 5.5.16. This is all working with Apache 2.2.21 running on Windows 7 32bit (test environment)

I'm using News v2.12.3, and FrontEndUsers v1.17 with CGExtensions v1.27.9 and CustomContent v1.7.3. (not sure which may be causing my issue, so gave them all)

When I try to view a news item, I get the error message: "The webpage cannot be found" - HTTP 404

I can reproduce this error if I start with a fresh install of the news module, if I click on the 'General' link within the news module or if I click on the summary link. The news item summary is visible from all pages of my site, but the error still shows after clicking.

This was working after the initial install of the site and after I managed to get the 'fesubmit' script working ({cms_module module="News" action="fesubmit"}) but after trying to setup a user group to allow frontendusers the ability to submit news items, I seem to have lost the ability to view the items outside of the news block.

I have tested creating news items from the backend admin panel successfully and from the FEU module via the frontend, but in each case after the news item is updated to the news block, I can't then click on any of the news links without getting a 404 error.

I.E. 9 error: The webpage cannot be found
Firefox 11 error: The requested URL was not found on this server.
Chrome 17 error: The requested URL was not found on this server.

I know there must be a URL error as I've looked through all of the module pages and all of the php scripts I can find, but none of them give me anything concrete to work with. Most errors I've had so far are clearly marked and can be debugged with a little help from notepad++.

I have worked hard on the FEU stuff to get calendars and frontend adding of events working and I have succeeded in getting the frontend adding of articles too, but now I'm stumped.

My site is a test site with the plan of taking it live in April. There is no real rush and the error isn't life threatening, but any assistance will be very much appreciated. I am on the road occasionally, so you may not get an instant response to questions, so please bare with me. I'm also no php expert, but I've had a great time over the past two weeks looking through some of the very well built modules and trying new things with them. Shame it's one of the core modules that's giving me the most problems or indeed least help to fix it myself :P

A.O.B. This is what I get back as a URL when clicking on the 'General' link in the news block. (not sure if it means anything to you clever people?)
http://<server IP>:<server port>/cms/index.php?mact=News,cntnt01,default,0&cntnt01number=3&cntnt01detailpage=39&cntnt01category_id=1&cntnt01returnid=39

Thanks for looking and reading my really long post, I do hope it's a really short answer to fix it ;D


Last edited by SpudULike on Sun Apr 01, 2012 8:36 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: News detail is giving me a 404 error
PostPosted: Sun Mar 25, 2012 8:40 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 6576
Location: Fernie British Columbia, Canada
Hello.

Thank you for providing the information you did. With that information I am able to say with 95% certainty that you have deleted the page with the id of 39 from the installation.

Your page template(s) have a call to news like {news ... detailpage=some_alias} and the page with that alias (and also id=39) has been removed.

If you edit your detail template... find the {news ...} tag and either:
a: remove the detailpage=some_page stuff
or
b: change some_page to another 'existing' page, like 'home' (assuming a default installation).

It should work.

_________________
Follow me on twitter
--
if you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
----------------
Don't make me angry..... you won't like me when I'm angry....


Top
 Profile  
 
 Post subject: Re: News detail is giving me a 404 error
PostPosted: Mon Mar 26, 2012 5:41 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 5062
Location: The Netherlands
calguy1000 wrote:
...and the page with that alias (and also id=39) has been removed.
or deactivated...

_________________
Dutch CMSMS community website cmsms.nl and Wiki wiki.cmsms.nl
--------------------------
My CMSMS Tips and Tricks Weblog and website about Pneumatic Tube Systems / Rohrpost
My other (Dutch) website: Smakelijk eten zonder zout (Design: Compufairy)


Top
 Profile  
 
 Post subject: Re: News detail is giving me a 404 error
PostPosted: Wed Mar 28, 2012 10:05 pm 
Offline
New Member

Joined: Sun Mar 25, 2012 7:45 pm
Posts: 3
Cal,

I feel like I know you personally from reading so many of your posts, and they have been so very useful. Needless to say your reply was nothing short of perfect and it took me straight to the resolution.

Rolf, I'm not sure what the difference is between deleting and deactivating, but clearly I did something wrong and after following Cals advice it works perfectly.

Thank you

n.b. I'll update the thread to include [SOLVED]


Top
 Profile  
 
 Post subject: Re: News detail is giving me a 404 error
PostPosted: Thu Mar 29, 2012 4:53 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11812
Location: Arizona
viewtopic.php?f=8&t=13968

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting