Roundcube Community Forum

 

Upgrade to 0.6 fails: PHP Fatal error: Call to undefined method rcube_mdb2::list_cols

Started by joe_leads, September 28, 2011, 10:36:59 PM

Previous topic - Next topic

joe_leads

Hi, my upgrade from 0.54 to 0.6 (release) using the installto.sh failed. The message on command line said:

QuotePHP Fatal error:  Call to undefined method rcube_mdb2::list_cols() in /path/to/installer/rcube_install.php on line 364

I checked the rcube_mdb2.php, and it had not been updated to version 1.18 as delivered with the 0.6 release, but was still at 1.17 as delivered with the previous 0.54 installation. Maybe the rsync command in installto.sh has failed?

After manually copying all files from the download to their location and overriding the version compare in installto.sh I could successfully complete the installation.

PS: I tried to submit this as a bug in the Trac system, but I was refused:
QuoteSubmission rejected as potential spam (Akismet says content is spam, BlogSpam says content is spam (No reverse DNS entry for xx.xx.xx.xx))

Schmatze

Same error here.

EDIT: I don't know if this relates to this bug (maybe, because update.sh stops before it scans the database), but I can't access my contacts. I will got an internal server error and all groups have the name 0

I also have this error message in my apache log:
QuotePHP Fatal error:  Call to a member function list_records() on a non-object in /.../roundcube/program/steps/addressbook/list.inc on line 23

Granada

Yes, the two problems are related. The file rcube_mdb2.php, $ver 1.17 has a newer datestamp than the file rcube_mdb2.php $ver 1.18 from roundube 0.6. Therefore the update-script using rsync -u failes on this file.

Now that I know this I need to check all other (!) files too if they were updated!

Very annoying bug!

My gilfriend Edith found out: yes, there are other files that need to be updated manually.

Regards
Ruediger