Odd Problems with Comments
Mike Gifford <[email protected]> Tue, 21 Oct 2003 09:09:21 -0400
| Newsgroups | gmane.comp.cms.phpslash.devel |
|---|---|
| Organization | OpenConcept Consulting http://www.openconcept.ca |
| Message-ID | <[email protected]> |
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
-------------------------------------------------------
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