cgaspard / mantiskanban

Mantis Kanban that uses ajax and mantisconnect
45 stars 33 forks source link

In new fresh MantisBT 1.2.17 install after upload/unzip mantiskanban-dev in plugins, is not recognized. Problems to login depending of the browser and url in it #33

Closed edupulpillo closed 10 years ago

edupulpillo commented 10 years ago

Hi, Just made a fresh install MantisBT 1.2.17 in LAMP and upload mantiskanban-dev in plugins folder. Inside Mantis the mantiskanban do not appear as available. I changed the plugin folder name to mantiskanban , MantisKanban, but the plugin do not appears inside mantis in manage plugins as available. Another plugins are inmediatly recognized after uploading and unzipping it. ¿What is needed to do that Mantis display the mantiskanban plugin as available? Steps to reproduce: 1)In a fresh MantisBT 1.2.17 installation upload the branch mantiskanban-dev.zip file inside /plugins 2)decompress the file 3)rename the folder mantiskanban-dev to mantiskanban and MantisKanban and observe that the plugin is not displayed in manage plugin section, but another plugins can be recognized. Thanks!

cgaspard commented 10 years ago

Hi @edupulpillo

MantisKanban isn't a plugin for Mantis. Its just a seperate website that can be pointed to the mantisconnect api. To get it working, just unzip it into the same server running your mantisbt, and point a browser to the index.htm page. Then rename the config.js sample, and customize the settings to your particular install.

Let me know if you have any other issues.

edupulpillo commented 10 years ago

Hi, thanks for your quick feedback to a newbie! I already unziped the MantisKanban in www.abalogic.net/pm1/plugins/mantiskanban/ I just renamed the config-sample.js to config.js editing the line with Mantis.ConnectURL

/// Point to the location of your server Mantis.ConnectURL = "http://www.abalogic.net/pm1/api/soap/mantisconnect.php";

Then i try to access with my browser from Linux to http://www.abalogic.net/pm1/mantiskanban/index.html (my website) using my browser and is returned the login page. Then following the url sample that is available in your online demo (http://www.mantisbt.org/bugs/api/soap/mantisconnect.php) i tried to login in the mantiskanban login page using the following: my login/password in mantis the url http://www.abalogic.net/pm1/api/soap/mantisconnect.php Then the following error is displayed: Error: wsdl.documentElement.attributes.getNamedItem(...) is null and another time: Error: Cannot read property 'documentElement' of null

What is wrong? thanks in advance!

cgaspard commented 10 years ago

What browser are you using? Try Chrome or Firefox. If you are using IE, you'll need to use 10 or 11.

edupulpillo commented 10 years ago

Hi cgaspard, many thanks for following the issue and your help! i just take a look into another closed issues, and i observe that may be the same problem that @Nicklas2751 reported you 5 months ago in the closed issue #20 Can't login (local configuration issue?) Then I proceed testing the login using the url http://www.abalogic.net/pm1/mantiskanban/index.html in the following 4 browsers, and i can login successfully:

Ububtu Firefox: 26.0 Mozzila Firefox for ubuntu Ubuntu Chromium: Versión 31.0.1650.63 Ubuntu 13.04(31.0.1650.63-0ubuntu0.13.04.1~20131204.1) Windows Firefox: 29.0 Windows chrome Version 34.0.1847.131 m --> I can can login sucessfully in the 4 browsers using the url http://www.abalogic.net/pm1/api/soap/mantisconnect.php in mantiskanban login screen, but i can not see the content of the mantis issues in the cards.

if i use a url with a subdomain in the browsers like http://kanban.abalogic.net redirecting to http://www.abalogic.net/pm1/mantiskanban/index.html or if i do not use the string www. in the valid url then the results are:

Ububtu Firefox: 26.0 Mozzila Firefox for ubuntu --> Error: (without any verbose message) Ubuntu Chromium: Versión 31.0.1650.63 Ubuntu 13.04(31.0.1650.63-0ubuntu0.13.04.1~20131204.1) --> I can login sucessfully using the url http://www.abalogic.net/pm1/api/soap/mantisconnect.php in mantiskanban login screen, but i can not see the content of the mantis issues in the cards. Windows Firefox: 29.0 --> Error: (without any verbose message) Windows chrome Version 34.0.1847.131 m --> Error: A network error occurred.

Thanks in advance for your help. cheers

hydezhao commented 9 years ago

hello @edupulpillo, I am facing the same error when trying to log on to the mantiskanban installed on my server: Error: Cannot read property 'documentElement' of null

How did you fix it ?

gigaga commented 8 years ago

+1