RE: [PEAR] after installation of pear - only a white screen in the Browser

From: Date: Tue, 25 Mar 2003 20:18:36 +0000
Subject: RE: [PEAR] after installation of pear - only a white screen in the Browser
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4420@lists.php.net to get a copy of this message
Well, use prints to find where is your PHP script failing... It's a very modern debugging technique :-) Then I'm sure someone will be able to help after you find out what is the problem... -----Original Message----- From: Pfeiffer-Koberstein Immobilien GbR - Ralf Pfeiffer [mailto:ralf.pfeiffer@hohenloher-immobilien.de] Sent: Tuesday, March 25, 2003 5:07 PM To: pear-general@lists.php.net Cc: luis Subject: Fw: [PEAR] after installation of pear - only a white screen in the Browser both appears: I live Then I exist ----- Original Message ----- > From: luis <luis@fuegolabs.com> > To: 'Pfeiffer-Koberstein Immobilien GbR - Ralf Pfeiffer' > <ralf.pfeiffer@hohenloher-immobilien.de>; <pear-general@lists.php.net> > Sent: Tuesday, March 25, 2003 8:45 PM > Subject: RE: [PEAR] after installation of pear - only a white screen in the > Browser > > > > My guess is that the require_once statements is being unable to include > > DB.php > > > > Try: > > <?php > > print("I live<br/>"); > > require_once("DB.php"); > > print("Then I exist<br/>"); > > ?> > > > > The second print should not appear if PHP is unable to find DB.php. > > > > Luis. > > > > -----Original Message----- > > From: Pfeiffer-Koberstein Immobilien GbR - Ralf Pfeiffer > > [mailto:ralf.pfeiffer@hohenloher-immobilien.de] > > Sent: Tuesday, March 25, 2003 4:23 PM > > To: pear-general@lists.php.net > > Subject: [PEAR] after installation of pear - only a white screen in the > > Browser > > > > Hello, > > > > after I installed Pear, I tried to make run the following little > > Example, > > but I got only a white screen in my windows explorer, no error-message, > > nothing. > > > > The configuration must be correct: include_path in the php.ini and > > "extension=php_domxml.dll" is activated. > > > > Anybody has an idea, what's missing here? > > > > Thanks > > > > <?php > > require_once("DB.php"); > > $dsn = "mysql://$user:$pass@$host/$db_name"; > > $db = DB::connect($dsn); > > if(DB::isError($db)) { > > die ($db->getMessage()); > > } > > ?> > > > > > > -- > > PEAR General Mailing List (http://pear.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pear.general (#4420) next »