|
Error Installing PM on WindowsPosted by Loki
Check packager version 0.1.0
Plugin name Plugin Manager Plugin version 0.1.0 Check the Apache version WARNING Check the PHP version OK Check the SQL version WARNING Check the Mantis version OK Check the Plugins version OK Install or Upgrade? Install Check install script OK Install the plugin Step 1 / 4: SQL upgrade OK Install the plugin Step 2 / 4: Patching files OK Install the plugin Step 3 / 4: Patching plugins OK Install the plugin Step 4 / 4: Finishing installation OK Register plugin OK Installation WARNING I've checked the file permissions. Apache2 has system rights to the folders. Apache2 is installed as a service in Windows XP Pro sp2. Also these lines are added to my custom_strings_inc.php file: <?php if ( file_exists( 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'lang_inc.php' ) ) { require_once( 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'lang_inc.php' ); global $g_plugins_manager_lang; $g_plugins_manager_lang = ON; } I'm sure I'm overlooking something...
Yes it looks that way. But as the last line says on the Install: Warning.
APPLICATION ERROR #401 Database query failed. Error received from database was #1062: Duplicate entry 'pluginmanager' for key 1 for the query: INSERT INTO mantis_plugins_pm_list_table ( plugin, installed ) VALUES ( 'pluginmanager', 1 ) Also if I try to do anything with PM all I get is the above Error and another Plugin link on the menu bar.
I droped the schema for this project.
I deleted the Mantis folder of this project. I re-installed Mantis I tried to install PM: Check packager version 0.1.0 Plugin name Plugin Manager Plugin version 0.1.0 Check the Apache version WARNING Check the PHP version OK Check the SQL version WARNING Check the Mantis version OK Check the Plugins version OK Install or Upgrade? Install Check install script OK Install the plugin Step 1 / 4: SQL upgrade OK Install the plugin Step 2 / 4: Patching files OK Install the plugin Step 3 / 4: Patching plugins OK Install the plugin Step 4 / 4: Finishing installation OK Register plugin OK Installation WARNING [ Return to Plugin Manager ] This is where I'm at now. I've not click on any links. I've just checked the mantis_plugins_pm_list_table pluginmanager 1
Check packager version 0.1.0
Plugin name Plugin Manager Plugin version 0.1.0 Check the Apache version WARNING Check the PHP version OK Check the SQL version WARNING Check the Mantis version OK Check the Plugins version OK Install or Upgrade? Install Check install script OK Install the plugin Step 1 / 4: SQL upgrade OK Install the plugin Step 2 / 4: Patching files OK Install the plugin Step 3 / 4: Patching plugins OK Install the plugin Step 4 / 4: Finishing installation OK APPLICATION ERROR #401 Database query failed. Error received from database was #1062: Duplicate entry 'pluginmanager' for key 1 for the query: INSERT INTO mantis_plugins_pm_list_table ( plugin, installed ) VALUES ( 'pluginmanager', 1 ) Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Do you have this in your core.php file?
And this in your custom_strings_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
core.php:
?> <?php if ( file_exists( 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'core.php' ) ) { require_once( 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'core.php' ); $g_plugins_manager_core = ON; } ?><?php if ( file_exists( 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'core.php' ) ) { require_once( 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'core.php' ); $g_plugins_manager_core = ON; } ?> custom_string_inc.php: <?php if ( file_exists( 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'lang_inc.php' ) ) { require_once( 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'lang_inc.php' ); global $g_plugins_manager_lang; $g_plugins_manager_lang = ON; } ?><?php if ( file_exists( 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'lang_inc.php' ) ) { require_once( 'plugins' . DIRECTORY_SEPARATOR . 'pluginmanager' . DIRECTORY_SEPARATOR . 'lang_inc.php' ); global $g_plugins_manager_lang; $g_plugins_manager_lang = ON; } ?>
Can you download this file and install it in your mantis root directory (where the plugins_page.php is located). Then browse-it and post the result here.
Thanks. 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, I'll generate you a new package. So I'll send you by email a new 0.1.0 (.tar.gz) version and a 0.1.5a3 (.mantis.pkg) version (to upgrade to the last 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
Hi,
Install went fine. Upgraded PM with version 0.1.5a2 Had this error: Install/Upgrade a plugin Check packager version 0.1.0 Plugin name Plugin Manager Plugin version 0.1.5a2 Check the Apache version WARNING Check the PHP version OK Check the SQL version WARNING Check the Mantis version OK Check the Plugins version OK Install or Upgrade? Upgrade Installing new files OK Check install script OK SYSTEM WARNING: unlink(C:\Program Files\Apache Group\Apache2\htdocs\mantis-1.0.5\plugins_file_package_page.php) [function.unlink]: No such file or directory Upgrade the plugin Step 1 / 3: Moving files OK Upgrade the plugin Step 2 / 3: SQL upgrade OK Upgrade the plugin Step 3 / 3: Patching files OK Register plugin OK Installation WARNING [ Return to Plugin Manager ] However I didn't set the configuration before upgrading. Upgrade is working. Now to test Thanks!
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
|