Error 404 for detailed News

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
mamisoft

Error 404 for detailed News

Post by mamisoft »

Hi,

I just installed cmsms 1.0.2. I edited the startpage (new content) and placed a new article for the news. I filled both the summary and the content sector.

When refreshing my startpage, the news is displayed, but clicking on more... or on the headline a 404 Error: Page not found appears.

Same happens to the standard news (by clicking the headline).

Do I have to change something for the Detail Page???

Thank's for your help.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Error 404 for detailed News

Post by Dr.CSS »

What does the News tag look like?
mamisoft

Re: Error 404 for detailed News

Post by mamisoft »

The link looks like this:

http://www.projekt-koffer.de/index.php? ... eturnid=39

I made no changes to the news tag.

Summary template:


{foreach from=$items item=entry}


{if $entry->formatpostdate}

{$entry->formatpostdate}

{/if}


{$entry->titlelink}



{$category_label} {$entry->category}


{if $entry->author}

{$author_label} {$entry->author}

{/if}

{if $entry->summary}

{eval var=$entry->summary}



[{$entry->morelink}]


{else if $entry->content}


{eval var=$entry->content}

{/if}


{/foreach}


Detail template:
{if $entry->formatpostdate}

{$entry->formatpostdate}

{/if}
{$entry->title}



{if $entry->summary}


{eval var=$entry->summary}


{/if}

{if $entry->category}

{$category_label} {$entry->category}

{/if}
{if $entry->author}

{$author_label} {$entry->author}

{/if}


{eval var=$entry->content}



{$entry->printlink}

{if $return_url != ""}
{$return_url}
{/if}
mamisoft

Re: Error 404 for detailed News

Post by mamisoft »

Hi again...

I added some new pages, now the news is working. That's all what I did, maybe there is a problem if only the startpage is activated??? No everything is working and this topic can be closed...

Thanks anyway.
gottabekd

Re: Error 404 for detailed News

Post by gottabekd »

I signed up for the forum just to answer this...

I ran in to the exact sample problem.  The detailed news returned a 404 error.

The problem was that I was using the "Left simple navigation + 1 column" template.  There is already a "News" in the template, with a tag for the news module.  However, the news tag had the detailpage="news" option set.  I did not have a "news" page.

The solution?  Remove the detailpage option.  I changed the news tag to look like "{news limit=3}" in the template file.
Locked

Return to “CMSMS Core”