Mantis

Error Installing PM on Windows

Posted by Loki 
Error Installing PM on Windows
January 04, 2008 09:50PM
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( &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;lang_inc.php&#039; ) ) {
require_once( &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;lang_inc.php&#039; );
global $g_plugins_manager_lang;
$g_plugins_manager_lang = ON;
}

I&#039;m sure I&#039;m overlooking something...
Re: Error Installing PM on Windows
January 04, 2008 11:49PM
According to what you post it seems that the PM is correctly installed, no?

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: Error Installing PM on Windows
January 05, 2008 12:16AM
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 &#039;pluginmanager&#039; for key 1 for the query: INSERT INTO mantis_plugins_pm_list_table ( plugin, installed ) VALUES ( &#039;pluginmanager&#039;, 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.
Re: Error Installing PM on Windows
January 07, 2008 08:47AM
Hi,

Can you look into the database and tell me what is the content of the mantis_plugins_pm_list_table table?

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
Re: Error Installing PM on Windows
January 08, 2008 04:44PM
pluginmanager 1
Re: Error Installing PM on Windows
January 08, 2008 04:45PM
I ran the script to remove the extra plugins links on the menu bar.
Re: Error Installing PM on Windows
January 08, 2008 04:50PM
Is it your first installation of the PM?

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: Error Installing PM on Windows
January 08, 2008 05:07PM
No. I&#039;ve deleted the project and re-installed twice. So this is the 3rd try. First time I thought I had done something wrong, so I just deleted and started over.

I can start over, no problem.
Re: Error Installing PM on Windows
January 08, 2008 05:09PM
If you want to start over, don&#039;t forget to clean the database (ie: delete tables starting by mantis_plugins_).

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: Error Installing PM on Windows
January 08, 2008 05:32PM
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&#039;m at now. I&#039;ve not click on any links.
I&#039;ve just checked the mantis_plugins_pm_list_table
pluginmanager 1
Re: Error Installing PM on Windows
January 08, 2008 05:37PM
Normally it is ok (the warning is just here because your Apache version and SQL server version have not been tested).

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: Error Installing PM on Windows
January 08, 2008 06:22PM
Ok. I&#039;ve clicked the [ Return to Plugin Manager ] link and have 1 Plugins link on the menu.

The last time went like this but I couldn&#039;t do anything, if I click the Plugin link I&#039;ll get a error.

Want me to click that link? And generate the error?
Re: Error Installing PM on Windows
January 08, 2008 06:31PM
Yes do it.

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: Error Installing PM on Windows
January 08, 2008 06:36PM
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 &#039;pluginmanager&#039; for key 1 for the query: INSERT INTO mantis_plugins_pm_list_table ( plugin, installed ) VALUES ( &#039;pluginmanager&#039;, 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.
Re: Error Installing PM on Windows
January 08, 2008 06:45PM
Do you have this in your core.php file?
Language: PHP
((( ) . DIRECTORY_SEPARATOR . &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;plugins&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; . DIRECTORY_SEPARATOR . &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;pluginmanager&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; . DIRECTORY_SEPARATOR . &<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>; ) ) { (( ) . DIRECTORY_SEPARATOR . &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;plugins&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; . DIRECTORY_SEPARATOR . &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;pluginmanager&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; . DIRECTORY_SEPARATOR . &<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>; ); $g_plugins_manager_core = ON; }

And this in your custom_strings_inc.php file?
Language: PHP
  ((( ) . DIRECTORY_SEPARATOR . &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;plugins&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; . DIRECTORY_SEPARATOR . &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;pluginmanager&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; . DIRECTORY_SEPARATOR . &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;lang_inc.php&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; ) ) { (( ) . DIRECTORY_SEPARATOR . &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;plugins&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; . DIRECTORY_SEPARATOR . &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;pluginmanager&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; . DIRECTORY_SEPARATOR . &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;lang_inc.php&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>; ); $g_plugins_manager_lang; $g_plugins_manager_lang = ON; }  

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: Error Installing PM on Windows
January 08, 2008 06:50PM
core.php:
?>
<?php
if ( file_exists( &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;core.php&#039; ) ) {
require_once( &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;core.php&#039; );
$g_plugins_manager_core = ON;
}
?><?php
if ( file_exists( &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;core.php&#039; ) ) {
require_once( &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;core.php&#039; );
$g_plugins_manager_core = ON;
}
?>

custom_string_inc.php:
<?php
if ( file_exists( &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;lang_inc.php&#039; ) ) {
require_once( &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;lang_inc.php&#039; );
global $g_plugins_manager_lang;
$g_plugins_manager_lang = ON;
}
?><?php
if ( file_exists( &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;lang_inc.php&#039; ) ) {
require_once( &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;lang_inc.php&#039; );
global $g_plugins_manager_lang;
$g_plugins_manager_lang = ON;
}
?>
Re: Error Installing PM on Windows
January 08, 2008 06:59PM
What is your SQL server?

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: Error Installing PM on Windows
January 08, 2008 10:08PM
MySQL 4.1.12-nt
Re: Error Installing PM on Windows
January 08, 2008 11:03PM
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
Re: Error Installing PM on Windows
January 08, 2008 11:10PM
1: PASS
2: FAIL
4: PASS
Re: Error Installing PM on Windows
January 09, 2008 07:10AM
Here another file to test.

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
Re: Error Installing PM on Windows
January 09, 2008 04:29PM
1: PASS
2: FAIL
4: PASS
5: PASS
6: PASS
Re: Error Installing PM on Windows
January 09, 2008 04:35PM
Ok, I&#039;ll generate you a new package. So I&#039;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
Re: Error Installing PM on Windows
January 09, 2008 05:42PM
ok, thanks
Re: Error Installing PM on Windows
January 09, 2008 07:43PM
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&#039;t set the configuration before upgrading.

Upgrade is working. Now to test
Thanks!
Sorry, only registered users may post in this forum.

Click here to login



Online Users

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