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 2016-02-09 17:25:53

Uniyannick
Member
Registered: 2014-04-29
Posts: 450
Website

Bug behavior / comportement plugin

Hello,

When I copy the behavior folder to glpi/plugins and go to glpi 0.90.1, all my plugins disapear. just badge plugin stays in the list.

but my plugins are active.

After I delete the folder, plugin list appears again and behavior plugin is csrf no conform and clean is available to click on

Last edited by Uniyannick (2016-02-09 17:27:12)


Yannick

Prod : GLPI 9.4.2 - Windows 2012 - php 7.3 - mysql mariadb
Certifié ITIL V3, PMP - http://www.itamconsulting.com

Offline

#2 2016-02-10 12:52:31

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

Re: Bug behavior / comportement plugin

Version of Behaviors 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

#3 2016-02-10 16:02:04

Uniyannick
Member
Registered: 2014-04-29
Posts: 450
Website

Re: Bug behavior / comportement plugin

Hello

0.90

https://forge.glpi-project.org/projects/behaviors/files

Last edited by Uniyannick (2016-02-10 16:02:19)


Yannick

Prod : GLPI 9.4.2 - Windows 2012 - php 7.3 - mysql mariadb
Certifié ITIL V3, PMP - http://www.itamconsulting.com

Offline

#4 2016-02-10 17:49:09

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,243

Re: Bug behavior / comportement plugin

I use this plugin 0.90 +GLPI 0.90.1 and it works fine, with other plugins ( dashboard badges,injection data, fusion, pdf, reports,..)


Trouver la panne avant de réparer...
GLPI10.0.16 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.3 reports 1.16.0 formcreator 2.13.9, datainjection 2.13.5 fields 1.21.9

Offline

#5 2016-02-11 09:18:32

Uniyannick
Member
Registered: 2014-04-29
Posts: 450
Website

Re: Bug behavior / comportement plugin

Additionnal fields    0.90-1.1   
Badges    2.1.1    GPLv2+   
Dashboard    0.6.9    GPLv2+   
Escalation    0.90-1.1    GPLv2+   
Forms    0.90-1.3    GPLv2   
FP Software    1.1.0   
FusionInventory    0.90+1.0   
More Reporting    0.90+1.0   
More ticket    1.2.2   
Réservation    1.3.2   
Sim cards management    1.4.1


Yannick

Prod : GLPI 9.4.2 - Windows 2012 - php 7.3 - mysql mariadb
Certifié ITIL V3, PMP - http://www.itamconsulting.com

Offline

#6 2016-02-11 09:26:42

Uniyannick
Member
Registered: 2014-04-29
Posts: 450
Website

Re: Bug behavior / comportement plugin

Until I put the folder in glpi/plugins the plugins disappear


Yannick

Prod : GLPI 9.4.2 - Windows 2012 - php 7.3 - mysql mariadb
Certifié ITIL V3, PMP - http://www.itamconsulting.com

Offline

#7 2016-02-12 13:38:46

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

Re: Bug behavior / comportement plugin

No problem for me too.
Have you errors in glpi logs? in Apache logs?


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

#8 2016-02-12 17:05:44

Uniyannick
Member
Registered: 2014-04-29
Posts: 450
Website

Re: Bug behavior / comportement plugin

yes in apache error log

[Fri Feb 12 16:02:41.526693 2016] [:error] [pid 1780:tid 876] [client 192.168.102.26:63114] PHP Parse error:  Invalid numeric literal in E:\\webserver\\Apache24\\htdocs\\glpi\\plugins\\behaviors\\hook.php on line 38, referer: http://ungsrvgva117/glpi/front/ticket.php


Yannick

Prod : GLPI 9.4.2 - Windows 2012 - php 7.3 - mysql mariadb
Certifié ITIL V3, PMP - http://www.itamconsulting.com

Offline

#9 2016-02-12 17:06:20

Uniyannick
Member
Registered: 2014-04-29
Posts: 450
Website

Re: Bug behavior / comportement plugin

function plugin_behaviors_install() {

line 38   $migration = new Migration(180);

   // No autoload when plugin is not activated
   require 'inc/config.class.php';
   PluginBehaviorsConfig::install($migration);

   $migration->executeMigration();

Last edited by Uniyannick (2016-02-12 17:06:33)


Yannick

Prod : GLPI 9.4.2 - Windows 2012 - php 7.3 - mysql mariadb
Certifié ITIL V3, PMP - http://www.itamconsulting.com

Offline

#10 2016-02-12 19:51:35

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

Re: Bug behavior / comportement plugin

You have this error with PHP7.
Already corrected: https://forge.glpi-project.org/projects … k/hook.php


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

#11 2016-02-15 12:34:27

Uniyannick
Member
Registered: 2014-04-29
Posts: 450
Website

Re: Bug behavior / comportement plugin

thx it works !


Yannick

Prod : GLPI 9.4.2 - Windows 2012 - php 7.3 - mysql mariadb
Certifié ITIL V3, PMP - http://www.itamconsulting.com

Offline

Board footer

Powered by FluxBB