Page 1 of 1

CG Feedmaker autodiscovery/rsslink renders 404 Page Not Found in IE

Posted: Wed Oct 21, 2009 3:31 am
by jab
I am running CGFeedmaker 1.0.8, CMSMS 1.6.6, CGExtensions 1.17.4, CGSimpleSmarty 1.4.3, Blogs 0.3.3.1, News 2.10.3 on PHP 5.2.6, MySQL, 4.1.2.2, Not using Pretty URLs

I created a blog page using "Blogs Made Simple" module and added the CGFeedmager autodiscovery and rsslinks to the page. When I click either rss icon/link, I get a blank page or 404 Page Not Found error in Internet Explorer.

Error detail indicates - XML document must have a top level element.
Line: 0 Character: 0

The URL for the blank page is http://www.mydomain.com/index.php?mact= ... eturnid=47

My actual content ID is 62 on the page that contain the RSS icon/links.

I fixed the bad C-Data code for the description, added checked and double checked the tags, everything. I am using the provided "blogs" template.

{* original rss feed template *}


 
    {$feed.title}
    {if isset($feed.link) && !empty($feed.link)}{$feed.link}{/if}
    {if isset($feed.description) && !empty($feed.description)}{$feed.description}{/if}
    {if isset($feed.copyright) && !empty($feed.copyright)}{$feed.copyright}{/if}
    {if isset($generator)}{$generator}{/if}
    {if isset($feed.managing_editor) && !empty($feed.managing_editor)}{$feed.managing_editor}{/if}
    {if isset($admin_email)}{$admin_email}{/if}
    {if isset($feed.image) && !empty($feed.image)}
     
{if isset($feed.description) && !empty($feed.description)}{$feed.description}{/if}
        {if isset($feed.link) && !empty($feed.link)}{$feed.link}{/if}
        {$feed.title}
        {$file_location}/{$feed.image}
     
    {/if}

    {* an example of how to create a feed from a call to the news module *}
    {* you can use any smarty variable that is available in the news summary template *}
    {* you can substitute this logic with output from any module that supports a summary
      view, or possibly get artistic and mix output from different modules *}
    {Blogs assign='junk'}
    {foreach from=$items item='entry'}
   
title}]]>
{$entry->entryurl}
{$entry->entryurl}
        {$entry->author}
{$entry->$entry->time|date_format}
{* categorylink}]]> *}
truncatedtext|strip_tags|summarize:80}]]

    {/foreach}
 


Regards,
Jab

Re: CG Feedmaker autodiscovery/rsslink renders 404 Page Not Found in IE

Posted: Wed Oct 21, 2009 3:50 am
by JeremyBASS
read here and make the changes as needed... that should help...

http://forum.cmsmadesimple.org/index.ph ... #msg181225

Cheers
Jeremy

Re: CG Feedmaker autodiscovery/rsslink renders 404 Page Not Found in IE

Posted: Wed Oct 21, 2009 4:49 am
by jab
Thanks - However, code in your reference post is related to sitemap not RSS feeds. I'm don't know how it relates or what to do with it.

-Jab

Re: CG Feedmaker autodiscovery/rsslink renders 404 Page Not Found in IE

Posted: Wed Oct 21, 2009 5:09 am
by calguy1000
I fixed a 404 problem with katea earlier this week with CGFeedmaker that was due to an erroneous line in the .htaccess when pretty urls were applied.

Please revert to the CMSMS standard .htaccess file (backup yours first)... to see if that is the problem.

Re: CG Feedmaker autodiscovery/rsslink renders 404 Page Not Found in IE

Posted: Wed Oct 21, 2009 5:14 am
by JeremyBASS
:d calguy be me to it... lol.... sorry about the bad like.. pulled it from the wrong tab..  ;D

Re: CG Feedmaker autodiscovery/rsslink renders 404 Page Not Found in IE

Posted: Wed Oct 21, 2009 5:16 am
by jab
Since I'm not using pretty URLs, I don't see how this will solve my problem.

Re: CG Feedmaker autodiscovery/rsslink renders 404 Page Not Found in IE

Posted: Wed Oct 21, 2009 5:19 am
by JeremyBASS
this is a few postes down...

http://forum.cmsmadesimple.org/index.ph ... #msg181386

the link I meant to send :D

Re: CG Feedmaker autodiscovery/rsslink renders 404 Page Not Found in IE

Posted: Wed Oct 21, 2009 5:22 am
by jab
Do I have to set pretty URLs for this to Work? If so, this will be a problem for me. Also, not sure how to go about doing it. I would have hoped it would work for standard URLs. It appears that the autodiscovery/rsslink functions are missiing what is required to call the rss function or not using the templates in the CGfeedmaker.

-Jab

Re: CG Feedmaker autodiscovery/rsslink renders 404 Page Not Found in IE

Posted: Wed Oct 21, 2009 5:25 am
by JeremyBASS
pretty url's are easy to do.... here read this from the wiki

http://wiki.cmsmadesimple.org/index.php ... ty_URL.27s

Re: CG Feedmaker autodiscovery/rsslink renders 404 Page Not Found in IE

Posted: Wed Oct 21, 2009 6:18 am
by jab
Thanks - I will look into Pretty URLS and Mod_Rewrite. However, I really wish this could be fixed to work with standard URLs as I have many pages on my site and active users 24x7. So, I don't want to screw something up.

-Jeff