|
[Resolved] PluginManager: links broken??Posted by albertor
Dear all,
I have installed the Plugin Manager 0.4.0. It doesn't gives me eny error, as you can see in the snapshot link I attach, but I'm not able to find any button to install or unistall plugins. I have changed the permissions so the webserser is able to write in the directories, and I have downloaded into the mantis directory one example plugin to test, myreport-0.0.4.mantis.pkg. But now, I don't know what should be done, where activate and/or configure this package . In the help it says that is needed to uncompress the file (how? the file is recognized as "data", not as zip, or bz or gzip file) The plugin page always is the same, and in the Manage->Manage Plugins link doesn't appears nothing new. [192.168.1.140] always gives the same message, without any possibility to do nothing with the plugin. It always forward to [192.168.1.140]. Please take a look at the snapshots, to know what I'm saying. [www.villagephotos.com] [www.villagephotos.com] Thanks for your help! Alberto.
You have a Plugin link in the menu bar, click on it and then upload the mantis.pkg file (in the first box of the page) to install the plugin. All the plugins from this site are handled by the Plugin Manager through the Plugins link in the menu bar.
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
Thanks for your fast reply
But the plugin link in the menu bar is not called "Plugins", it is called "plugins_pluginmanager_link"; If I click there, the browser goes to the /mantis/plugins_page.php page. But that page, automatically, forwards to /mantis/plugins_install_page.php?plugin=pluginmanager. I can't see anywhere the box to upload the file; I always see the pluginmanager configuration, and I can only come back again and again and again... BR, Alberto.
I mean, when I click in the menu bar, in the "plugins_pluginmanager_link" link, then I'm forwarded to the /mantis/plugins_page.php page, wich forwards again automatically to /mantis/plugins_install_page.php?plugin=pluginmanager. There, I can see the "plugin" link (the menu bar changes), but that link forwards me again to the same page, /mantis/plugins_page.php page, and in that page I can't see any box, just the information about the PluginManager plugin.
You can see it in the spnashot that I took: [www.villagephotos.com] I can click now in the menubar in "Plugins" or in "[ Return to Plugin Manager ]", down the page, and both forwards me agin to the same page. You can see in the browser status bar the link. Thanks, Alberto.
These are the last lines of /var/www/mantis/core.php; I didn't find nothing about pluginmanager:
if ( !isset( $g_bypass_headers ) && !headers_sent() ) { if ( isset( $g_allow_browser_cache ) ) { switch ( $t_browser_name ) { case 'IE': header( 'Cache-Control: private, proxy-revalidate' ); break; default: header( 'Cache-Control: private, must-revalidate' ); break; } } else { header( 'Cache-Control: no-store, no-cache, must-revalidate' ); } header( 'Expires: ' . gmdate( 'D, d M Y H:i:s \G\M\T', time() ) ); # SEND USER-DEFINED HEADERS foreach( config_get( 'custom_headers' ) as $t_header ) { header( $t_header ); } } require_once( $t_core_path.'project_api.php' ); require_once( $t_core_path.'project_hierarchy_api.php' ); require_once( $t_core_path.'access_api.php' ); require_once( $t_core_path.'print_api.php' ); require_once( $t_core_path.'helper_api.php' ); require_once( $t_core_path.'user_api.php' ); require_once( $t_core_path.'pluginsuser_api.php' ); # push push default language to speed calls to lang_get lang_push( lang_get_default() ); if ( !isset( $g_bypass_headers ) && !headers_sent() ) { header( 'Content-type: text/html;charset=' . lang_get( 'charset' ) ); } ?> There are also another one core.php file. It is located in /var/www/mantis/plugins/pluginmanager/core.php, but it is very small, and I dont' think that you mean this file. Anyway, the end of that file is: require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'constant_inc.php' ); require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'function_api.php' ); require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'backup_api.php' ); require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'plugin_api.php' ); require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'file_api.php' ); require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'xml_api.php' ); if ( pm_plugin_is_installed( 'pluginmanager' ) ) { $t_plugin_list = plugins_pluginmanager_get_plugin_list( false, true ); $t_dir = dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR; foreach( $t_plugin_list as $t_plugin ) { $t_core_file = $t_dir . $t_plugin['id'] . DIRECTORY_SEPARATOR . 'core.php'; if ( file_exists( $t_core_file ) ) { require_once( $t_core_file ); } } } } ?> Oh, I forgot to say that I have tested this with both the stable (1.1.4) and the development (1.2.0a2) mantis version, and in both cases the error is the same. Well, in fact it doesn't shows any error, but the box to load new plugins doesn't appears. BR, Alberto.
Ok, there is an error (not reported) during the installation...
Just add these lines at the end (after the ?> tag) of the core.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 Edited 3 time(s). Last edit at 11/18/2008 04:01PM by deboutv.
Ok, now I saw the box, but appears some errors in the screen:
[www.villagephotos.com] I think that this is near to be fixed BR, Alberto.
You can't see the image, hmm I don't know what the problem could be. Anyway, it doesn't matter so much; the error strings that appears are:
APPLICATION WARNING #300: String 'plugins_pluginmanager_title' not found. APPLICATION WARNING #300: String 'plugins_pluginmanager_install_plugin' not found. APPLICATION WARNING #300: String 'plugins_pluginmanager_url' not found. It seems that is not enough just uncompress pluginmanager-0.4.0.tar.gz in the mantis directory file. I have done the following: plugins/pluginmanager/lang# cat strings_english.txt >> /var/www/mantis/lang/strings_english.txt Then, I have removed the additional "<?" inserted in that file. And it worked May be that some kind of "include" is still missing in the installation process? Now I think that I have pluginmanager installed. Tons of thanks for your time, your responses has been *really* fast. BR, Alberto.
You problem is not solved, make sure that all files are writeable by the webserver (and the webserver could be able to add new files).
Add these lines in the custom_strings_inc.php file (create it if it is missing at the mantis root 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
Sorry, only registered users may post in this forum.
Online Users
Guests:
8
Record Number of Users:
1
on April 02, 2023
Record Number of Guests:
115
on November 09, 2023
Top Users
|