This error is often caused by your own descriptive language.
For example
/**
* A main function can be sync crawler CV
* @ Param string $ xmlstring
* @ Return Array
*/
Public Function synccrawlercvs ($ xmlstring ){
$ Xmlstring = $ this-> loadingxml ();
$ Result = $ this-> xml_to_array ($ xmlstring );
Return $ result;
$ This-> _ xmlstring = $ xmlstring;
$ This-> _ xmlarray = $ this-> xmlparsetoarray ($ xmlstring );
$ This-> _ inclusionalresumeid = $ this-> getinclusionalresumemail ($ this-> _ xmlarray );
If (isexistsintools () = false ){
// Do insert
} Else {
If (hasdditdate () = false ){
// Do update in main table, and do Delete then insert to the son table
} Else {
If (getspacetime ($ this-> _ xmlarray)> 30 ){
// Get CV content by resume ID
//.........
// Parse to HTML and send emial
}
}
}
}
After writing an array into a string or integer, some complicated problems may occur.
For example
The following error occurred:
Soapfault exception: [Sender] Looks like we got no XML document in
C: \ Users \ n. Zhang \ Documents \ tools \ library \ Zend \ soap \ Client. php: 1113
Stack trace:
#0 C: \ Users \ n. Zhang \ Documents \ tools \ library \ Zend \ soap \ Client. php (1113 ):
Soapclient->__ soapcall ('synccrawlercvs ', array, null, null, array)
#1 [internal function]: zend_soap_client->__ call ('synccrawlercvs ',
Array)
#2
C: \ Users \ n. Zhang \ Documents \ tools \ Application \ Default \ controllers \ soapservercontroller. php (41 ):
Zend_soap_client-> synccrawlercvs ('')
#3
C: \ Users \ n. Zhang \ Documents \ tools \ library \ Zend \ controller \ action. php (502 ):
Soapservercontroller-> clientaction ()
#4
C: \ Users \ n. Zhang \ Documents \ tools \ library \ Zend \ controller \ dispatcher \ Standard. php (293 ):
Zend_controller_action-> dispatch ('clientaction ')
#5
C: \ Users \ n. Zhang \ Documents \ tools \ library \ Zend \ controller \ front. php (946 ):
Zend_controller_dispatcher_standard-> dispatch (Object (zend_controller_request_http ),
Object (zend_controller_response_http ))
#6 c: \ Users \ n. Zhang \ Documents \ tools \ Application \ Bootstrap. php (32 ):
Zend_controller_front-> dispatch ()
#7 c: \ Users \ n. Zhang \ Documents \ tools \ index. php (6 ):
Require_once ('C: \ Users \ n. Zhan ...')
#8 {main}