Mantis

File corrupted or not a Mantis plugin

Posted by romanh 
File corrupted or not a Mantis plugin
May 11, 2008 07:16PM
Hi Vincent.
I'm trying to export 'search plugin' in 'pkg' format.
I'added the content of [bugtracker.morinie.fr] to package_inc.php in plugins/search directory. The plugin appear in the drop down 'Package a plugin' and is well exported in 'pkg' format, but when I try to reinstall the
exported 'pkg' files I get the error => 'File corrupted or not a Mantis plugin'.
Re: File corrupted or not a Mantis plugin
May 11, 2008 08:04PM
Can you send me the file you made? (click on contact me to have my email).

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: File corrupted or not a Mantis plugin
May 11, 2008 08:46PM
Done you should have the file in your mail box
Re: File corrupted or not a Mantis plugin
May 11, 2008 08:47PM
You have an extra line/character before the tag "<?php" and/or after the tag "?>" (in the package_inc.php file).

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: File corrupted or not a Mantis plugin
May 11, 2008 10:30PM
Works like a charm.
Thanks
Re: File corrupted or not a Mantis plugin
May 11, 2008 10:53PM
I&#039;m writing a script to generate the plugin files: File Generator (experimental)

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: File corrupted or not a Mantis plugin
May 12, 2008 03:26PM
Great .
Let me know if I can help you.
Re: File corrupted or not a Mantis plugin
May 12, 2008 03:31PM
I think that a simple generator of style &#039;hello world&#039; would be enough.

After would be good to to implement the following possibilities to plugin manager :
1.add files
2.delete / rename file
3.rename / attribute name to plugin

This is all that a developer need to write the plugin.



Edited 2 time(s). Last edit at 05/12/2008 03:32PM by romanh.
Re: File corrupted or not a Mantis plugin
May 12, 2008 05:29PM
Maybe I&#039;ll make a plugin to create plugin winking smiley

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here



Edited 1 time(s). Last edit at 05/12/2008 05:30PM by deboutv.
Sorry, only registered users may post in this forum.

Click here to login



Online Users

Guests: 35
Record Number of Users: 1 on April 02, 2023
Record Number of Guests: 115 on November 09, 2023
Top Users
Hébergeur : Morinie.Fr