PDA


View Full Version : Warning: Invalid argument supplied for foreach() in /includes/functions_links.php


Peter Walker
01-26-2006, 06:41 PM
Hi,
my forum has a problem when calling the links directory when not logged in:

http://www.rifeforum.com

When I call the links directory while logged into the forum, I have no problems.

When I call exactly the same page as an unregistered used, I get the following error:
http://www.rifeforum.com/links/index.php

Warning: Invalid argument supplied for foreach() in /includes/functions_links.php on line 561

I did find the following thread, but it did not help
http://www.vbadvanced.com/forum/showthread.php?t=9854

Any ideas?

Regards

Peter

Peter Walker
01-26-2006, 07:18 PM
However, when I click on one of the "forums" in the links directory, I get an error if I am logged in or not:

Warning: Invalid argument supplied for foreach() in /includes/functions_links.php on line 633

Warning: Invalid argument supplied for foreach() in /includes/functions_links.php on line 633
(error message appears twice)

http://www.rifeforum.com/links/browselinks.php?c=2

What am I doing wrong?

Regards

Peter

Brian
01-26-2006, 07:32 PM
Go into your admin cp and save one of your directories so that the directory cache will be updated and see if that helps.

Peter Walker
01-26-2006, 10:09 PM
Thanks - that did help!