Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MantisKanban not showing among Available Plugins #44

Open
ronlinet opened this issue Oct 29, 2015 · 9 comments
Open

MantisKanban not showing among Available Plugins #44

ronlinet opened this issue Oct 29, 2015 · 9 comments

Comments

@ronlinet
Copy link

I have cloned the project into my plugin directory but the when I browse the http://mysite/manage_plugin_page.php the Kanban is not there. I am using Mantis version 1.2.19 and other plugins shows up correctly Is there any specific procedure to get this work?

@sadortun
Copy link

Mantis Kanban that uses ajax and mantisconnect, Italie not a 'real' plugin

Just open the index.html file.

@ronlinet
Copy link
Author

Thank you for your feedback @sadortun.
Now when I point my browser to index.html I am rejected with error “wsdl is null”.
There is certainly a configuration to be done, could you please point me to right direction?

@cgaspard
Copy link
Owner

Take a look at the readme. It covers most of what you need to setup.

https://github.com/cgaspard/mantiskanban/blob/master/README.md

@ronlinet
Copy link
Author

Hi cgaspard,
I went through the README.md and the only values to change are :
Mantis.ConnectURLand Mantis.ServerHostname

I have provided correct values for both variables and the initial kanban login screen is there. The issue occurs when i try to login I am getting an error about missing “wsdl”? Is there any additional configuration to be done?
screen shot 2015-10-30 at 10 34 30

@cgaspard
Copy link
Owner

You need to point to the php page that give you access to the mantis API.

Example:
http://mantiskanban.com/mantisbt/api/soap/mantisconnect.php

You can also use this as a guide:
http://mantiskanban.com/mantisbt/mantiskanban/config.js

@cgaspard
Copy link
Owner

Normally /api/soap/mantisconnect.php is the path you want to add to the domain, but it really depends where you install mantisbt. Append that to the URL you installed mantis at.

@ronlinet
Copy link
Author

@cgaspard thank you for explanation.
I understood that part and I did provide the values as described above but it doesn't fix anything.

I think that this is not a configuration issue because the error is being thrown by this part of code :
var retObj = Mantis.Login(document.getElementById("username").value, document.getElementById("password").value);
You can see the code in your git repos :
https://github.com/cgaspard/mantiskanban/blob/master/index.js#L147 .

It looks like the Mantis.Login doesn't do its job?

@cgaspard
Copy link
Owner

The login function you mention is having the error because its trying to communicate with the mantis API.

The error you mentioned: Now when I point my browser to index.html I am rejected with error “wsdl is null”.

Is specifically caused by the kanban libraries not able to find the wdsl file on your server. You should verify the PHP page and WSDL file inside /api/soap/mantisconnect.php and also /api/soap/mantisconnect.wsdl exists. You should be able to pull the wsdl directly from your browser.

For example see this page on the live demo server
http://mantiskanban.com/mantisbt/api/soap/mantisconnect.wsdl

The wsdl is the web service description file. It is used by the kanban libraries to know how to make API calls into mantis.

The box on the login screen should reflect the url to the mantisconnect php page as it does on the live demo server.

If you have trouble getting that to work, I don't mind taking a quick look at your setup if its public.

@ronlinet
Copy link
Author

Ok got it !
I simply didn't understand what value I should put in “Mantis URL” textbox.
The README.md doesn't say anything about this. To avoid this kind of mistakes wouldn't it be easier to include the wsdl url in config.js the same as for Mantis.ConnectURL?
Thank for taking care of my issue, much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants