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 2018-11-16 19:11:10

robertocarlos.floresh
Moderator
From: San Salvador, El Salvador
Registered: 2014-12-29
Posts: 268

Error with Objects management Plugin

I'm trying to create a new object called "token" but I got this error... that's only happen in production environment, in my test environment it's working with out issues.

PHP Warning: fopen(/opt/glpi/files/_plugins/genericobject/inc/token.class.php): failed to open stream: Permission denied in /opt/glpi/plugins/genericobject/inc/type.class.php at line 1096
PHP Warning: fopen(/opt/glpi/files/_plugins/genericobject/front/token.form.php): failed to open stream: Permission denied in /opt/glpi/plugins/genericobject/inc/type.class.php at line 1096
PHP Warning: fopen(/opt/glpi/files/_plugins/genericobject/front/token.php): failed to open stream: Permission denied in /opt/glpi/plugins/genericobject/inc/type.class.php at line 1096
PHP Warning: mkdir(): Permission denied in /opt/glpi/plugins/genericobject/inc/type.class.php at line 1051
PHP Warning: fopen(/opt/glpi/files/_plugins/genericobject/locales/token/token.en_US.php): failed to open stream: No such file or directory in /opt/glpi/plugins/genericobject/inc/type.class.php at line 1096
PHP Warning: fopen(/opt/glpi/files/_plugins/genericobject/locales/token/token.en_GB.php): failed to open stream: No such file or directory in /opt/glpi/plugins/genericobject/inc/type.class.php at line 1096

Fatal error: Uncaught Error: Class 'PluginGenericobjectToken' not found in /opt/glpi/plugins/genericobject/inc/profile.class.php:305 Stack trace: #0 /opt/glpi/plugins/genericobject/inc/profile.class.php(357): PluginGenericobjectProfile::getTypesRights() #1 /opt/glpi/plugins/genericobject/inc/profile.class.php(340): PluginGenericobjectProfile::changeProfile() #2 /opt/glpi/plugins/genericobject/inc/type.class.php(785): PluginGenericobjectProfile::installRights() #3 /opt/glpi/plugins/genericobject/inc/type.class.php(191): PluginGenericobjectType::addNewObject('token', 'PluginGenericob...', Array) #4 /opt/glpi/inc/commondbtm.class.php(1128): PluginGenericobjectType->post_addItem() #5 /opt/glpi/plugins/genericobject/front/type.form.php(49): CommonDBTM->add(Array) #6 {main} thrown in /opt/glpi/plugins/genericobject/inc/profile.class.php on line 305
GLPI Version: GLPI 9.3.2 
OS Name: Ubuntu
V OS: 14.04.5 TLS

Roberto Flores
Telegram: @rcfloresh

Grupo de GLPI Español (Telegram): https://t.me/glpisp   // Discord: https://discord.gg/NXwp2UjC

Offline

#2 2018-11-19 08:17:57

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Error with Objects management Plugin

Look on Genericobject plugin


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

Board footer

Powered by FluxBB