DB_DataObject Gone Wild!
| From: | Justin Bastedo | Date: | Wed, 09 Feb 2005 21:44:00 +0000 |
| Subject: | DB_DataObject Gone Wild! | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-17462@lists.php.net to get a copy of this message | ||
I'm having some problems deploying a project using DB_DataObject to our
production server. It is working all fine and dandy on my local machine
(WinXP Pro, Apache+php 4.3.7 w/ MySQL). Now when I upload the project,
and reconfigured the paths to point to their new paths I get this when
trying to create my schemas and such.
# php createTables.php myconfig.ini
Content-type: text/html
X-Powered-By: PHP/4.3.2
Set-Cookie: PHPSESSID=f1203aab6ac2e4d5cbda24822382d6e8; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache
<code><B>db_dataobject_generator: 0:</B> CREATING FOR 0
</code><BR>
DB_DataObject Error: DB Error: not found
If I try to browse through a page that uses the data object I get the
following:
DB_DataObject Error: DB Error: not found
So I turned debugging up to level 5 and I get this:
<code><B>dataobjects_portfolio_clients: __find:</B> </code><BR>
<code><B>dataobjects_portfolio_clients: CONNECT:</B> NEW
CONNECTION</code><BR>
<code><B>dataobjects_portfolio_clients: CONNECT:</B> 1
c4ca4238a0b923820dcc509a6f75849b</code><BR>
<code><B>dataobjects_portfolio_clients: CONNECT:</B>
a:1:{s:32:"c4ca4238a0b923820dcc509a6f75849b";O:8:"db_error":8:{s:20:"err
or_message_prefix";s:0:"";s:4:"mode";i:1;s:5:"level";i:1024;s:4:"code";i
:-4;s:7:"message";s:19:"DB Error: not
found";s:8:"userinfo";s:43:"Unable
to include the DB/1.php file for
`1'";s:9:"backtrace";a:11:{i:0;a:6:{s:4:"file";s:86:"/home/httpd/vhosts/
blitzagency.com/subdomains/portfolio/httpdocs/admin/includes/DB.php";s:4
:"line";i:748;s:8:"function";s:10:"pear_error";s:5:"class";s:8:"db_error
";s:4:"type";s:2:"->";s:4:"args";a:5:{i:0;s:19:"DB Error:
not
found";i:1;i:-4;i:2;i:1;i:3;i:1024;i:4;s:43:"Unable to include the
DB/1.php file for
`1'";}}i:1;a:6:{s:4:"file";s:88:"/home/httpd/vhosts/blitzagency.com/subd
omains/portfolio/httpdocs/admin/includes/PEAR.php";s:4:"line";i:523;s:8:
"function";s:8:"db_error";s:5:"class";s:8:"db_error";s:4:"type";s:2:"->"
;s:4:"args";a:4:{i:0;i:-4;i:1;i:1;i:2;i:1024;i:3;s:43:"Unable to include
the DB/1.php file for
`1'";}}i:2;a:6:{s:4:"file";s:86:"/home/httpd/vhosts/blitzagency.com/subd
omains/portfolio/httpdocs/admin/includes/DB.php";s:4:"line";i:380;s:8:"f
unction";s:10:"raiseerror";s:5:"class";s:4:"pear";s:4:"type";s:2:"::";s:
4:"args";a:7:{i:0;N;i:1;i:-4;i:2;N;i:3;N;i:4;s:43:"Unable to include the
DB/1.php file for
`1'";i:5;s:8:"DB_Error";i:6;b:1;}}i:3;a:6:{s:4:"file";s:97:"/home/httpd/
vhosts/blitzagency.com/subdomains/portfolio/httpdocs/admin/includes/DB/D
ataObject.php";s:4:"line";i:1970;s:8:"function";s:7:"connect";s:5:"class
";s:2:"db";s:4:"type";s:2:"::";s:4:"args";a:1:{i:0;s:1:"1";}}i:4;a:4:{s:
8:"function";s:8:"_connect";s:5:"class";s:29:"dataobjects_portfolio_clie
nts";s:4:"type";s:2:"->";s:4:"args";a:0:{}}i:5;a:6:{s:4:"file";s:97:"/ho
me/httpd/vhosts/blitzagency.com/subdomains/portfolio/httpdocs/admin/incl
udes/DB/DataObject.php";s:4:"line";i:1681;s:8:"function";s:15:"debug_bac
ktrace";s:5:"class";s:29:"dataobjects_portfolio_clients";s:4:"type";s:2:
"->";s:4:"args";a:0:{}}i:6;a:4:{s:8:"function";s:5:"table";s:5:"class";s
:29:"dataobjects_portfolio_clients";s:4:"type";s:2:"->";s:4:"args";a:0:{
}}i:7;a:6:{s:4:"file";s:97:"/home/httpd/vhosts/blitzagency.com/subdomain
s/portfolio/httpdocs/admin/includes/DB/DataObject.php";s:4:"line";i:387;
s:8:"function";s:15:"debug_backtrace";s:5:"class";s:29:"dataobjects_port
folio_clients";s:4:"type";s:2:"->";s:4:"args";a:0:{}}i:8;a:4:{s:8:"funct
ion";s:4:"find";s:5:"class";s:29:"dataobjects_portfolio_clients";s:4:"ty
pe";s:2:"->";s:4:"args";a:0:{}}i:9;a:6:{s:4:"file";s:100:"/home/httpd/vh
osts/blitzagency.com/subdomains/portfolio/httpdocs/admin/modules/Portfol
io/clients.php";s:4:"line";i:22;s:8:"function";s:15:"debug_backtrace";s:
5:"class";s:29:"dataobjects_portfolio_clients";s:4:"type";s:2:"->";s:4:"
args";a:0:{}}i:10;a:4:{s:4:"file";s:93:"/home/httpd/vhosts/blitzagency.c
om/subdomains/portfolio/httpdocs/admin/portfolio_settings.php";s:4:"line
";i:166;s:4:"args";a:1:{i:0;s:100:"/home/httpd/vhosts/blitzagency.com/su
bdomains/portfolio/httpdocs/admin/modules/Portfolio/clients.php";}s:8:"f
unction";s:7:"include";}}s:8:"callback";N;}}</code><BR>
DB_DataObject Error: DB Error: not found
Google wasn't much help either, only reference on this stuff I could
find seemed to be issues with bugs in the newest php (4.3.10).
I'm just not sure where to look to start debugging this issue any help
will be greatly appreciated.
<http://www.blitzagency.com>
Justin Bastedo
Developer
justinb@blitzagency.com
p 310-551-0200 x221
f 310-551-0022
405 S Beverly Drive, 3rd Floor - Beverly Hills, CA 90212