Mantis

Uninstalling/Re-installing

Posted by Ferlio 
Uninstalling/Re-installing
October 15, 2007 06:32PM
Hi, it seems that I made a mistake in installing it originally. So I uninstalled the pluginmanager and deleted all the files off the server. However, when I try to transfer over the files again and reinstall it, it gives me an error on the page, basically it totally breaks down my mantis.

Are there any other files that I have to restore/delete?

Thanks.
Re: Uninstalling/Re-installing
October 15, 2007 06:41PM
Hi,

What is the error?

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: Uninstalling/Re-installing
October 15, 2007 06:44PM
APPLICATION ERROR #401



Warning: 300 in /home/content/d/o/u/doubleclickqa/html/mantis/core/lang_api.php on line 223


This seems to be the culprit.
Re: Uninstalling/Re-installing
October 15, 2007 06:57PM
OK, the database seems to be corrupted. Right now, is the plugin installed (I mean, plugins_*.php are installed in the mantis root directory)?
What is your mantis version, your database server (MySQL, other)?

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: Uninstalling/Re-installing
October 15, 2007 07:03PM
Yes, the plugin...phps are all installed in the mantis root directory.

When I remove the plugins folder and the plugin...phps, Mantis is back to normal. When I reinstall the plugins, it gives me that error.

My Mantis version is 1.0.8, I'm not 100% sure about the database server - will have to ask.
Re: Uninstalling/Re-installing
October 15, 2007 07:09PM
You removed the plugin with a rm or by using the uninstall link?

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: Uninstalling/Re-installing
October 15, 2007 07:11PM
I initially used the uninstall link and that didn't remove all the files from the server so then I manually deleted those specific files.
Re: Uninstalling/Re-installing
October 15, 2007 07:15PM
OK, so keep the files installed, I'll prepare a patch...

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: Uninstalling/Re-installing
October 15, 2007 07:30PM
The patch:

In the core.php file, comment this:
<?php
	/*if ( file_exists( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;core.php&#039; ) ) {
		require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;core.php&#039; );
		$g_plugins_manager_core = ON;
	}*/
?>

In the custom_strings_inc.php file, comment this:
<?php

	/*if ( file_exists( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . &#039;plugins&#039; . DIRECTORY_SEPARATOR . &#039;pluginmanager&#039; . DIRECTORY_SEPARATOR . &#039;lang_inc.php&#039; ) ) {
		require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . &#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;
	}*/

?>

Download the patch and copy it in the mantis root directory. Browse the patch with a browser (http://.../mantis/patch.php).

Uncomment the previous comments.

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: Uninstalling/Re-installing
October 15, 2007 09:26PM
Thanks a bunch, that seemed to have worked!

So I currently have 0.1.0 pluginmanager but I wanted to upgrade to to 0.1.3, which is the latest.

Do I simply download the 0.1.3 pkg and upload via the plugin-manager or is there an official way of doing so?
Re: Uninstalling/Re-installing
October 15, 2007 09:54PM
Quote
Ferlio
Thanks a bunch, that seemed to have worked!

So I currently have 0.1.0 pluginmanager but I wanted to upgrade to to 0.1.3, which is the latest.

Do I simply download the 0.1.3 pkg and upload via the plugin-manager or is there an official way of doing so?

If your Mantis installation is connected to Internet you can just click on the link Upgrade (you need to check the box "Check upgrade" before) or you can download the package and upload it with the plugin manager 0.1.0.

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.

Click here to login



Online Users

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