[pmwiki-users] RSS Feeds not working

Sandy sandy at onebit.ca
Fri Dec 15 13:44:39 CST 2006


Sandy wrote:
> Patrick R. Michaud wrote:
>> On Fri, Dec 15, 2006 at 12:56:01PM -0500, Sandy wrote:
>>> I'm positive I had it working once.
>>>
>>> Using Firefox 2.0 and
>>> pmwiki-2.2.0-beta17.
>>>
>>>
>>> Site is
>>> http://www.cricket.onebit.ca/Site/AllRecentChanges?action=rss.
>>>
>>>
>>> The local/config.php file has:
>>>
>>> if ($action == 'rss') include_once("$FarmD/scripts/feeds.php");
>>> if ($action == 'atom') include_once('$FarmD/scripts/feeds.php');
>>> if ($action == 'rdf') include_once('$FarmD/scripts/feeds.php');
>>> if ($action == 'dc') include_once('$FarmD/scripts/feeds.php');
>> This certainly isn't the source of the problem, but you probably
>> want double-quotes around $FarmD/scripts/feeds.php in the atom/rdf/dc
>> lines.
>>
>> I don't really know where the blank lines are coming from.
>> Perhaps a recipe somewhere, or one of the customizations?
>>
>> Would it be possible to test it on a fresh 2.2.0.beta-17 install?
>>
>> Pm


Found it!!!

Both farmconfig.php and local/config.php had some blank lines before
<?php if (!defined('PmWiki')) exit();

Blank space doesn't matter, right? It's PHP, not Python.

Sandy





More information about the pmwiki-users mailing list