Page 1 of 1
Reporting Issue Using PHP
Posted: 09 Dec 2011, 11:57
by JR10
I want to report an issue using php, and parameters.
Please tell me how.
Thanks in advance.
Re: Reporting Issue Using PHP
Posted: 09 Dec 2011, 13:18
by atrol
Have a look at at bug_report.php of your MantisBT installation.
Re: Reporting Issue Using PHP
Posted: 09 Dec 2011, 16:14
by JR10
I did, but can't find any help.
Can you please tell me what to look for exactly?
What I'm looking for is a function, with parameters to report an issue.
Re: Reporting Issue Using PHP
Posted: 09 Dec 2011, 16:56
by atrol
Re: Reporting Issue Using PHP
Posted: 09 Dec 2011, 18:10
by JR10
I made a php file that includes the api/soap/mc_issue_api.php file.
I'm trying to use the function 'mc_issue_add'
I get error:Fatal error: Class 'soap_fault' not found in /home/jr10/domains/skylinemta.com/public_html/bugs/api/soap/mc_issue_api.php on line 553'.
Thanks.
Re: Reporting Issue Using PHP
Posted: 09 Dec 2011, 18:43
by JR10
I managed to get it working.
Thanks.
Re: Reporting Issue Using PHP
Posted: 09 Dec 2011, 23:56
by JR10
I'm having one problem now, knowing the right possible values, the "project" for example, the id or the name, the "priority".
Is there a way to know the possible values?
Thanks.
Re: Reporting Issue Using PHP
Posted: 11 Dec 2011, 17:21
by atrol
Look at mc_enum_api.php
Re: Reporting Issue Using PHP
Posted: 11 Dec 2011, 21:52
by JR10
atrol wrote:Look at mc_enum_api.php
Thanks, but I also want the value.
Like what can the "priority" be.
I tried a string, capitalized string, number, nothing worked right.
Re: Reporting Issue Using PHP
Posted: 13 Dec 2011, 20:12
by atrol
Sorry, I don't have the time to support you in such a detailed way.
Can you tell me what kind of program you want to develop?
Maybe I can deliver you some links to existing 3rd party addons or plugins which are a good starting point for your development.
Re: Reporting Issue Using PHP
Posted: 13 Dec 2011, 22:44
by JR10
I'm not trying to develop a program.
Just a php script.
It's weird, because I tried, strings and numbers, but nothing is working.
When I try the priority = "2", The priority field is "@2@".
When I try a string like "URGENT" or "urgent", the priority field is set to the default value.
Re: Reporting Issue Using PHP
Posted: 14 Dec 2011, 08:08
by atrol
JR10 wrote:I'm not trying to develop a program.
Just a php script.
For what purpose?
Re: Reporting Issue Using PHP
Posted: 15 Dec 2011, 17:08
by JR10
Reporting issues in game in Multi Theft Auto.
Re: Reporting Issue Using PHP
Posted: 17 Dec 2011, 12:15
by atrol
Re: Reporting Issue Using PHP
Posted: 21 Dec 2011, 20:30
by JR10
MC is easy and simple, I want to use it.
No one know here?
I just want to know, how to set the priority/severity?