Re: [Phpslash-devel] PHP Notice Errors
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-10-19 15:02:21
|
On Sat, Oct 18, 2003 at 04:14:51PM -0400, Mike Gifford wrote: > Howdy Joe, > > On Fri, 2003-10-17 at 10:10, Joe Stewart wrote: > > On Thu, Oct 16, 2003 at 12:34:42PM -0400, Mike Gifford wrote: > > > Index: functions.inc > > > =================================================================== > > > RCS file: /cvsroot/back-end/back-end0.5.x/class/functions.inc,v > > > retrieving revision 1.53 > > > diff -r1.53 functions.inc > > > 617c617 > > > < $templ->set_var('XSITEOBJECT', $metaobject['object']); > > > --- > > > > $templ->set_var('XSITEOBJECT', @$metaobject['object']); > > > 811c811,812 > > > > I thought this one was fixed by testing if metaobject is an array. > > Evan noticed it, so I'm assuming that it poped up somewhere as a warning > or notice. I've cc'd him.. Perhaps the object isn't defined on one of > our pages (in which case it's our problem & not yours). > > > > Index: lib.resources.php > > > =================================================================== > > > RCS file: /cvsroot/back-end/back-end0.5.x/class/lib.resources.php,v > > > retrieving revision 1.4 > > > diff -r1.4 lib.resources.php > > > 444c444 > > > < $ans = $GLOBALS['_PSL']['resources'][$urn] ? true : false; > > > --- > > > > $ans = @$GLOBALS['_PSL']['resources'][$urn] ? true : false; > > > > This is one of those screwy php things. Anybody got a better way to get > > rid of the warning? > > Rather than just squish them? > Yes, rather than just ignore, I've been trying to make sure a variable is in use. > I hadn't actually wondered around the phpslash-dev cvs before. Wow, it > looks a lot different. Looks quite exciting where you are taking > things. Any plans on when you'll be able to release it. > No. It needs wider testing. I'm deploying it in a couple of ways. > btw, in trying to actually run it (rather than scan the directories) I > ran into a problem with the the sql slash-all.sql I assume that there > are changes in the cvs version of the sql and that this is what I should > install to test it out. > definitely a different sql file ( lots more blocks). There is no upgrade script yet either. Joe > 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 > |