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 2017-11-25 19:07:26

eulogy
Member
Registered: 2013-10-11
Posts: 118

Update issue from 9.2 to 9.2.1

Error message while upgrading.

PHP Notice: Undefined index: glpiactiveprofile in /var/www/html/inc/html.class.php at line 1198


After upgrading:

PHP Warning: include_once(/var/www/html/install/update_92_921.php): failed to open stream: Permission denied in /var/www/html/inc/update.class.php at line 397
PHP Warning: include_once(): Failed opening '/var/www/html/inc/../install/update_92_921.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/inc/update.class.php at line 397

Fatal error: Call to undefined function update92to921() in /var/www/html/inc/update.class.php on line 398

----php-error.log----

2017-11-25 13:01:59 [@sas]
  *** PHP Notice(8): Undefined index: glpiactiveprofile
  Backtrace :
  inc/html.class.php:1198                           
  inc/html.class.php:1769                            Html::includeHeader()
  inc/config.php:229                                 Html::nullHeader()
  inc/includes.php:57                                include_once()
  index.php:62                                       include()
Test
2017-11-25 13:01:59 [@sas]
  *** PHP Notice(8): Undefined index: glpiactiveprofile
  Backtrace :
  inc/html.class.php:1198                           
  inc/html.class.php:1769                            Html::includeHeader()
  inc/config.php:229                                 Html::nullHeader()
  inc/includes.php:57                                include_once()
  index.php:62                                       include()
2017-11-25 13:02:05 [@sas]
  *** PHP Warning(2): include_once(/var/www/html/install/update_92_921.php): failed to open stream: Permission denied
  Backtrace :
  inc/update.class.php:397                           
  inc/update.class.php:397                           Update->doUpdates()
  install/update.php:457                             Update->doUpdates()
  install/update.php:564                             doUpdateDb()
2017-11-25 13:02:05 [@sas]
  *** PHP Warning(2): include_once(): Failed opening '/var/www/html/inc/../install/update_92_921.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
  Backtrace :
  inc/update.class.php:397                           
  inc/update.class.php:397                           Update->doUpdates()
  install/update.php:457                             Update->doUpdates()
  install/update.php:564                             doUpdateDb()
2017-11-25 13:03:48 [@sas]
  *** PHP Notice(8): Undefined index: glpiactiveprofile
  Backtrace :
  inc/html.class.php:1198                           
  inc/html.class.php:1769                            Html::includeHeader()
  inc/config.php:229                                 Html::nullHeader()
  inc/includes.php:57                                include_once()
  index.php:62                                       include()
Test
2017-11-25 13:03:48 [@sas]
  *** PHP Notice(8): Undefined index: glpiactiveprofile
  Backtrace :
  inc/html.class.php:1198                           
  inc/html.class.php:1769                            Html::includeHeader()
  inc/config.php:229                                 Html::nullHeader()
  inc/includes.php:57                                include_once()
  index.php:62                                       include()

Last edited by eulogy (2017-11-25 21:56:02)

Offline

#2 2017-11-25 22:47:21

eulogy
Member
Registered: 2013-10-11
Posts: 118

Re: Update issue from 9.2 to 9.2.1

Solved:
It's weird, just changed the owner to www-data
chown -R www-data:www-data $root-www and worked.

First time happens.

Best regards.

Offline

Board footer

Powered by FluxBB