You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2013-09-03 22:03:15

Maska
Member
Registered: 2009-07-17
Posts: 13

[solved] Problem with install 0.84 (error 500, session, zend)

I tried to install GLPI 0.84, but the script "/install/install.php" does not start.
Apache generated error 500 and not any additional info in log file.

To read error I commented line 488 in "/install/install.php":

//error_reporting(0); // we want to check system before affraid the user.

And after reload I seen on page "/install/install.php":

Fatal error: Uncaught exception 'Zend\ServiceManager\Exception\InvalidArgumentException' with message '$initializer should be callable.' in /home/helpdesk/glpi/lib/Zend/ServiceManager/ServiceManager.php:336
Stack trace:
#0 /home/helpdesk/glpi/lib/Zend/ServiceManager/AbstractPluginManager.php(75): Zend\ServiceManager\ServiceManager->addInitializer(NULL)
#1 /home/helpdesk/glpi/lib/Zend/Cache/StorageFactory.php(157): Zend\ServiceManager\AbstractPluginManager->__construct()
#2 /home/helpdesk/glpi/lib/Zend/Cache/StorageFactory.php(139): Zend\Cache\StorageFactory::getAdapterPluginManager()
#3 /home/helpdesk/glpi/lib/Zend/Cache/StorageFactory.php(76): Zend\Cache\StorageFactory::adapterFactory('apc', NULL)
#4 /home/helpdesk/glpi/inc/session.class.php(558): Zend\Cache\StorageFactory::factory(Array)
#5 /home/helpdesk/glpi/install/install.php(495): Session::loadLanguage()
#6 {main}
  thrown in /home/helpdesk/glpi/lib/Zend/ServiceManager/ServiceManager.php on line 336

My configuration:

  • Centos 5.9 x86_64

  • Apache 2.2.3

  • PHP 5.4.19

  • Apache user: helpdesk

  • Root folder: /home/helpdesk/glpi

  • The previous version 0.83.91 worked correctly

  • Permissions the right

  • php_value session.auto_start 0

Install commands:

rm -rf glpi && \
tar -xzf glpi-0.84.tar.gz && \
cd glpi && \
chown -R helpdesk:helpdesk files && \
chown helpdesk:helpdesk config && \
cd ..

What could be wrong? Any ideas?

Last edited by Maska (2013-09-05 15:25:23)

Offline

#2 2013-09-05 11:38:59

gdamjan
Member
Registered: 2013-09-05
Posts: 2

Re: [solved] Problem with install 0.84 (error 500, session, zend)

Hello
i was having same problem, for me solution was temporarly disabling eaccelerator from php. This allows me to install glpi.
b.r. d

Offline

#3 2013-09-05 12:11:13

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: [solved] Problem with install 0.84 (error 500, session, zend)

You can use APC instead eaccelerator if it has problem

Offline

#4 2013-09-05 15:24:01

Maska
Member
Registered: 2009-07-17
Posts: 13

Re: [solved] Problem with install 0.84 (error 500, session, zend)

Thank you gdamjan, with disabled eAccelerator all work ok.

Offline

Board footer

Powered by FluxBB