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.

Error durring the a...
 
Notifications
Clear all

Error durring the addition of a plugin

11 Posts
2 Users
0 Reactions
7,172 Views
(@sylvain-galopin)
Posts: 6
Active Member
Topic starter
 
[#4073]

With projeqtor V6.0.8, when I add the plugin 'translationFrench' (Plug-ins->Plug-ins management->available plugins (local)->click on the button +)

I get the following error:
17-02-06 13:49:35.583 ===== TRACE ===== New plugin found : translationFrench_V1.2.zip
17-02-06 13:49:35.583 ** ERROR ** Impossible to load class ZipArchive
=> Not found in ../model/custom/ZipArchive.php
=> Not found in ../mod/ZipArchive.php
=> Not found in ../model/persistence/ZipArchive.php
17-02-06 13:49:35.583 ** ERROR ** EXCEPTION **
17-02-06 13:49:35.583
** ERROR ** on file '/var/www/projeqtor/model/Plugin.php' at line (431)
17-02-06 13:49:35.583
** ERROR ** cause = Class 'ZipArchive' not found
17-02-06 13:49:35.583
** ERROR ** => #0 /var/www/projeqtor/model/Plugin.php (65) -> getMetadata()
17-02-06 13:49:35.583
** ERROR ***** => #1 /var/www/projeqtor/plugin/loadPlugin.php (53) -> load()


 
Posted : 06 Feb 2017 16H20
(@babynus)
Posts: 14952
Member Admin
 

You must install the Zip extension on your PHP server.


 
Posted : 06 Feb 2017 16H38
(@sylvain-galopin)
Posts: 6
Active Member
Topic starter
 

Thank for your response.
This php extension is not mentionned into the readme.txt (PHP extensions required)
Could you update this file?

I had launch those commands on my server:
sudo apt-get install php7.0-zip
sudo service apache2 restart

But i get that error now:
2017-02-06 14:49:27.886 ===== TRACE ===== New plugin found : translationFrench_V1.2.zip
2017-02-06 14:49:27.887 ** ERROR ** ERROR **
2017-02-06 14:49:27.887
** ERROR ** on file '/var/www/projeqtor/model/Plugin.php' at line (66)
2017-02-06 14:49:27.887
** ERROR ***** cause = Undefined index: pluginVersion


 
Posted : 06 Feb 2017 16H59
(@babynus)
Posts: 14952
Member Admin
 

Plugin DEscriptor seems incorrect.
Try and re-upload plugin file and reinstall from scratch.


 
Posted : 07 Feb 2017 23H44
(@sylvain-galopin)
Posts: 6
Active Member
Topic starter
 

Always the same...

I had launch that command on my server:
sudo wget -O /var/www/projeqtor/plugin/translationFrench_V1.2.zip 'https://www.projeqtor.net/plugins/vmcustom/downloadable/deliver_media
.php?uid=7039&pid=2'
After that, I went to the plugin page and I clicked on the add button.

But i got the same error :
17-02-08 09:32:50.488 ===== TRACE ===== New plugin found : translationFrench_V1.2.zip
17-02-08 09:32:50.504 ** ERROR ** ERROR **
17-02-08 09:32:50.504
** ERROR ** on file '/var/www/projeqtor/model/Plugin.php' at line (66)
17-02-08 09:32:50.504
** ERROR ***** cause = Undefined index: pluginVersion


 
Posted : 08 Feb 2017 11H41
(@babynus)
Posts: 14952
Member Admin
 

I cannot understand this issue.
Just tested again on both windows and linux, and it worked fine...

Maybe it is just some acces right issue due to your way to retreive the plugin.
Could you try and manually download plugin file and the upload it with plugin feature ?


 
Posted : 08 Feb 2017 22H55
(@sylvain-galopin)
Posts: 6
Active Member
Topic starter
 

Ok, I found the issue...
The command : sudo wget -O /var/www/projeqtor/plugin/translationFrench_V1.2.zip ' www.projeqtor.net/plugins/vmcustom/downloadable/deliver_media.php?uid=7039&pid=2'
return now a wrong zip file. When I try to download the plugin with the navigator, I have the following message 'Permission denied!'.
With the command line, I have no error but i can see that the file size is only of 18o... And it's no possible to unzip it.
How can have a permalink to this free plugin?

$ sudo wget -O /var/www/projeqtor/plugin/translationFrench_V1.2.zip 'https://www.projeqtor.net/plugins/vmcustom/downloadable/deliver_media.php?uid=7039&pid=2'
--2017-02-09 08:38:25-- https://www.projeqtor.net/plugins/vmcustom/downloadable/deliver_media.php?uid=7039&pid=2
Resolving www.projeqtor.net (www.projeqtor.net)... 62.210.170.144
Connecting to www.projeqtor.net (www.projeqtor.net)|62.210.170.144|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18 [text/html]
Saving to: ‘/var/www/projeqtor/plugin/translationFrench_V1.2.zip’

/var/www/projeqtor/plugin/translationFr 100%[=============================================================================>] 18 --.-KB/s in 0s

2017-02-09 08:38:26 (764 KB/s) - ‘/var/www/projeqtor/plugin/translationFrench_V1.2.zip’ saved [18/18]


 
Posted : 09 Feb 2017 12H00
(@babynus)
Posts: 14952
Member Admin
 

How can have a permalink to this free plugin?

You cannot, and there is no use as it should be used only once 😉


 
Posted : 09 Feb 2017 20H34
(@sylvain-galopin)
Posts: 6
Active Member
Topic starter
 

I've created a automatised installation script with vagrant.
I just want share with my collaborators a vagrantfile to do a full installation of projeqtor (just to test the tool).
Without permalink, I have to install the plugin manualy each time...


 
Posted : 09 Feb 2017 20H47
(@babynus)
Posts: 14952
Member Admin
 

Maybe it will be more easy to propose a vagrant file with database version already initialised and plugin installed....

NB : we won't propose permalink as it could open a backdoor to "non free" plugins...


 
Posted : 09 Feb 2017 20H50
(@sylvain-galopin)
Posts: 6
Active Member
Topic starter
 

Maybe it will be more easy to propose a vagrant file with database version already initialised and plugin installed....
=> that is the virtual machine and it's too heavy to be shared...

NB : we won't propose permalink as it could open a backdoor to "non free" plugins...
=> ok. I understand... That is not important, I have a workarround... I'll put the zip of the plugin into a synchronized folder (with the vm).


 
Posted : 09 Feb 2017 21H00
Share:

Scroll to Top