[solved] CGFeedMaker - Error 404 for rss feed file

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.
Post Reply
Didjeko
New Member
New Member
Posts: 4
Joined: Wed Sep 12, 2012 10:16 pm

[solved] CGFeedMaker - Error 404 for rss feed file

Post by Didjeko »

Hi

I encouter a problem with CGFeedMaker : it does not seem to create the rss file, and I really don't understand why after a lot of search and debug by myself.
I use CMSMS 1.11.2.1, CGFeedMaker 1.0.17. I would like to implement RSS feeds so I begin by making some tests using the default templates and configuration.
I followed scrupulously the documentation and put the related tags in the head for autodiscovery and in the body for the rss feed, for the news, in the home page of my local website (I have the installed default pages and themes). The html tags are both correctly generated, but the rs file is not created so when I click on the RSS link, the result is a 404 error : file not found.
I have the problem on my local test site as well as on my real site, who is not inline by now (very soon I hope) !
I don't understand my mistake. And the pretty urls are well configured.
So first I verified all and put some 'echo' in the source code to see what happens, and I noticed this :
the generation of the .rss file is done by action.default.php, but it seems that it is never called by the two other actions. The other actions ('autodiscovery' ' and 'rsslink' only generate the dedicated html tags.
I tried to put {CGFeedMaker action='default'} in my body, and it generated the rss file directly in the page, thus breaking it - anyways, it does the genrating job !
So please could someone tell me where I'm wrong ?
Many thanks
edit : .htaccess RewriteRule issue
User avatar
DaRichMan
Forum Members
Forum Members
Posts: 64
Joined: Mon Oct 20, 2008 11:31 am

Re: [solved] CGFeedMaker - Error 404 for rss feed file

Post by DaRichMan »

Think I have a same kind of problem. RSS file isn't created. Created the feeds folder myself chmod to 777. Created the RSS file manual also chmod to 777.
Still no RSS :'(
IE gives me an error in Dutch in the title 'Fout in code van feed'
Error in code of the feed.
Didjeko
New Member
New Member
Posts: 4
Joined: Wed Sep 12, 2012 10:16 pm

Re: [solved] CGFeedMaker - Error 404 for rss feed file

Post by Didjeko »

My problem was not directly related to the rss generation, it was a problem with a rewrite rule in the .htacess file : the following rule for prety urls didn't worked and caused the issue :

Code: Select all

RewriteRule ^(.+).html$ index.php?page=$1 [QSA]
I replaced it with

Code: Select all

RewriteRule ^(.+)$ index.php?page=$1 [QSA]
and it worked.
My mistake has been to follow the rule in the french cmsms faq, which was obsolete.
Hope that this helps
User avatar
DaRichMan
Forum Members
Forum Members
Posts: 64
Joined: Mon Oct 20, 2008 11:31 am

Re: [solved] CGFeedMaker - Error 404 for rss feed file

Post by DaRichMan »

Dear Didjeko,

Reinstalled the module and now it works. But thanx anyway for you're reply.
Post Reply

Return to “CMSMS Core”