by tug » Mon Sep 17, 2012 6:06 am
Finally, after hours of searching, I was discovered some reasons for extraction issue. First of all, if you’re using a windows server not a single path in the config file will work.
||---------------------------------------------- (1) -------------------------------------------------
The first one lies within the config file (config.inc.php). Look for the following lines and make sure the configuration matches the servers config.
; perl (used in paracite citation parser)
-> check the path
; tar (used in backup plugin, translation packaging)
-> check the path
-> Problem here: windows servers do not always support .tar, .tar.gz extraction.
||---------------------------------------------- (2) -------------------------------------------------
If method 1 does not work try to directly upload the plugin into plugins/gateways. Local extraction needs to be done before! Upload the iPhoneGateway directory. The archive won’t work.
||---------------------------------------------- (3) -------------------------------------------------
File: pages/manager/PluginManagementHandler.inc.php
Command line execution is not permitted or simply wrong configured. Also Save-Mode may result in failing. For this solution you need ftp access to your server and some basic php knowledge.
Solution (which worked for me): Go to the function function uploadPlugin($function). There is a line that starts with exec(…) (which is a command line execution function). Delete it or modify it to a comment. Then insert the following code right after this line:
$zip = new ZipArchive;
$zip->open($temporaryFile->getFilePath());
$zip->extractTo($pluginDir);
$zip->close();
For this method I attached a zip version of the plugin.
- Attachments
-
iPhoneGateway.zip
- File for methode 3
- (7.58 KiB) Downloaded 103 times