Call to undefined function dbase_open()

Do you have questions regarding other database enginges (not MySQL) -- ask here!

Moderators: macek, egami, gesf

gaseabra
New php-forum User
New php-forum User
Posts: 2
Joined: Wed May 23, 2012 1:06 pm

Call to undefined function dbase_open()

Postby gaseabra » Wed May 23, 2012 1:17 pm

Hey guys,

for starters I'm using php 5.3.8 with lampp on a Ubuntu 11.04 desktop. I wrote a script to open dbase .dbf files and save them in a MySQL database. I get the following error:

Fatal error: Call to undefined function dbase_open() in /opt/lampp/htdocs/yoursite/db/import/import_doctors.php on line 16

There are several solutions for the problem on google, but they date from 2006 to older. Much has changed in the php world since then.

I've already installed the package php-db, but it didn't do any good. Does anyone have an idea of how to solve this issue?

Thanks in advance.

User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: Call to undefined function dbase_open()

Postby egami » Fri May 25, 2012 4:51 am

did you restart the webserver after you installed it?

gaseabra
New php-forum User
New php-forum User
Posts: 2
Joined: Wed May 23, 2012 1:06 pm

Re: Call to undefined function dbase_open()

Postby gaseabra » Fri May 25, 2012 5:06 am

egami wrote:did you restart the webserver after you installed it?


What do you call "it"? I've been using this webserver since months. As for the dbase extension, php 5.3.8 no longer supports it as I found out some days ago.


Return to “Other Database Engines”

Who is online

Users browsing this forum: No registered users and 2 guests