Page 1 of 1

Upgrade error when trying to upgrade from 0.12 to 1.04

Posted: Thu Jan 25, 2007 7:43 pm
by thune
When I try to access the website.com/install/upgrade.php script I just get:

Fatal error: Class mysql_date_extender: Cannot inherit from undefined class mysql_mysql_driver_adoconnection in /home2/website/public_html/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_date_module.inc(11) : eval()'d code on line 1

Somebody got a clue?

Øystein

Re: Upgrade error when trying to upgrade from 0.12 to 1.04

Posted: Thu Jan 25, 2007 8:01 pm
by Dee
It looks like adodb_lite didn't get uploaded correctly.
Deleting the lib/adodb_lite folder on the server and uploading the one from the archive should fix it.

Regards,
D

Re: Upgrade error when trying to upgrade from 0.12 to 1.04

Posted: Thu Jan 25, 2007 10:24 pm
by thune
Hey, thanks. You were right. I looked at it and the reason was that the FTP program converted all capital letters to small letters. Upgrade went smoothly now. In fact, I'm kind of impressed  :)

Re: Upgrade error when trying to upgrade from 0.12 to 1.04

Posted: Sun Mar 18, 2007 3:58 am
by seafurymike
Hey guys,

I am having problems with the same thing.
I downloaded and re-applied it LIB and I still see the same problem.

I actually believe my issue is due to the fact that the Dbase is not called mysql, but db1075285, from my hosting provider.
I have had to change the name on other files to match db1075285, instead of mysql to get rid of other errors.

Does this mean that somewhere in the code it still refers to mysql and I need to change it too db1075285.

Here is an extract of the actual error message:

[Sun Mar 18 20:43:27 2007] [error] [client 58.105.56.189] PHP Fatal error:  Class mysql_date_extender:  Cannot inherit from undefined class db1075285_driver_adoconnection in /usr/local/pem/vhosts/102283/webspace/httpdocs/lib/adodb_lite/adodbSQL_drivers/db1075285/db1075285_date_module.inc(11) : eval()'d code on line 1

Help would be appreciated as I can't get my site up. It just produces a blank screen. Would this fault cause this problem?

/Michael

Re: Upgrade error when trying to upgrade from 0.12 to 1.04

Posted: Sun Mar 18, 2007 7:25 am
by Nullig
The db name goes in the config.php file. You shouldn't have to change it anywhere else.

Is your host using MySql?

Nullig

Re: Upgrade error when trying to upgrade from 0.12 to 1.04

Posted: Sun Mar 18, 2007 10:50 am
by Dee
@seafurymike:
That's a completely different problem, it would have been better to open a new topic.
You have a misconfiguration in config.php: $config['dbms'] is set to 'db1075285'.
In config.php $config['dbms'] is the database type used by ADOdb.
You should only need to set  $config['db_name'] to the name of your database (which is normally done by the installer).

Regards,
D