Re: DB_DataObject erro
| From: | standerby | Date: | Tue, 11 Dec 2007 21:53:41 +0000 |
| Subject: | Re: DB_DataObject erro | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28312@lists.php.net to get a copy of this message | ||
Hello Markus,
It works! Thanks. Do you know why got I got the following error?
Thanks
DataObjects_Brands: CONNECT FAILED: [db_error: message="DB Error: extension
not found" code=-25 mode=return level=notice prefix="" info=" [DB Error:
extension not found] ** mssql://test:test@localhost/playw"]
Markus Fischer-5 wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> standerby wrote:
>> <?php
>>
>> DB_DataObject::debugLevel( 5 );
>>
>> $options = &PEAR::getStaticProperty('DB_DataObject','options');
>> $options = array(
>> 'database' => 'mssql://test:test@localhost/playw',
>> 'schema_location' =>
>> 'C:/website/dataobjects/DataObjects/schema/',
>> 'class_location' => 'C:/website/dataobjects/DataObjects/',
>> 'require_prefix' => 'C:/website/dataobjects/DataObjects/',
>> 'class_prefix' => 'DataObjects_',
>> );
>
> I've newer used debugLevel the way you used it. I either set
> "debugLevel" inside $options to 5 or
>>
>> $zipcodes = DB_DataObject::factory('TblZipcodes');
>
> $zipcodes->debugLevel(5);
>
> should work too.
>
> hope that helps,
> - - Markus
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHXv/a1nS0RcInK9ARAo20AKDdHEA0Qa3ilLY5rJLlfzt9E522wgCfaexb
> FPB3i5JBGeie/cMxkxu3BAI=
> =hGFC
> -----END PGP SIGNATURE-----
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
View this message in context: http://www.nabble.com/DB_DataObject-erro-tp14280458p14284321.html
Sent from the Pear - General mailing list archive at Nabble.com.