[Phpslash-devel] Re: Odd Problems with Comments
Brought to you by:
joestewart,
nhruby
From: Mike G. <mi...@op...> - 2003-10-22 16:59:24
|
Hi Matthew, the (array) function changed, but didn't resolve the problem with lib.resources.php > > > 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) { > > Made the change as outlined and get the warning shown below:- > =================== > Warning: in_array() [function.in-array]: Wrong datatype for second > argument in /home/harbour/class/lib.resources.php on line 349 > > Warning: load_resource(Array) [function.load-resource]: failed to create > stream: No such file or directory in /home/harbour/class/lib.resources.php > on line 350 > > Warning: load_resource() [function.load-resource]: Failed opening 'Array' > for inclusion (include_path='.:/usr/local/apache/php/lib/php') in > /home/harbour/class/lib.resources.php on line 350 > ==================== > > The above is repeated a number of times! Don't know how far this gets us! > > regards > Rob -- Mike Gifford, OpenConcept Consulting Free Software for Social Change -> http://www.openconcept.ca Beads of Hope Campaign - http://uc.openconcept.ca/petition.php Nonconformity is the highest evolutionary attainment of social animals - Aldo Leopold |