|
From: brent t. s. <bre...@gm...> - 2012-07-31 19:33:21
Attachments:
0x832D950A.asc
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yep, that one.
I've got some confusion. I can pull the mantisconnect.php?wsdl via
wget, a browser, etc. directly just fine and I get XML output, but
whenever I try from a PHP script it gives me:
______________
Fatal error: Uncaught SoapFault exception: [Client] looks like we got
no XML document in
/home/circle/public_html/mantis/site-anon_report.php:13 Stack trace:
#0 /home/circle/public_html/mantis/site-anon_report.php(13):
SoapClient->__call('mc_issue_add', Array) #1
/home/circle/public_html/mantis/site-anon_report.php(13):
SoapClient->mc_issue_add('anonymous', 'XXXXXXXX', Array) #2 {main}
thrown in /home/circle/public_html/mantis/site-anon_report.php on line 13
______________
I'm almost convinced it's something to do with the custom fields.
Here's the PHP script:
______________
<?php
$reporter = $_REQUEST['fullname'] ;
$reporter_addy = $_REQUEST['email'] ;
$desc = $_REQUEST['summary'] ;
$bigtext = $_REQUEST['description'] ;
$browser = $_REQUEST['ua'] ;
$problem_page = $_REQUEST['url'] ;
$username = 'anonymous';
$password = 'XXXXXXXXX';
$issue = array ('category_id' => '2', 'project_id' => '1', 'summary'
=> $desc , 'description' => $bigtext, 'custom_URL' => "$problem_page",
'custom_User-Agent String' => "$browser", 'custom_Reporter Email' =>
"$reporter_addy", 'custom_Reporter Name' => "$reporter",
'additional_information' => '(submitted via feedback.html)');
$c = new
SoapClient('http://path/to/site/scrubbed/mantisconnect.php?wsdl');
$c->mc_issue_add($username, $password, $issue);
// print_r($issue);
?>
________________
Using PHP 5.3.3, MantisBT 1.2.8 (I know, I know).
I've confirmed that the server has both the SOAP client *and* server
enabled in phpinfo.
In fact, the Array *does* get created; If I comment out the
"$c->mc_issue_add()" line and uncomment the print_r(), I get this:
________________
Array ( [category_id] => 2 [project_id] => 1 [summary] => this is a
test bug [description] => lolnope. [custom_URL] =>
http://scrubbed/testing.html [custom_Use />
<i>Please provide detailed information (i.e. what you<br>
were doing when the issue occurred, how we can<br>
recreate this issue, any logins we might need,<br>
etc.)</i><b>:</b><br />
<textarea name="description" rows="8" cols="53"></textarea><br />
<b>OS/Browser Version</b>
<br />
<i>(this should be automatically detected)</i><b>:</b>
<br /><script type="text/javascript">
var ua = navigator.userAgent;
// document.write('<i>+ua+</i>');
document.write('<input type="text" readonly="readonly" size="55"
name="ua" value="'+ua+'">');
</script><br />
<br>
<b>Reporting URL</b>
<br />
<i>(this should be automatically detected)</i><b>: </b>
<br /><script type="text/javascript">
var url = document.referrer;
// document.write('<i>+url+</i>');
document.write('<input type="url" readonly="readonly" size="55"
name="url" value="'+url+'">');
</script><br />
<br>
<center><input type="submit" value="Submit"/> <input
type="reset" value="Clear"></input></center>
</form>
</body>
</html>
_________________
SO! Any ideas? How badly am I messing this up?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlAYMuwACgkQ8u2Zh4MtlQpOjQCgjiUdRQE6qP6qmfBDdFhCq5ii
ePkAnjlvfJ0HEN4ZMySh6MpPpYNaYaYh
=gLL7
-----END PGP SIGNATURE-----
|
|
From: Robert M. <rob...@gm...> - 2012-07-31 19:41:34
|
Hi,
On Tue, Jul 31, 2012 at 10:33 PM, brent timothy saner
<bre...@gm...> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Yep, that one.
>
> I've got some confusion. I can pull the mantisconnect.php?wsdl via
> wget, a browser, etc. directly just fine and I get XML output, but
> whenever I try from a PHP script it gives me:
The soap entry point is mantisconnect.php ( no ?wsdl appended )
Robert
>
> ______________
> Fatal error: Uncaught SoapFault exception: [Client] looks like we got
> no XML document in
> /home/circle/public_html/mantis/site-anon_report.php:13 Stack trace:
> #0 /home/circle/public_html/mantis/site-anon_report.php(13):
> SoapClient->__call('mc_issue_add', Array) #1
> /home/circle/public_html/mantis/site-anon_report.php(13):
> SoapClient->mc_issue_add('anonymous', 'XXXXXXXX', Array) #2 {main}
> thrown in /home/circle/public_html/mantis/site-anon_report.php on line 13
> ______________
>
>
> I'm almost convinced it's something to do with the custom fields.
>
> Here's the PHP script:
>
> ______________
> <?php
> $reporter = $_REQUEST['fullname'] ;
> $reporter_addy = $_REQUEST['email'] ;
> $desc = $_REQUEST['summary'] ;
> $bigtext = $_REQUEST['description'] ;
> $browser = $_REQUEST['ua'] ;
> $problem_page = $_REQUEST['url'] ;
>
> $username = 'anonymous';
> $password = 'XXXXXXXXX';
> $issue = array ('category_id' => '2', 'project_id' => '1', 'summary'
> => $desc , 'description' => $bigtext, 'custom_URL' => "$problem_page",
> 'custom_User-Agent String' => "$browser", 'custom_Reporter Email' =>
> "$reporter_addy", 'custom_Reporter Name' => "$reporter",
> 'additional_information' => '(submitted via feedback.html)');
> $c = new
> SoapClient('http://path/to/site/scrubbed/mantisconnect.php?wsdl');
> $c->mc_issue_add($username, $password, $issue);
> // print_r($issue);
> ?>
> ________________
>
> Using PHP 5.3.3, MantisBT 1.2.8 (I know, I know).
>
> I've confirmed that the server has both the SOAP client *and* server
> enabled in phpinfo.
>
>
> In fact, the Array *does* get created; If I comment out the
> "$c->mc_issue_add()" line and uncomment the print_r(), I get this:
>
> ________________
> Array ( [category_id] => 2 [project_id] => 1 [summary] => this is a
> test bug [description] => lolnope. [custom_URL] =>
> http://scrubbed/testing.html [custom_Use />
> <i>Please provide detailed information (i.e. what you<br>
> were doing when the issue occurred, how we can<br>
> recreate this issue, any logins we might need,<br>
> etc.)</i><b>:</b><br />
> <textarea name="description" rows="8" cols="53"></textarea><br />
> <b>OS/Browser Version</b>
> <br />
> <i>(this should be automatically detected)</i><b>:</b>
> <br /><script type="text/javascript">
> var ua = navigator.userAgent;
> // document.write('<i>+ua+</i>');
> document.write('<input type="text" readonly="readonly" size="55"
> name="ua" value="'+ua+'">');
> </script><br />
> <br>
> <b>Reporting URL</b>
> <br />
> <i>(this should be automatically detected)</i><b>: </b>
> <br /><script type="text/javascript">
> var url = document.referrer;
> // document.write('<i>+url+</i>');
> document.write('<input type="url" readonly="readonly" size="55"
> name="url" value="'+url+'">');
> </script><br />
> <br>
> <center><input type="submit" value="Submit"/> <input
> type="reset" value="Clear"></input></center>
> </form>
> </body>
> </html>
> _________________
>
>
>
>
> SO! Any ideas? How badly am I messing this up?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.19 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlAYMuwACgkQ8u2Zh4MtlQpOjQCgjiUdRQE6qP6qmfBDdFhCq5ii
> ePkAnjlvfJ0HEN4ZMySh6MpPpYNaYaYh
> =gLL7
> -----END PGP SIGNATURE-----
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Mantisbt-soap-dev mailing list
> Man...@li...
> https://lists.sourceforge.net/lists/listinfo/mantisbt-soap-dev
>
--
Sent from my (old) computer
|
|
From: brent t. s. <bre...@gm...> - 2012-07-31 20:18:49
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/31/12 15:41, Robert Munteanu wrote: > Hi, > > On Tue, Jul 31, 2012 at 10:33 PM, brent timothy saner > <bre...@gm...> wrote: Yep, that one. > > I've got some confusion. I can pull the mantisconnect.php?wsdl via > wget, a browser, etc. directly just fine and I get XML output, but > whenever I try from a PHP script it gives me: > >> The soap entry point is mantisconnect.php ( no ?wsdl appended ) > When I do that, I get Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://...' Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://.... I checked and there isn't a BOM in my PHP script nor in mantisconnect.php ... -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAYPZ0ACgkQ8u2Zh4MtlQoieACfcVSaYkuCCelSKQLyy2BI4QHd uosAoLOB9PkJyuPuQ4ZAA+51m+Hfvh6J =VLMU -----END PGP SIGNATURE----- |
|
From: Robert M. <rob...@gm...> - 2012-07-31 20:25:18
|
On Tue, Jul 31, 2012 at 11:18 PM, brent timothy saner <bre...@gm...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 07/31/12 15:41, Robert Munteanu wrote: >> Hi, >> >> On Tue, Jul 31, 2012 at 10:33 PM, brent timothy saner >> <bre...@gm...> wrote: Yep, that one. >> >> I've got some confusion. I can pull the mantisconnect.php?wsdl via >> wget, a browser, etc. directly just fine and I get XML output, but >> whenever I try from a PHP script it gives me: >> >>> The soap entry point is mantisconnect.php ( no ?wsdl appended ) >> > > When I do that, I get > > Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing > WSDL: Couldn't load from 'http://...' Fatal error: Uncaught SoapFault > exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from > 'http://.... > > I checked and there isn't a BOM in my PHP script nor in > mantisconnect.php ... Um, sorry, the entry point was correct. Can you check the server error log? If that does not help try tracking the conversation with SOAP UI as decribed at https://sourceforge.net/apps/mediawiki/mylyn-mantis/index.php?title=User_Guide#Verifying_the_Mantis_SOAP_API_using_SOAP_UI Robert > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.19 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAlAYPZ0ACgkQ8u2Zh4MtlQoieACfcVSaYkuCCelSKQLyy2BI4QHd > uosAoLOB9PkJyuPuQ4ZAA+51m+Hfvh6J > =VLMU > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Mantisbt-soap-dev mailing list > Man...@li... > https://lists.sourceforge.net/lists/listinfo/mantisbt-soap-dev -- Sent from my (old) computer |
|
From: brent t. s. <bre...@gm...> - 2012-07-31 21:03:48
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/31/12 16:25, Robert Munteanu wrote: > > Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: > Parsing WSDL: Couldn't load from 'http://...' Fatal error: Uncaught > SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load > from 'http://.... > > I checked and there isn't a BOM in my PHP script nor in > mantisconnect.php ... > >> Um, sorry, the entry point was correct. > >> Can you check the server error log? If that does not help try >> tracking the conversation with SOAP UI as decribed at >> https://sourceforge.net/apps/mediawiki/mylyn-mantis/index.php?title=User_Guide#Verifying_the_Mantis_SOAP_API_using_SOAP_UI WELP, >> this is embarrassing. the error log was being written to a totally different file. was wondering why i wasn't getting anything useful from where i was looking... it was giving me this: [Tue Jul 31 16:35:41 2012] [error] [client XX] PHP Fatal error: require_once(): Failed opening required 'adodb/adodb.inc.php' (include_path='/path/to/mantis/core/:/path/to/mantis/library:../../library') in /path/to/mantis/core/database_api.php on line 35 [Tue Jul 31 16:35:41 2012] [error] [client XX] PHP Fatal error: Uncaught SoapFault exception: [Client] looks like we got no XML document in /path/to/mantis/site-anon_report.php:13\nStack trace:\n#0 /path/to/mantis/site-anon_report.php(13): SoapClient->__call('mc_issue_add', Array)\n#1 /path/to/mantis/site-anon_report.php(13): SoapClient->mc_issue_add('anonymous', 'XXXXXXX', Array)\n#2 {main}\n thrown in /path/to/mantis/site-anon_report.php on line 13, referer: http://..../feedback.html somewhere along the way mantis is stripping my include_path. it looks like it's mantisconnect itself, based upon this: www:/path/to/mantis# grep -iHnR "include_path" * ... api/soap/mantisconnect.php:15:set_include_path( '../../library' ); ... This is how that small section looks now: 15 $newpath = '../../library'; 16 set_include_path(get_include_path() . PATH_SEPARATOR . $newpath); 17 require_once( 'nusoap/nusoap.php' ); which DOES give me a new error- and THIS one _seems_ to be an actual error from SOAP. Fatal error: Uncaught SoapFault exception: [Server] Error Type: SYSTEM NOTICE, Error Description: Undefined index: project, Stack Trace: UnknownFile L? mc_issue_add('anonymous', 'XXXXX', { ['summary'] => 'this is a test bug', ['description'] => 'bug submitted from the live site', ['additional_information'] => '(submitted via feedback.html)' }) nusoap.php L4000 call_user_func_array('mc_issue_add', { [0] => 'anonymous', [1] => 'XXXXXX', [2] => { ['summary'] => 'this is a test bug', ['description'] => 'bug submitted from the live site', ['additional_information'] => '(submitted via feedback.html)' } }) nusoap.php L3689 invoke_method() mantisconnect.php L1540 service(' looks like i'm just missing the "project" key, right? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAYSCgACgkQ8u2Zh4MtlQr8HQCeOCyIM42/JTcTGc6Z8G4eSmFq /gMAnieOTPrus8myUdeASv4q2Mmy9Hk1 =+Ik0 -----END PGP SIGNATURE----- |
|
From: Robert M. <rob...@gm...> - 2012-07-31 21:08:05
|
On Wed, Aug 1, 2012 at 12:03 AM, brent timothy saner <bre...@gm...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 07/31/12 16:25, Robert Munteanu wrote: >> >> Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: >> Parsing WSDL: Couldn't load from 'http://...' Fatal error: Uncaught >> SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load >> from 'http://.... >> >> I checked and there isn't a BOM in my PHP script nor in >> mantisconnect.php ... >> >>> Um, sorry, the entry point was correct. >> >>> Can you check the server error log? If that does not help try >>> tracking the conversation with SOAP UI as decribed at >>> https://sourceforge.net/apps/mediawiki/mylyn-mantis/index.php?title=User_Guide#Verifying_the_Mantis_SOAP_API_using_SOAP_UI > > WELP, >>> > this is embarrassing. the error log was being written to a > totally different file. was wondering why i wasn't getting anything > useful from where i was looking... > > it was giving me this: > > [Tue Jul 31 16:35:41 2012] [error] [client XX] PHP Fatal error: > require_once(): Failed opening required 'adodb/adodb.inc.php' > (include_path='/path/to/mantis/core/:/path/to/mantis/library:../../library') > in /path/to/mantis/core/database_api.php on line 35 > [Tue Jul 31 16:35:41 2012] [error] [client XX] PHP Fatal error: > Uncaught SoapFault exception: [Client] looks like we got no XML > document in /path/to/mantis/site-anon_report.php:13\nStack trace:\n#0 > /path/to/mantis/site-anon_report.php(13): > SoapClient->__call('mc_issue_add', Array)\n#1 > /path/to/mantis/site-anon_report.php(13): > SoapClient->mc_issue_add('anonymous', 'XXXXXXX', Array)\n#2 {main}\n > thrown in /path/to/mantis/site-anon_report.php on line 13, referer: > http://..../feedback.html > > > somewhere along the way mantis is stripping my include_path. it looks > like it's mantisconnect itself, based upon this: > > www:/path/to/mantis# grep -iHnR "include_path" * > ... > api/soap/mantisconnect.php:15:set_include_path( '../../library' ); > ... > > This is how that small section looks now: > > 15 $newpath = '../../library'; > 16 set_include_path(get_include_path() . PATH_SEPARATOR . $newpath); > 17 require_once( 'nusoap/nusoap.php' ); Not sure why you need to do this, it has always worked out of the box... > > which DOES give me a new error- and THIS one _seems_ to be an actual > error from SOAP. > > Fatal error: Uncaught SoapFault exception: [Server] Error Type: SYSTEM > NOTICE, Error Description: Undefined index: project, Stack Trace: > UnknownFile L? mc_issue_add('anonymous', 'XXXXX', { ['summary'] => > 'this is a test bug', ['description'] => 'bug submitted from the live > site', ['additional_information'] => '(submitted via feedback.html)' > }) nusoap.php L4000 call_user_func_array('mc_issue_add', { [0] => > 'anonymous', [1] => 'XXXXXX', [2] => { ['summary'] => 'this is a test > bug', ['description'] => 'bug submitted from the live site', > ['additional_information'] => '(submitted via feedback.html)' } }) > nusoap.php L3689 invoke_method() mantisconnect.php L1540 service(' > > looks like i'm just missing the "project" key, right? Right, the project is mandatory. Robert > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.19 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAlAYSCgACgkQ8u2Zh4MtlQr8HQCeOCyIM42/JTcTGc6Z8G4eSmFq > /gMAnieOTPrus8myUdeASv4q2Mmy9Hk1 > =+Ik0 > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Mantisbt-soap-dev mailing list > Man...@li... > https://lists.sourceforge.net/lists/listinfo/mantisbt-soap-dev -- Sent from my (old) computer |
|
From: brent t. s. <bre...@gm...> - 2012-08-01 04:28:15
|
On 07/31/12 17:07, Robert Munteanu wrote: > looks like i'm just missing the "project" key, right? > > >> Right, the project is mandatory. there's definitely something odd going on here. can i get some clarification on what sort of values that mantisconnect is *expecting* for mc_issue_add()? or maybe just an example block so i know i'm not going crazy here? here's what i'm running now (along with a copious amount of testing; you'll notice that the $ticket() array successfully initializes). script: http://pastebin.com/M6xWVc3X output: http://pastebin.com/xcyiRYxc AND here's the relevant bit from the logs. [Wed Aug 01 00:10:38 2012] [error] [client XX.XX.XX.XX] PHP Fatal error: Uncaught SoapFault exception: [Server] Error Type: SYSTEM NOTICE,\nError Description:\nUninitialized string offset: 0,\nStack Trace:\nmc_issue_api.php L518 mci_get_project_id(<string>'')\nUnknownFile L? mc_issue_add(<string>'anonymous', <string>'*SCRUBBED*', <Array> { ['project'] => '', ['category'] => '1', ['summary'] => 'this is a test bug', ['description'] => 'livesite testing', ['additional_information'] => '(submitted via feedback.html)' })\nnusoap.php L4087 call_user_func_array(<string>'mc_issue_add', <Array> { [0] => 'anonymous', [1] => '*SCRUBBED*', [2] => <Array> { ['project'] => '', ['category'] => '1', ['summary'] => 'this is a test bug', ['description'] => 'livesite testing', ['additional_information'] => '(submitted via feedback.html)' } })\nnusoap.php L3718 invoke_method()\nmantisconnect.php L1542 service(<string>'<?xml version="1.0" encoding="UTF-8"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://futureware.biz/mantisconnect" xmlns:xsd="http://www.w3.or in /path/to/mantis/site-anon_report.php on line 45, referer: http://URI/path/to/mantis/feedback.html But it's more or less the exact same error message as the pastebin. Should I try upgrading Mantis from 1.2.8 to 1.2.11 (and, I'm assuming, mantisconnect as a result of that)? I don't recall seeing this sort of issue as being one of the issues fixed. I just for the life of me cannot figure out why it's stripping the 'project' key. Additionally, I'm also curious how I would integrate custom fields into ticket creation as well using this method, as it seems mc_issue_add() wasn't accepting the way I was referencing them. |
|
From: Robert M. <rob...@gm...> - 2012-08-01 06:48:58
|
On Wed, Aug 1, 2012 at 7:28 AM, brent timothy saner <bre...@gm...> wrote: > On 07/31/12 17:07, Robert Munteanu wrote: > >> looks like i'm just missing the "project" key, right? >> >> >>> Right, the project is mandatory. > > there's definitely something odd going on here. > > can i get some clarification on what sort of values that mantisconnect > is *expecting* for mc_issue_add()? or maybe just an example block so i > know i'm not going crazy here? See for instance our SOAP tests at [1] . There's plenty of examples there. Robert [1]: https://github.com/mantisbt/mantisbt/blob/83068d36a0e75e44bf42f1a92ab2d7cd740b27fe/tests/soap/IssueAddTest.php > > here's what i'm running now (along with a copious amount of testing; > you'll notice that the $ticket() array successfully initializes). > > script: http://pastebin.com/M6xWVc3X > > output: http://pastebin.com/xcyiRYxc > > AND here's the relevant bit from the logs. > > > [Wed Aug 01 00:10:38 2012] [error] [client XX.XX.XX.XX] PHP Fatal > error: Uncaught SoapFault exception: [Server] Error Type: SYSTEM > NOTICE,\nError Description:\nUninitialized string offset: 0,\nStack > Trace:\nmc_issue_api.php L518 > mci_get_project_id(<string>'')\nUnknownFile L? > mc_issue_add(<string>'anonymous', <string>'*SCRUBBED*', <Array> { > ['project'] => '', ['category'] => '1', ['summary'] => 'this is a test > bug', ['description'] => 'livesite testing', > ['additional_information'] => '(submitted via feedback.html)' > })\nnusoap.php L4087 call_user_func_array(<string>'mc_issue_add', > <Array> { [0] => 'anonymous', [1] => '*SCRUBBED*', [2] => <Array> { > ['project'] => '', ['category'] => '1', ['summary'] => 'this is a test > bug', ['description'] => 'livesite testing', > ['additional_information'] => '(submitted via feedback.html)' } > })\nnusoap.php L3718 invoke_method()\nmantisconnect.php L1542 > service(<string>'<?xml version="1.0" > encoding="UTF-8"?>\n<SOAP-ENV:Envelope > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:ns1="http://futureware.biz/mantisconnect" > xmlns:xsd="http://www.w3.or in /path/to/mantis/site-anon_report.php on > line 45, referer: http://URI/path/to/mantis/feedback.html > > But it's more or less the exact same error message as the pastebin. > > Should I try upgrading Mantis from 1.2.8 to 1.2.11 (and, I'm assuming, > mantisconnect as a result of that)? I don't recall seeing this sort of > issue as being one of the issues fixed. > > I just for the life of me cannot figure out why it's stripping the > 'project' key. > > > Additionally, I'm also curious how I would integrate custom fields > into ticket creation as well using this method, as it seems > mc_issue_add() wasn't accepting the way I was referencing them. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Mantisbt-soap-dev mailing list > Man...@li... > https://lists.sourceforge.net/lists/listinfo/mantisbt-soap-dev -- Sent from my (old) computer |