Post a simple bug with a simple form with Ajax

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
narciso
Posts: 7
Joined: 15 Sep 2006, 14:40

Post a simple bug with a simple form with Ajax

Post 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
atomoid
Posts: 108
Joined: 18 Aug 2005, 00:46
Location: santa cruz, ca

Post 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
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

Check out AnonyMantis, you can tailor it to your needs:
http://www.bleepsoft.com/anonymantis/

Regards,
Victor
narciso
Posts: 7
Joined: 15 Sep 2006, 14:40

Post by narciso »

Thanks guys, Anonymantis is very interesting project. I'll try it!

OOOPPPS: Where is the mantisconnect.php??

Thanks again. :D
narciso
Posts: 7
Joined: 15 Sep 2006, 14:40

Post by narciso »

vboctor wrote:Check out AnonyMantis, you can tailor it to your needs:
http://www.bleepsoft.com/anonymantis/

Regards,
Victor
I can't use this tool because it needs the mantisconnect file in C#.
Does a php version of it exist?

Thanks
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post 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
narciso
Posts: 7
Joined: 15 Sep 2006, 14:40

Post 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
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post 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
narciso
Posts: 7
Joined: 15 Sep 2006, 14:40

Post by narciso »

thanks
Where is the mantisconnect.php ?
must I download it?

bye
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

Go to http://www.futureware.biz/mantisconnect/ and follow the download links. Eventually you will get to SourceForge download area.

Regards,
Victor.
narciso
Posts: 7
Joined: 15 Sep 2006, 14:40

Post 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
lvalics
Posts: 6
Joined: 07 Mar 2007, 17:31

Post 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?
jejernig
Posts: 2
Joined: 04 Feb 2010, 14:58

Re: Post a simple bug with a simple form with Ajax

Post by jejernig »

Did you ever find a answer to your problem? I am getting the same error.
Demnkill
Posts: 4
Joined: 22 Feb 2016, 08:45

Re: Post a simple bug with a simple form with Ajax

Post 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
Post Reply