NYCPHP Meetup

NYPHP.org

[nycphp-talk] PEAR Error Message

Phil Duffy phil at bearingasset.com
Thu Oct 12 16:27:02 EDT 2006


Tim and Jon,

> -----Original Message-----
> From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
> On Behalf Of Tim Lieberman
> Sent: Thursday, October 12, 2006 1:44 PM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] PEAR Error Message
> 
> Stick something like
> DB_DataObject::debugLevel(5);
> 
> in a global config file, and then scan the output until you see
> something red.
> 
> -Tim

Thanks for making the attempt to bring me up to speed, but this issue
appears to be beyond my level.  I certainly understand the concept of
configuration files and have edited them, but to my way of thinking there
would be only one active PEAR configuration file.  When I reviewed the PEAR
Manual, I saw how configuration directives could be written, but could get
no sense for where the file was located/what it was named.  I came to the
conclusion that I really didn't understand "Stick something like
DB_DataObject::debugLevel(5); in a global config file" and I appreciate that
if I can't understand that, I am over my head.

Again, thanks for trying.

Phil
> 
> Phil Duffy wrote:
> 
> > I have received the following PEAR error message, but can't interpret
> > it because there are many places where I am using a 'get':
> >
> > *MESSAGE*: DB_DataObject Error: No Value specified for get
> > *TYPE:* PEAR
> > *DEBUG INFO:*
> > *CODE:* -1
> >
> > I have also tried bracketing the error, but that has not been helpful
> > to this point.
> >
> > I recognize the Code = -1 as a failure signal, but the challenge is
> > that there is no debug information accompanying it. The framework
> > (Seagull) log gives no indication of an error. Have I failed to set an
> > appropriate parameter to allow Debug Info to display, does PEAR have a
> > unique log I am not seeing, or is there another way to investigate
> > this error?
> >
> > Many thanks for your help.
> >
> > Phil Duffy
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >New York PHP Community Talk Mailing List
> >http://lists.nyphp.org/mailman/listinfo/talk
> >
> >NYPHPCon 2006 Presentations Online
> >http://www.nyphpcon.com
> >
> >Show Your Participation in New York PHP
> >http://www.nyphp.org/show_participation.php
> >
> >
> 
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
> 
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php







More information about the talk mailing list