Roundcube Community Forum

Release Support => Pending Issues => Topic started by: joe_leads on September 28, 2011, 10:36:59 PM

Title: Upgrade to 0.6 fails: PHP Fatal error: Call to undefined method rcube_mdb2::list_cols
Post by: joe_leads on September 28, 2011, 10:36:59 PM
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))
Title: Upgrade to 0.6 fails: PHP Fatal error: Call to undefined method rcube_mdb2::list_cols
Post by: Schmatze on September 29, 2011, 04:38:31 AM
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
Title: Upgrade to 0.6 fails: PHP Fatal error: Call to undefined method rcube_mdb2::list_cols
Post by: Granada on October 12, 2011, 03:15:58 AM
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