Page 1 of 1
Post a simple bug with a simple form with Ajax
Posted: 15 Sep 2006, 14:43
by narciso
Hi Guys, I would like create a simple system that help all our user to post a bug from a little form situated in the homepage in PHP and maybe in Ajax.
Is it possible?
Thanks
Posted: 15 Sep 2006, 19:19
by atomoid
its not exactly what you need,
but you might get some other ideas in this post
http://forums.mantisbugtracker.com/view ... ight=email
Posted: 16 Sep 2006, 00:03
by vboctor
Check out AnonyMantis, you can tailor it to your needs:
http://www.bleepsoft.com/anonymantis/
Regards,
Victor
Posted: 16 Sep 2006, 08:50
by narciso
Thanks guys, Anonymantis is very interesting project. I'll try it!
OOOPPPS: Where is the mantisconnect.php??
Thanks again.

Posted: 16 Sep 2006, 09:07
by narciso
I can't use this tool because it needs the mantisconnect file in C#.
Does a php version of it exist?
Thanks
Posted: 16 Sep 2006, 17:50
by vboctor
narciso, MantisConnect [1] is primarily a PHP webservice that is built on top of the Mantis APIs. In addition to that MantisConnect provides some extra optional features. These include: .NET client library, Java client library, and Cocoa client library. On top of the there are several sample and useful applications e.g. Eclipse Mantis Plug-in.
If you end up using MantisConnect, consider buying a license to support the product development.
[1]
http://www.futureware.biz/mantisconnect/
Regards,
Victor
Posted: 16 Sep 2006, 18:58
by narciso
Thank you vboctor for your help but at this point I don't understand the example.
I see this code in the config file of the MantisConnect:
Code: Select all
////// ANONYMANTIS TRACKER CONFIGURATION
$config_tracker_url = "http://yourcompany.com/mantis/mc/mantisconnect.php";
$config_tracker_user = "anonymantis";
$config_tracker_pass = "somesillypassword";
What I must write in this line:
Code: Select all
$config_tracker_url = "http://yourcompany.com/mantis/mc/mantisconnect.php";
Thanks
Posted: 16 Sep 2006, 19:16
by vboctor
You will need to install MantisConnect webservice in a sub-directory of the Mantis root directory (i.e. mc). Under this directory there should be a file called mantisconnect.php.
$config_tracker_url must point to http://<your mantis address>/mc/mantisconnect.php
http://<your mantis address> is what you use from your web browser to access the Mantis bugtracker.
Hope this helps.
Regards,
Victor
Posted: 16 Sep 2006, 19:20
by narciso
thanks
Where is the mantisconnect.php ?
must I download it?
bye
Posted: 16 Sep 2006, 19:22
by vboctor
Go to
http://www.futureware.biz/mantisconnect/ and follow the download links. Eventually you will get to SourceForge download area.
Regards,
Victor.
Posted: 16 Sep 2006, 21:13
by narciso
I see only this error in the index.php of the anonymantis:
Code: Select all
Error
Response not of type text/xml
Warning: Invalid argument supplied for foreach() in /index.php on line 60
Thanks
Posted: 17 Mar 2007, 18:40
by lvalics
Report Submitted
Thank you for your feedback! We will be in touch regarding your issue (#Array)
You will be redirected to our homepage shortly. (Or, just click here)
Error
Client: Access Denied
I see the project, but when I submit a bug, I get this, Client: Access Denied.
I created as a reporter a user in mantis, should I give other rights, like developer?
If I login with same user in Mantis, I can submit bug, so I don't think this is the problem. Any ideeas? Anyone?
Re: Post a simple bug with a simple form with Ajax
Posted: 04 Feb 2010, 14:59
by jejernig
Did you ever find a answer to your problem? I am getting the same error.
Re: Post a simple bug with a simple form with Ajax
Posted: 22 Feb 2016, 10:46
by Demnkill
Hi guys,
I have the same probleme when I call client.mc_login("userName", "passWord") its work
but when I call client.mc_issue_add("userName", "passWord" , myIssue) I have the folowing error: Access denied for user user0
did you know how to resolve this probleme?
Thanks in advance