Bug #6813

Administrator has no rights because of PHP Fatal error: Uncaught exception 'Zend_Acl_Exception' during installation

Added by Gioele Barabucci over 7 years ago. Updated over 7 years ago.

Status:NewStart date:06/11/2014
Priority:MediumDue date:
Assignee:-% Done:


Target version:-
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:


The installation of AtoM will fail at http://SERVER/atom-2.0.1/index.php/sfInstallPlugin/configureSite with a 500 Internal Server Error, just after asking for information about the admin user.

The installation will create an admin user but will fail to add it to the administrator's groups because of the following PHP Fatal error.

PHP Fatal error:  Uncaught exception 'Zend_Acl_Exception' with message 'addRole() expects $role to be of type Zend_Acl_Role_Interface' in /srv/web/atom-2.0.1/plugins/qbAclPlugin/lib/vendor/Zend/Acl.php:124

Stack trace:

#0 /srv/web/atom-2.0.1/plugins/qbAclPlugin/lib/QubitAcl.class.php(299): Zend_Acl->addRole(NULL)
#1 /srv/web/atom-2.0.1/plugins/qbAclPlugin/lib/QubitAcl.class.php(63): QubitAcl->buildUserRoleList(Object(myUser))
#2 /srv/web/atom-2.0.1/plugins/qbAclPlugin/lib/QubitAcl.class.php(70): QubitAcl->__construct()
#3 /srv/web/atom-2.0.1/plugins/qbAclPlugin/lib/QubitAcl.class.php(232): QubitAcl::getInstance()
#4 /srv/web/atom-2.0.1/plugins/qbAclPlugin/lib/QubitAcl.class.php(117): QubitAcl::isA in /srv/web/atom-2.0.1/plugins/qbAclPlugin/lib/vendor/Zend/Acl.php on line 124


#1 Updated by Dan Gillean over 7 years ago

Hi Gioele,

We have never encountered this error before - it may be due to the particular configuration of your installation environment. I have asked for more information about this on the related thread you started in our user forum: https://groups.google.com/d/msg/ica-atom-users/eayB893Uj9E/4Kahqv-fBWUJ

We definitely appreciate it when users locate bugs and report them to us! But in general, it might be a good practice to post questions in the User Forum first, and let us know more about exactly how you have installed AtoM. As our docs state, we use Ubuntu 12.04 and Nginx in both development and production, and this is the configuration we recommend in all of our docs. We will always try to support users in our User Forum who wish to install with different configurations, but there are so many variables we need to ensure that what you've encountered is an actual bug we can reproduce internally, and not a consequence of different a different deployment with unexpected problems.

Let's try to figure this out on the related User Forum post, and then when we have a better sense of what is happening, I can update this ticket accordingly.

Kind Regards,
Dan Gillean

Also available in: Atom PDF