RSS Problems

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
berr0l
Posts: 3
Joined: Thu 13. Oct 2005, 09:29

RSS Problems

Post by berr0l »

Hi everybody,

I'm using PHPWCMS with very much pleasure!
But now i want to use RSS feeds.
I took a valid RSS-url, but i'm getting the same error message all over again.

Error:
[13-Oct-2005 09:26:07] PHP Warning: Wrong parameter count for array_merge() in c:\phpdev\www\include\inc_front\front.func.inc.php on line 2861
[13-Oct-2005 09:26:07] PHP Warning: Wrong parameter count for array_merge() in c:\phpdev\www\include\inc_front\front.func.inc.php on line 2862

Problem occurs at these lines:
$RSSresult['ITEMS'] = array_merge(array_slice($rss, $level - 2));
$RSSresult['FEEDINFO'] = array_merge(array_slice($rss, 0, $level - 2));

Does anyone know how to solve this?
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

try new CVS version of that file - hope it's solved.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Locked