Re: [Phpslash-devel] Odd Problems with Comments
Brought to you by:
joestewart,
nhruby
From: Matthew L. <lei...@ma...> - 2003-10-21 16:27:35
|
On Tue, 2003-10-21 at 09:09, Mike Gifford wrote: > Hi Folks, Hi! > This is a Back-End problem using psl code. I just had one of my users > check out psl 7.2 on their server and it is working just fine. The BE > comment code is based on psl 0.7.1. > > The problem is that in posting comments to the poll or to articles the > user gets a very, very long string of errors: You mean a very, very long string of warnings, don't you? :-) > > > The comment function which gives > > > the following error on a loop with about 1138 entries > > > when previewing or posting:- > > > -------------- > > > Warning: Invalid argument supplied for foreach() in > > > /home/harbour/class/lib.resources.php on line 343 > > > -------------- > > This refers to the following foreach in the lib.resources.php > > > foreach($requirements as $req) { You might could change this to foreach((array)$requirements as $req) { See if that works. --Matt -- Matthew Leingang Harvard University Department of Mathematics lei...@ma... |