|
Problem with plugininstallaion 0.3.0Posted by artgroup
Hi all,
i tried to install pluginmanager 0.3.0 on Mantis 120a2 without success. step 1)I extracted all files on tar.gz to mantis root dir. step 2)open the plugins_page.php to finish the installation Here I got all green lights but with this warning massage on bottom menu area: SYSTEM WARNING: Invalid argument supplied for foreach() and the only available link is : [ Return to Plugin Manager ] if I click the link above nothign happen, I go to the same page. Also on the main manu no link or other option are available. What is wrong? I'm running mantis under WinXP SP2 with XAMPP 1.6. Finally: I could I extract the .pkg archive that I could download? there is a 0.3.1 version but I don't know how to use it. thanks Cris by ArtGroup Mantis: 1.1.2 PHP: 5.2.5 SQL: MySQL 5.0.51a OS: XP SP2
Take a look in your SQL database to see if there are tables with name like mantis_plugins_pm_*_table. If yes, take a look at the mantis_plugins_pm_list_table content.
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
Yes Vincent,
i have these tables on my SQL: - mantis_plugins_pm_dependencies_table: empty table - mantis_plugins_pm_function_overwrite_table: empty table - mantis_plugins_pm_list_table: one entry only with these value -- plugin: pluginmanager -- installed: 1 I have also this table: mantis_plugin_table with this entry: -- basename: MantisCoreFormatting -- enabled: 1 -- protected: 0 -- priority: 3 What have i to do to install the pluginmanager so that I could easily install th other plugins? It seems that Mantis 120a2 already supports plugins... but trying to install plugins withou pluginmanager od not work. thanks for your help Cris by ArtGroup Mantis: 1.1.2 PHP: 5.2.5 SQL: MySQL 5.0.51a OS: XP SP2
Ok, make sure that the core.php file contains these lines:
and that custom_strings_inc.php file contains these lines:
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
hi Vincent,
it seems that I still do something wrong. Now I have access to a plugin list even if I have no link on the top menu bar.. I have to go manually to /plugins_page.php to see the list. But unlikely now the //localhost/mantis_120a2/manage_plugin_page.php shows this error: Fatal error: Cannot redeclare microtime_float() (previously declared in C:\Programmi\xampp\htdocs\mantis_120a2\core.php:31) in C:\Programmi\xampp\htdocs\mantis_120a2\core.php on line 33 also the search plugin do not work, this is the error I got: SYSTEM WARNING: require_once(config_filter_defaults_inc.php) [function.require-once]: failed to open stream: No such file or directory Fatal error: require_once() [function.require]: Failed opening required 'config_filter_defaults_inc.php' (include_path='.;C:\Programmi\xampp\php\pear\' in C:\Programmi\xampp\htdocs\mantis_120a2\core\filter_api.php on line 37 actually I have no issues in the database, it could be the problem? i'm trying to find the best config for my company. I found some plugins that could be very useful, but still I have a lof of problem. Is it my fault? as usual no other idea.. nb: i'm not a php programmer.. as u understood already! Cris by ArtGroup Mantis: 1.1.2 PHP: 5.2.5 SQL: MySQL 5.0.51a OS: XP SP2
I can't reproduce the error for the plugin manager. The search plugin is not yet compatible.
You can try to uninstall/reinstall the plugin manager. Don't forget that the webserver should have write access to the entire mantis directory hierarchy. 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
Ok, tell me what is wrong (or just the plugin that don't work with 1.1.2). Yesterday I saw that the search plugin is not working on 1.2.0a2 because of a bug in Mantis (not in the search plugin). I'll make a workaround in the search plugin as soon as possible. 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
On a new installation of Mantis 120a2 I confirm that all these plugins are correctly installed:
*Graph *MyReport *MyView *ReleaseMgt While Hierarchy 0.0.5 that shows this error and it's not possible to uninstall the plugin. APPLICATION ERROR #401 Database query failed. Error received from database was #1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE project_id='1' ORDER BY category' at line 3 for the query: SELECT DISTINCT( category ) as category FROM WHERE project_id='1' ORDER BY category I tried to have a look to the hierarchy_api.php code and I found that at line 252 the error should be on the mantis table: $t_mantis_project_category_table = config_get( 'mantis_project_category_table' ); that on 120a2 has been renamed with: mantis_category_table also the structure of the table is different, now instead of 'category' field there is [color=#000099][b]'name'[/b][/color]. So I tried to modify the code as: $t_mantis_project_category_table = config_get( [color=#000066]'mantis_category_table'[/color] ); $cat_arr = array(); $t_id = $t_project['id']; $query = "SELECT DISTINCT( [color=#000066][b]name[/b][/color] ) as [color=#000066][b]name[/b][/color] FROM $t_mantis_project_category_table WHERE project_id='$t_id' ORDER BY [color=#000066][b]name[/b][/color]"; [u]I tried the query directly on SQL in phpadmin and it works![/u]. I don't know if this could help you. cheers Cris by ArtGroup Mantis: 1.1.2 PHP: 5.2.5 SQL: MySQL 5.0.51a OS: XP SP2
I fixed it with this patch on hierarchy_api.php file:
$t_mantis_project_category_table = config_get( 'db_table_prefix' ) . '_category_table'; $cat_arr = array(); $t_id = $t_project['id']; $query = "SELECT DISTINCT ( name ) as category FROM $t_mantis_project_category_table WHERE project_id='$t_id' ORDER BY name"; I hope this help. cheers Cris by ArtGroup Mantis: 1.1.2 PHP: 5.2.5 SQL: MySQL 5.0.51a OS: XP SP2
Sorry, only registered users may post in this forum.
Online Users
Guests:
6
Record Number of Users:
1
on April 02, 2023
Record Number of Guests:
115
on November 09, 2023
Top Users
|