Author Topic: Upgrade PHP Fatal error  (Read 4672 times)

Offline vho

  • Newbie
  • *
  • Posts: 3
Upgrade PHP Fatal error
« on: March 30, 2015, 07:26:17 AM »
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.

Code: [Select]
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.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: Upgrade PHP Fatal error
« Reply #1 on: March 30, 2015, 08:16:02 AM »
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ā€¦

Offline vho

  • Newbie
  • *
  • Posts: 3
Re: Upgrade PHP Fatal error
« Reply #2 on: March 30, 2015, 09:03:29 AM »
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 :
Code: [Select]
DB Error: [1054] Unknown column 'changed' in 'field list'or
Code: [Select]
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?




Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
Re: Upgrade PHP Fatal error
« Reply #3 on: March 30, 2015, 11:18:44 AM »
Did you run the installer to update the database schema?
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Offline vho

  • Newbie
  • *
  • Posts: 3
Re: Upgrade PHP Fatal error
« Reply #4 on: March 30, 2015, 12:47:38 PM »
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

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
Re: Upgrade PHP Fatal error
« Reply #5 on: March 31, 2015, 11:33:17 AM »
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