Roundcube Community Forum

 

Upgrade PHP Fatal error

Started by vho, March 30, 2015, 07:26:17 AM

Previous topic - Next topic

vho

Hello,
I have upgraded roundcube from 1.0.2 to 1.1.1,
But after copy the tarball (complete) to my roundcube directory, i had this php error.

PHP Fatal error:  Access level to kolab_auth_ldap::$icache must be protected (as in class rcube_ldap_generic) or weaker in /usr/share/roundcubemail/plugins/kolab_auth/kolab_auth_ldap.php on line 29

I don't know what is the problem exactly, so I hope you can help me :) .

Thanks.

JohnDoh

Have you checked that you have the latest version of the kolab_auth plugin? Its not shipped with Roundcube so its not updated just by copying in the contents of the Roundcube tarball.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

vho

Thanks JohnDoh,
After upgraded kolab_auth plugin,I was able to connect to roundcube.

But now I have some other problems. In the log I have :
DB Error: [1054] Unknown column 'changed' in 'field list'
or
PHP Error: Authenticate error (Status: 500) in /usr/share/roundcubemail/plugins/kolab_files/lib/kolab_files_engine.php on line 702

And I can't send mail. Did i miss something?




ABerglund

Did you run the installer to update the database schema?
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

vho

Yes, I have run the bin/installto.sh script.
But it seems that copy files work with the script but not the database schema.
What the database schema look like in 1.1.1? To verify with my database.

I have follow this step exactly : http://trac.roundcube.net/wiki/Howto_Upgrade

ABerglund

I don't normally use that process, as I typically replace the old install with a fresh new one.

Try enabling the web interface installer, there is a database schema check routine in step 2.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA