Skinbase.org Skinbase.org

news.rss file error

By yuri
3,690 views 6 replies
visi avatar
visi
Member
OP
Same problem. Any body help me?
peter_vazed avatar
peter_vazed
Member
Just do not know if this will solve the problem, but browsing this forum i found this: <br />1/ <br /> After few minutes try to figure out what´s wrong with RSS I found error in function.php, function MakeRSS. This IF statement is wrong: <br /> <br />if(!$fps = fopen($GLOBALS[´rss_path´].&quot;/$arn[filename]&quot;,&quot;w&quot; && file_exists($GLOBALS[´rss_path´].&quot;/$arn[filename]&quot;) <br />the`has to be &acute; <br /> <br />and <br />2/ <br />FUNCTIONS <br />wrong with RSS I found error in function.php, function MakeRSS. This IF statement is wrong: <br /> <br />if(!$fps = fopen($GLOBALS[´rss_path´].&quot;/$arn[filename]&quot;,&quot;w&quot; && file_exists($GLOBALS[´rss_path´].&quot;/$arn[filename]&quot;) <br />if(!$fps = fopen($GLOBALS[&acute;rss_path&acute;].&quot;/$arn[filename]&quot;,&quot;w&quot;) && file_exists($GLOBALS[&acute;rss_path&acute;].&quot;/$arn[filename]&quot;)) <br />this is OK <br /> <br />:car
johnny_vegas avatar
johnny_vegas
Member
stupid smilies. they ruin the code. <br /> <br />; <br /> <br />;)
peter_vazed avatar
peter_vazed
Member
In the code <br />the`has to be &acute; <br />The wrong keyboard button has be used: the one at the left up to the TAB button <br />there you have ~ and ` this is the wrong one. <br />It has to be the one next to the big enter button where you have &quot; and &acute; <br />this &acute; is correct. <br /> <br />:car
johnny_vegas avatar
johnny_vegas
Member
Peter, the code in my functions.php file seems to be correct. Maybe they fixed that mistake in a newer version? In any case, I don&acute;t have a ` in my code but the news.rss file is still not being updated. Not sure why.
polaris avatar
polaris
Member
You just need to comment/delete this IF statement mention above. Also don&acute;t forget to comment/delete open and close brackets for that IF statement - { and } <br /> <br />Regards.
polaris avatar
polaris
Member
and put something like this in new line <br /> <br />$fps = fopen($GLOBALS[&acute;rss_path&acute;].&quot;/$arn[filename]&quot;,&quot;w&quot;); <br /> <br />Regards <br /> <br />P.S. Maybe this code will be mixed up because those damn emoticons!
Sign in to post a reply.