Invalid Type db4 to create db with php

Bug #641202 reported by Brill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
db4.8 (Ubuntu)
New
Undecided
Rahmadani bayu aji

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

Changed in db4.8 (Ubuntu):
assignee: nobody → Skymathrix (asstaroid)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.