Re: Odd Problems with Comments

Mike Gifford <[email protected]> Wed, 22 Oct 2003 12:24:03 -0400
Newsgroups gmane.comp.cms.phpslash.devel
Organization OpenConcept Consulting http://www.openconcept.ca
Message-ID <[email protected]>
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




-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54