[Bug 641202] Re: Invalid Type db4 to create db with php
Skymathrix
641202 at bugs.launchpad.net
Fri Dec 2 02:20:24 UTC 2016
** Changed in: db4.8 (Ubuntu)
Assignee: (unassigned) => Skymathrix (asstaroid)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to db4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/641202
Title:
Invalid Type db4 to create db with php
Status in db4.8 package in Ubuntu:
New
Bug description:
Binary package hint: libdb4.8
I have found some php skrit not working anymore with lucid so I
debugged the code an found out that the php code like:
<?php
$dbh = dba_open( "test.db", "c", "db4") or die( "Couldn't open Database" );
?>
leads to this error:
php test.php
PHP Notice: dba_open(): fop_read_meta: /home/user/test.db: unexpected file type or format in /home/user/test.php on line 2
PHP Notice: dba_open(): /home/user/test.db: Invalid type 5 specified in /home/user/test.php on line 2
PHP Warning: dba_open(test.db,c): Driver initialization failed for handler: db4: Invalid argument in /home/user/test.php on line 2
Couldn't open Database
after upgrade libdb4.8 with the one from maverik
(libdb4.8_4.8.30-1_i386.deb) it works again.
Cherrs,
Brill
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/db4.8/+bug/641202/+subscriptions
More information about the foundations-bugs
mailing list