Ticket #1485155 (closed Bugs: fixed)

Opened 2 months ago

Last modified 3 weeks ago

PHP setting "Zend Engine 1 compatibility" breaks RoundCube

Reported by: kbe Owned by:
Priority: 5 Milestone: 0.2-beta
Component: PHP backend Version: 0.2-alpha
Severity: major Keywords: php.ini zend.ze1_compatibility_mode
Cc:

Description

Hi,

I just spent a day trying to figure out why RoundCube was behaving weird on my Gentoo server. MDB2 was not working and returning weird error messages, and the localization includes were never pulled. Also, changes made to user preferences were never written back to the DB.

Well, it turned out to be the zend.ze1_compatibility_mode setting in php.ini. It was set to "On". After switching it to "Off", all problems were gone.

I would suggest to add this to the checks during installation, and to also display a warning page (instead of the login screen) if the setting is enabled.

Thanks for this nice project! Karsten

Change History

Changed 3 weeks ago by alec

  • status changed from new to closed
  • resolution set to fixed

Fixed in r1635. Added check in installer and modified .htaccess file. Option zend.ze1_compatibility_mode is one of the horrible features thats finally been deprecated in 5.3 and will produce an E_DEPRECATED warning if on, thank god.

Note: See TracTickets for help on using tickets.