Page 1 of 1

RSS issues

Posted: Thu Jul 07, 2005 1:27 pm
by tylerf
I finally have a site started out after a hellish weekend of finding out first of all what PHP and MySQL were let alone getting them to work together. But now I have started to play around with the thought of having RSS, and its being quite unfriendly to me.

inside my template i have
{cms_module module="rss" url="http://rss.cbc.ca/torontonews.xml" numbertoshow="5"}

but when i try to view the site i get and error
Cache couldn't make dir 'c:\Inetpub\wwwroot/smarty/cms/cache'. Cache unable to open file for writing: c:\Inetpub\wwwroot/smarty/cms/cache\6625c4ee9abb63ad55c3a43ffc4dae84
I dont have a smarty folder inside wwwroot or anywhere else, there was never one in there, so what should i do?

thanks in advance

Re: RSS issues

Posted: Thu Jul 07, 2005 1:47 pm
by Ted
That bug was fixed in 0.10.

If you want to fix it yourself in 0.9.2, edit modules/RSS/RSS.module.php and change:

Code: Select all

define('MAGPIE_CACHE_DIR', $config["root_path"].'/smarty/cms/cache');
to

Code: Select all

define('MAGPIE_CACHE_DIR', $config["root_path"].'/tmp/cache');
Or. just upgrade to 0.10.  :)

Re: RSS issues

Posted: Thu Jul 07, 2005 3:21 pm
by tylerf
Hey thanks! it worked like a charm... now all i need is a good place to get Canadian news without having to register with anyone.

Any ideas?
thanks

Re: RSS issues

Posted: Thu Jul 07, 2005 3:48 pm
by Alex_Leipzig