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