Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Trouble wh...
 
Notifications
Clear all

[SOLVED] Trouble when install personal plugin

4 Posts
2 Users
0 Reactions
4,386 Views
HUET
 HUET
(@huets15)
Posts: 7
Active Member
Topic starter
 
[#3735]

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 :



  
  
  
  
  
    
	
  

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


 
Posted : 10 Oct 2016 19H07
(@babynus)
Posts: 14952
Member Admin
 

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.


 
Posted : 10 Oct 2016 19H44
HUET
 HUET
(@huets15)
Posts: 7
Active Member
Topic starter
 

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


 
Posted : 11 Oct 2016 12H39
(@babynus)
Posts: 14952
Member Admin
 

Hi,
Thanks for sharing !

I would avise ONLY USE ALPHANUMERIC CHARACTERS in plugin name 😉


 
Posted : 11 Oct 2016 14H34
Share:

Scroll to Top