[Phpslash-devel] Odd Problems with Comments
Brought to you by:
joestewart,
nhruby
From: Mike G. <mi...@op...> - 2003-10-21 15:40:58
|
Hi Folks, 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: > > 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) { > if (is_urn($req)) { > load_resource($req); > } > else { > $includedFiles = get_included_files(); > if (!in_array($req,$includedFiles)) { > if (!include_once($req)) { > pslError("Include failed: $req."); > $success = false; > } > else { > // debug($fs,"$req successfully loaded"); > } > } > else { > // debug($fs,"$req already loaded"); > } > } > } > } I don't know why this appears on the users system, but not on the cvs-demo of the code: http://cvs-demo.back-end.org/index.php//4 I thought that it might just be a problem with their firewall, but psl works, so that doesn't make much sense.. Anyone have any ideas what might be up? Mike -- 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 |