Mantis

Install Plugin Manager on Mantis 1.1.1

Posted by hardy2001 
Install Plugin Manager on Mantis 1.1.1
January 21, 2008 01:15PM
Hi,

how can I install the Plugin Manager on Mantis 1.X? With the release of Mantis 1.1.0 and 1.1.1 I get the following Error:

APPLICATION ERROR #401
Datenbankabfrage fehlgeschlagen. Die Reportmeldung lautet #1146: Table 'bugtracker.mantis_plugins_pm_list_table' doesn't exist für die Abfrage: SELECT plugin FROM mantis_plugins_pm_list_table WHERE installed=2

Thanx Hardy
Re: Install Plugin Manager on Mantis 1.1.1
January 21, 2008 01:57PM
I have to make a new release.

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: Install Plugin Manager on Mantis 1.1.1
January 22, 2008 04:00AM
Hi

following up on this, do you have an idea of a date when the PluginManager and the LongCF will be suitable for use on the release 1.1.1

thanks

Thom
Re: Install Plugin Manager on Mantis 1.1.1
January 22, 2008 08:33AM
Probably today (french time) for the Plugin Manager.

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: Install Plugin Manager on Mantis 1.1.1
January 22, 2008 07:28PM
The Plugin Manager 0.2.1 has been released.

What is the issue about the LongCF plugin?

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: Install Plugin Manager on Mantis 1.1.1
January 22, 2008 11:42PM
Thank you for the prompt work on building the new plugin manager, it is much appreciated

I am having a problem with the longcf


In release 1.0.7, we were getting an error, Warning "implode(): Bad arguments.". looking at the Mantis site, it appears that these would disappear if we went to the latest release


Upgraded to Mantis 1.1.1
Upgraded the plugins using the process on the wiki

then
The custom fields that are created that are long-fields display in the screen but will not accept input. Still getting the error, investigation revealed that if I remove the custom fields the warning message disappears

So
I thought I would go to the latest versions of the Pluginmanager and longCF. To see if they would fix the problems

Uninstalled. Longdf (0.0.2) and pluginmanager

The pluginmanager has installed successfully

Longcf (version 0.0.3) is then failing

Check packager version 0.1.3a2
Plugin name LongCF
Plugin version 0.0.3
Check the Apache version No test performed/required
Check the PHP version OK
Check the SQL version No test performed/required
Check the Mantis version OK
Check the Plugins version OK
Install or Upgrade? Install
Installing new files OK
Check install script OK
Install the plugin
Step 1 / 2: Register function FAIL
Conflict with longcf
Install the plugin
Step 1 / 1: Register function OK
Restore old files FAIL
unable to restore


Not sure if this an issue with what I have done, or the install. We have a very customised Mantis, to align with our business needs.

Any thoughts? Would you like me to raise a defect?
Re: Install Plugin Manager on Mantis 1.1.1
January 23, 2008 07:33AM
It seems that Apache could not modify some files in the Mantis hierarchy (in the core/ directory).

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: Install Plugin Manager on Mantis 1.1.1
January 23, 2008 08:01PM
Is something that I can fix from my end, or do I need a new package?

I have done a
chmod -R 777 core
find ./mantis -type d |xargs chmod a+w

removed the longcf directory in ./mantis/plugins/

and tried to Install/Upgrade a plugin, but the error is the same.


Are there any logs, that I can have a look at (there appears to be no stdout to the syslog)?

Thanks


Thom
Re: Install Plugin Manager on Mantis 1.1.1
January 23, 2008 08:09PM
Oups sorry, I didn't really read the message...

Create a file (test.php by example) in the mantis root directory and put this inside:
Language: PHP
( &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;core.php&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; ); $t_function_list =( &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;custom_field_destroy&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;custom_field_delete_all_values&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;custom_field_get_value&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;custom_field_get_all_linked_fields&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;custom_field_distinct_values&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;custom_field_set_value&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;print_custom_field_input&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; ); ( $t_function_list $t_function ) { pm_function_remove_overwrite( $t_function, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;core/custom_field_api.php&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;longcf&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; ); }  

Then browse it with your favorite internet browser (http://.../mantis/test.php by example) and try to reinstall the plugin.

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: Install Plugin Manager on Mantis 1.1.1
January 23, 2008 09:10PM
Thanks, the plugin now installs,

I am having one further problem and that is that the text input box for the custom field is not appearing when I set the Field Type to Long Text.

Ie
Create a custom field and set it to String – input text box present
Update custom field to Long Text – input text box disappears
Update custom field to String – input text box present


Hopefully, this will be the last issue
Re: Install Plugin Manager on Mantis 1.1.1
January 23, 2008 11:07PM
The plugin has been tested with Mantis 1.1.0a3. I don&#039;t know if it works with other Mantis version.

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: Install Plugin Manager on Mantis 1.1.1
January 23, 2008 11:14PM
damn,

thanks for the help.

will ponder what to do from here.
Re: Install Plugin Manager on Mantis 1.1.1
January 24, 2008 08:23AM
I&#039;ll take a look this week-end.

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
Sorry, only registered users may post in this forum.

Click here to login



Online Users

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