View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Trouble when install personal plugin - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

[SOLVED] Trouble when install personal plugin

More
10 Oct 2016 17:07 #1 by huets15
Hello,

I developped a little plugin but I take a non explicit error when I tried to install it :


Here is the list of all files included in my .zip :


Here is the plugin descriptor :
<?xml version="1.0" encoding="UTF-8"?>
<plugin name="IGE+XAO_InputValidation">
  <property name="description"    value="Validate inputs" />
  <property name="version"        value="1.0" ></property>
  <property name="compatibility"  value="V5.2.0" />
  <property name="uniqueCode"     value="115000" />
  <triggers>
    <trigger event="control" class="ProductVersion" script="IGE+XAO_InputValidation_ControlEvent.php" />
	<trigger event="control" class="ComponentVersion" script="IGE+XAO_InputValidation_ControlEvent.php" />
  </triggers>
</plugin>

Finally, I set the log level to '4' but I have no more information :
2016-10-10 17:00:42.379 ..... SCRIPT .... 127.0.0.1 /projeqtor/view/pluginManagement.php
2016-10-10 17:00:42.531 ..... SCRIPT .... 127.0.0.1 Page=pluginManagement.php
2016-10-10 17:00:42.616 ..... SCRIPT .... 127.0.0.1    ->/view/pluginManagement.php
2016-10-10 17:00:46.290 ..... SCRIPT .... 127.0.0.1 /projeqtor/plugin/loadPlugin.php
2016-10-10 17:00:48.835 ..... SCRIPT .... 127.0.0.1 Page=checkAlertToDisplay.php
2016-10-10 17:00:57.980 ..... SCRIPT .... 127.0.0.1 /projeqtor/view/admin.php
2016-10-10 17:00:58.103 ..... SCRIPT .... 127.0.0.1 Page=admin.php
2016-10-10 17:00:58.195 ..... SCRIPT .... 127.0.0.1    ->/view/admin.php
2016-10-10 17:01:02.318 ..... SCRIPT .... 127.0.0.1 /projeqtor/tool/dynamicDialog.php
2016-10-10 17:01:02.393 ..... SCRIPT .... 127.0.0.1 Page=dynamicDialog.php

Any idea about what happen ?

Thank you
Attachments:

Please Connexion or Create an account to join the conversation.

More
10 Oct 2016 17:44 #2 by babynus
Difficult to identify without all elements.

First, check for access rights on folder.
If all is correct, try and add "debugLog" traces on plugin management script to try and understand.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
11 Oct 2016 10:39 #3 by huets15
I finally found the reason of the error...

My plugin name is prefixed by 'IGE+XAO' but, on loadPlugin.php, you send the requested plugin name to the urldecode function :
$oneFile=urldecode($_REQUEST['pluginFile']);

This function remove the '+' character. So, the static method
Plugin::getZipList
does no more find the plugin in the plugin directory.

So, to other people, DO NOT USE '+' ON YOUR PLUGIN NAME. And probably also some other special characters.
Perhaps this error could be raised and catched

Please Connexion or Create an account to join the conversation.

More
11 Oct 2016 12:34 #4 by babynus
Hi,
Thanks for sharing !

I would avise ONLY USE ALPHANUMERIC CHARACTERS in plugin name ;)

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.049 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.