axos88 / rainloop-plugin-vacation-settings-tab

MIT License
0 stars 2 forks source link

Invalid plugin package #1

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hello, I test your plugin on my fresh rainloop installation but when i want activate or configure the plugin, rainloop displays this message :

"Invalid plugin package"

And i dont have more informations..

For installation i just clone git repo on plugin directory:

:/var/www/rainloop/data/data/default/plugins# ls -la drwxr-xr-x 5 www-data www-data 4096 nov. 18 10:16 vacation

My rainloop version is 1.9.3.365

Could you help my please?

axos88 commented 8 years ago

interesting. No idea what might be happening. Is there anything in the logs?

axos88 commented 8 years ago

My version is 1.9.1.335. Can you try it with that version?

ghost commented 8 years ago

I have just restart my php-fpm and clear my rainloop cache and now it work, for activation (I've not yet tested the feature of plugin ..but it's on my todo)

axos88 commented 8 years ago

ok, let me know :)

Yanek82 commented 8 years ago

I try enable autoresponder in RainLoop AGPLv3 (1.9.3.365). I have same error ("Invalid plugin package") with fresh rainloop installation on Ubuntu Server 14.04.1.

I download rainloop-plugin-vacation-settings-tab (https://github.com/axos88/rainloop-plugin-vacation-settings-tab/archive/master.zip). I unzip file master.zip in /var/www/rainloop/data/data/default/plugins (where is another plugin and it works). I chege owner to www-data.

Maybe i must do something else?

I see "rainloop-plugin-vacation-settings-tab-master" plugin in Admin Panel -> Plugins, but i cant config and enable ("Invalid plugin package"). I have only error in rainloop log:

When i click (try config):

[14:57:05.235][9b07d8ea] INFO[DATA]: [DATE:25.11.15][RL:1.9.3.365][PHP:5.5.9-1ubuntu4.14][IP:XXX][PID:58464][Apache/2.4.7 (Ubuntu)][apache2handler]

[14:57:05.235][9b07d8ea] REQUEST[NOTE]: [POST] http://(server_ip)/?/Ajax/&q[]=/0/ [14:57:05.236][9b07d8ea] AJAX[NOTE]: Action: DoAdminPluginList

[14:57:05.238][9b07d8ea] INFO[MEMORY]: Memory peak usage: 1024KB [14:57:05.238][9b07d8ea] INFO[TIME]: Time delta: 0.0056178569793701

[14:57:06.615][963a828c] INFO[DATA]: [DATE:25.11.15][RL:1.9.3.365][PHP:5.5.9-1ubuntu4.14][IP:XXX][PID:58464][Apache/2.4.7 (Ubuntu)][apache2handler]

[14:57:06.616][963a828c] REQUEST[NOTE]: [POST] http://(server_IP)/?/Ajax/&q[]=/0/ [14:57:06.616][963a828c] AJAX[NOTE]: Action: DoAdminPluginLoad

[14:57:06.618][963a828c] INFO[MEMORY]: Memory peak usage: 1024KB [14:57:06.618][963a828c] INFO[TIME]: Time delta: 0.0054020881652832

When i try enable: [14:58:31.440][f8904edd] INFO[DATA]: [DATE:25.11.15][RL:1.9.3.365][PHP:5.5.9-1ubuntu4.14][IP:XXX][PID:58466][Apache/2.4.7 (Ubuntu)][apache2handler]

[14:58:31.440][f8904edd] REQUEST[NOTE]: [POST] http://(server_ip)/?/Ajax/&q[]=/0/ [14:58:31.441][f8904edd] AJAX[NOTE]: Action: DoAdminPluginDisable

[14:58:31.443][f8904edd] INFO[MEMORY]: Memory peak usage: 1024KB [14:58:31.443][f8904edd] INFO[TIME]: Time delta: 0.0069010257720947

[14:58:31.453][495ecd31] INFO[DATA]: [DATE:25.11.15][RL:1.9.3.365][PHP:5.5.9-1ubuntu4.14][IP:XXX][PID:58466][Apache/2.4.7 (Ubuntu)][apache2handler]

[14:58:31.453][495ecd31] REQUEST[NOTE]: [POST] http://(server_ip)/?/Ajax/&q[]=/0/ [14:58:31.454][495ecd31] AJAX[NOTE]: Action: DoAdminPluginList

[14:58:31.456][495ecd31] INFO[MEMORY]: Memory peak usage: 1024KB [14:58:31.456][495ecd31] INFO[TIME]: Time delta: 0.0053319931030273

I tried service php5-fpm restart and remove files in /var/www/rainloop/data/data/default/cache. Nothing can help me.

My php modules: php -m [PHP Modules] bcmath bz2 calendar Core ctype curl date dba dom ereg exif fileinfo filter ftp gd gettext hash iconv json libxml mbstring mcrypt mhash mysql mysqli openssl pcntl pcre PDO pdo_mysql pdo_pgsql pdo_sqlite pgsql Phar posix readline Reflection session shmop SimpleXML soap sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter Zend OPcache zip zlib

[Zend Modules] Zend OPcache

Any suggestion?

axos88 commented 8 years ago

Can you try with the version mentioned above?

ghost commented 8 years ago

Can you try rename plugin directory for " vacationsettingstab " ?

2015-11-25 16:42 GMT+01:00 Akos Vandra notifications@github.com:

Can you try with the version mentioned above?

— Reply to this email directly or view it on GitHub https://github.com/axos88/rainloop-plugin-vacation-settings-tab/issues/1#issuecomment-159644735 .

Yanek82 commented 8 years ago

Ok Thanks! Rename plugin name fix problem :)

ftoledo commented 8 years ago

just work with "vacation-settings-tab" also (remove rainloop-pluing- part).

This plugin must be official, i use with postfixadmin+vacation. thanks for you work.

axos88 commented 8 years ago

Added a note to Readme.md. Thanks for solving this guys!