Mantis Integration Error

Ijaz Alam, modified 3 Years ago.

Mantis Integration Error

Youngling Posts: 6 Join Date: 11/11/20 Recent Posts
Klaros throws an error while integerating Mantis Bug Tracker.
After giving all the correct information and when Test login button is clicked then Klaros throws an exception described below:


Exception: 
com.itsolut.mantis.core.exception.MantisRemoteException: Error Type: SYSTEM            NOTICE, Error Description: Array to string conversion

Mantis BT Information: 

MantisBT Version 

   2.21.1

PHP Version

5.6.12

Database Driver

mysqli

Database Version, Description

5.6.26, 5.6.26

Log file is als attached. 

Please help me to resolve this issue. IF this issue is from Mantis then can you still give me tips to resolve it. 
thumbnail
Torsten Stolpmann, modified 3 Years ago.

RE: Mantis Integration Error

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Hi Ijaz,

I will gladly help you with this.

Sadly, the log file you have attached does not contain any relevant information.

If you are running under Windows, it may be that the actual error has been logged in the open console window. Please attach this if this is the case.

If not, please zip the content of the logs folder in the installation directory and attach it here.

I assume that you are trying to create an issue? It would be helpful if you attach a screenshot with the data you are entering as well.

Regards,

Torsten
Ijaz Alam, modified 3 Years ago.

RE: Mantis Integration Error

Youngling Posts: 6 Join Date: 11/11/20 Recent Posts
Thanks Torsten for your reply and help.

Yes I am trying to create an bug by integerating Klaros TCMS with Mantis Bug Tracker.

Error occur when I am validating URL or login into Mantis BT. Now I have attached the cosole windows log when error occured. 

I have also attached the screen shot of error when it occured.

Thanks,

Regards,
thumbnail
Torsten Stolpmann, modified 3 Years ago.

RE: Mantis Integration Error

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Hi Ijaz,

I think this is due to a misconfiguration on the mantis/php side. You possibly have not enabled the soap extension.

See https://issues.jenkins.io/browse/JENKINS-27077 for a solution.

Please let me know if this works for you.

Regards,

Torsten
Ijaz Alam, modified 3 Years ago.

RE: Mantis Integration Error

Youngling Posts: 6 Join Date: 11/11/20 Recent Posts
Hi Torsten,

I tried using the solution you suggested by enabling soap extension using link  https://issues.jenkins.io/browse/JENKINS-27077 .

 by uncomenting extension=soap.

but still no luck. 

Still same exception on error message while login into mantis BT is showing up.
I also tried 
$g_mc_use_nusoap = false //whether making it true or false it was making mantis BT to stop working.


Can you sugest some other solution ?

Thanks,
thumbnail
Torsten Stolpmann, modified 3 Years ago.

RE: Mantis Integration Error

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Hi Ijaz,

I would check, if php-soap is installed at all via yum list installed php-soap.

Also Mantis itself is recommending using php 7.1 with you Mantis version, so this is definitly an option to consider.

Other than that, I would try checking back with the Mantis community.

This is a bit out of scope for us here, as it is a Mantis setup problem.

Regards,

Torsten
Ijaz Alam, modified 3 Years ago.

RE: Mantis Integration Error

Youngling Posts: 6 Join Date: 11/11/20 Recent Posts
Hi Torsten,


Can you provide any latest update on this issue? 


Thanks,
Ijaz Alam
thumbnail
Torsten Stolpmann, modified 3 Years ago.

RE: Mantis Integration Error (Answer)

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Hi Ijaz,

as said above - as is a configuration issue in your Mantis instance regarding your PHP/Soap module, you will have to find a solution in this community.

Once this is resolved you should be able to connect without problem.

Sadly, this is all I can do for you here.

Regards,

Torsten