New version, new problem

The place for "I can't figure out how to..." questions.
Post Reply
Posts: 1
Joined: Mon Jul 29, 2013 4:49 am
Are you a spambot?: no

New version, new problem

Post by gigadreamer » Mon Jul 29, 2013 5:21 am

A php4 Server was upgraded to php5 with a new mysql version, so the getid3 libraries was also updated.
With the Version 1.7.9 I get an error when trying to work into the mysql db:

here's the code:
$getID3 = new getID3_cached_mysql($mysqlhost,$mysqldb,$mysqluser,$mysqlpass); <-- Fatal error: Call to undefined method getID3::getID3() in /webserverpath/libraries/getid3/extension.cache.mysql.php on line 115

it seems to sucefully create the table and insert the first row with the script Version. What could it be?

James Heinrich
getID3() v1 developer
Posts: 1477
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada

Re: New version, new problem

Post by James Heinrich » Mon Jul 29, 2013 1:27 pm

I assume you mean v1.9.7 (not 1.7.9)

The call to parent::getID3() should be changed to parent::__construct()

Patched in ... d979324e0c

Post Reply