|
[Resolved] Can't install Plugin Manager 0.4.0 with Mantis 1.2.0rc1Posted by flint
I recently loaded alpha3 version of Mantis. Got the plugin manager loaded and working. Soon the MantisBt 1.2.0rc1 was available, so I loaded that and copied over the config etc. and it's working fine. I went to load the Plugin Manager 0.4.0 back in and get all green confirmations on the install, but nothing sticks.
I hit "Return to Plugin Manager" and it just seems to go through the install again, reshowing the green confirmations. I'm no expert in Linux, but I feel like I have the permissions on files/folder set writeable. But maybe not. Can someone help, and maybe give the dumbed-down instructions on what to check? Thanks. I have Ubuntu 9.04, MantisBt 1.2.0rc1, mySQL, and Plugin Manager 0.4.0. Edited 1 time(s). Last edit at 06/24/2009 03:51PM by flint.
Check that the core.php file and the custom_strings_inc.php file have been modified (at least you should see something at the end about 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
I suppose the files were hidden in Linux, but from my share to Windows I saw config.php~ and custom_strings_inc.php~. These had modified info. So I went through renaming and putting them in without the "~" character.
Now the whole mantis has blown up. Default page even gives: Fatal error: Call to undefined function plugins_pluginmanager_get_plugin_list() in /home/progs/mantis/plugins/pluginmanager/lang_inc.php on line 23 Is there maybe a newer version of plugin manager than the normal download gives you?
That core.php~ file I renamed around back to core.php had that in it. Just to be sure I copied/pasted and get the same error result as above. Here's the bottom section of my core.php file:
// set HTTP response headers http_all_headers(); // push push default language to speed calls to lang_get if ( !isset( $g_skip_lang_load ) ) { lang_push( lang_get_default() ); } # signal plugins that the core system is loaded event_signal( 'EVENT_CORE_READY' ); if ( file_exists( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'core.php' ) ) { require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'core.php' ); $g_plugins_manager_core = ON; } ?> Also here is my customer_strings_inc.php: <?php if ( file_exists( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'lang_inc.php' ) ) { require( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'lang_inc.php' ); global $g_plugins_manager_lang; $g_plugins_manager_lang = ON; } ?> And thanks Vincent for your quick responses.
1.- install mantis 1.2.0rc1 --> ok, i connect to the system ok with administrator/root
2.- copy and unzip pluginmanager-0.4.0.tar.gz in root directory 3.- enable permisions for www-data (writable) 4.- [...] 5.- all is ok 6. verify the created file custom_strings_inc.php with: <?php if ( file_exists( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'lang_inc.php' ) ) { require( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'lang_inc.php' ); global $g_plugins_manager_lang; $g_plugins_manager_lang = ON; } ?> 7.- verify the added informations at the end of the file core.php <?php if ( file_exists( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'core.php' ) ) { require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'core.php' ); $g_plugins_manager_core = ON; } ?> but, i try to connect to [server] and .... Fatal error: Call to undefined function plugins_pluginmanager_get_plugin_list() in /var/www/mantis/plugins/pluginmanager/lang_inc.php on line 23 but, i try to connect to [server] and .... Fatal error: Call to undefined function plugins_pluginmanager_get_plugin_list() in /var/www/mantis/plugins/pluginmanager/lang_inc.php on line 23 any ideas ???
Take a look in your database (SQL) and check that there are tables named like "mantis_plugins_pm_*". If no, the installation failed, if yes make sure the tables are not empty.
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
My situation matches charsy. My database has 3 tables by that name. The dependencies table has 1 record, the mantis_plugins_pm_function_overwrite_table has no records, and the list_table has 3 records. But I'm still having the same result as charsy shows.
For the moment I have renamed custom_strings_inc.php to something else to keep the program working without the plugin manager.
hallo,
just install Plugin Manager 0.4.0 on Mantis 1.2.0rc1. after the page with all the green confirmations I hit the return button and i received the following error: Parse error: syntax error, unexpected '<' in C:\wamp\www\mantisbt-1.2.0rc1\core.php on line 261 mantis is no more avalable. looking at the previous messages I've checked the core.php file and below there's the result. could you please help in restore the functionality of Mantis ? thanks a lot in avdance ?php if ( file_exists( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'core.php' ) ) { require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'core.php' ); $g_plugins_manager_core = ON; } ?>
thanks Vincent,
the < there's already, I lose a char in the cut&paste operation. <?php if ( file_exists( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'core.php' ) ) { require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'core.php' ); $g_plugins_manager_core = ON; } ?>
ok , due to the factI'm a stupid guy I've just cut the last part of the core.php file .
and even if I've already paste it again inside , calling for Mantis now I received a new error: Fatal error: Call to undefined function plugins_pluginmanager_get_plugin_list() in C:\wamp\www\mantisbt-1.2.0rc1\plugins\pluginmanager\lang_inc.php on line 23 is the re- installation the only way I have to escape from this problem ? thanks again and srry for bother MANTIS : 1.2.0rc1 SQL: mysql-3.23.53-win PHP: PHP 4.3.2 WampServer2.0c OS : Win XP
thanks Vincent.
now I installed the 1.1.8 and everything is perfect with the plugin manager and so on . however I hope you have the chance to solve it also on the rc version because i really prefer the new interface. thanks again MANTIS : 1.2.0rc1 SQL: mysql-3.23.53-win PHP: PHP 4.3.2 WampServer2.0c OS : Win XP
Final fix when plugin does not work with this error:
Fatal error: Call to undefined function plugins_pluginmanager_get_plugin_list() in C:\wamp\www\mantisbt-1.2.0rc1\plugins\pluginmanager\lang_inc.php on line 23 change the entry at the bottom of the custom_strings_inc.php to be a require_once instead of require Mine worked Regards, Barb Wheeler
Sorry, only registered users may post in this forum.
Online Users
Guests:
3
Record Number of Users:
1
on April 02, 2023
Record Number of Guests:
115
on November 09, 2023
Top Users
|