As I tried to install Zurmo on a virtualized Ubuntu 12.04, I encountered an issue in the "run installation" step.
I have the following warning that blocks the install :
Invalid argument supplied for foreach() /home/xxx/zurmo/app/protected/modules/zurmo/utils/ReadPermissionsOptimizationUtil.php(911)
I investigated a bit, and it seems that the following query returns an error :
$sql = "select securableitem_id from ownedsecurableitem where owner__user_id = $userId";
And in fact, the ownedsecurableitem doesn't exists in my database after running the install script. Here is the list of tables created by the installation process :
_group _group__user _right _user address auditevent basecustomfield currency customfield customfielddata customfieldsmodel email emailbox emailfolder item ownedcustomfield permitable person policy role
Any clue of what happened ?
I also have a suggestion : in the settings form, the Super User password field is a text field instead of password, here is a really simple patch that "fix" it. Sorry for the .txt extension, I'm not allowed to post .patch files.











