You need to sign in to do that
Don't have an account?
birdofprey
Php Query not display even though debug show its there.
I have a newly created custom object. I am not able to query any of the fields; however, in the debug logs, it shows that it is there. Could this be a server thing that some of you may have run into?
sample of what I mean.
[__last_request] => 00D400000007acp!AQMAQAA12iCiJNm8v780ecdcQzhADnzc7h3EF_XBLUetNgJ6ZVPRKsbsE1dhVj7FB5i_120UDuxL.uWtb2_ebV4G.ZXtRxpsSELECT Id, Name, email__c From test_object__c [__last_response] => truea0j40000002aVLqAAMtesttest@test.org1
I even delete the wsdl cache in the server's tmp dir and disable cache to see if it works
ini_set('soap.wsdl_cache', 0); ini_set('soap.wsdl_cache_enabled', 0);
this is the entire debug code :
stdClass Object ( [done] => 1 [queryLocator] => [records] => Array ( [0] => stdClass Object ( [Id] => a0j40000002aVLqAAM ) ) [size] => 1 ) SforceEnterpriseClient Object ( [sforce:protected] => SoapClient Object ( [trace] => 1 [compression] => 32 [_encoding] => utf-8 [_soap_version] => 1 [sdl] => Resource id #14 [__last_request_headers] => POST /services/Soap/c/24.0/00D400000007acp/0DF40000000Cf6J HTTP/1.1 Host: na2-api.salesforce.com Connection: Keep-Alive User-Agent: PHP-SOAP/5.3.3 Accept-Encoding: gzip, deflate Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 532 [__last_response_headers] => HTTP/1.1 200 OK Server: Content-Encoding: gzip Content-Type: text/xml; charset=utf-8 Content-Length: 333 Date: Wed, 27 Jun 2012 16:37:47 GMT [location] => https://na2-api.salesforce.com/services/Soap/c/24.0/00D400000007acp/0DF40000000Cf6J [httpsocket] => Resource id #17 [_use_proxy] => 0 [httpurl] => Resource id #19 [__default_headers] => Array ( [0] => SoapHeader Object ( [namespace] => urn:enterprise.soap.sforce.com [name] => SessionHeader [data] => Array ( [sessionId] => 00D400000007acp!AQMAQAA12iCiJNm8v780ecdcQzhADnzc7h3EF_XBLUetNgJ6ZVPRKsbsE1dhVj7FB5i_120UDuxL.uWtb2_ebV4G.ZXtRxps ) [mustUnderstand] => ) ) [__last_request] => 00D400000007acp!AQMAQAA12iCiJNm8v780ecdcQzhADnzc7h3EF_XBLUetNgJ6ZVPRKsbsE1dhVj7FB5i_120UDuxL.uWtb2_ebV4G.ZXtRxpsSELECT Id, Name, email__c From test_object__c [__last_response] => truea0j40000002aVLqAAMtesttest@test.org1 ) [sessionId:protected] => 00D400000007acp!AQMAQAA12iCiJNm8v780ecdcQzhADnzc7h3EF_XBLUetNgJ6ZVPRKsbsE1dhVj7FB5i_120UDuxL.uWtb2_ebV4G.ZXtRxps [location:protected] => https://na2-api.salesforce.com/services/Soap/c/24.0/00D400000007acp/0DF40000000Cf6J [version:protected] => 11.0 [namespace:protected] => urn:enterprise.soap.sforce.com [callOptions:protected] => [assignmentRuleHeader:protected] => [emailHeader:protected] => [loginScopeHeader:protected] => [mruHeader:protected] => [queryHeader:protected] => [userTerritoryDeleteHeader:protected] => [sessionHeader:protected] => SoapHeader Object ( [namespace] => urn:enterprise.soap.sforce.com [name] => SessionHeader [data] => Array ( [sessionId] => 00D400000007acp!AQMAQAA12iCiJNm8v780ecdcQzhADnzc7h3EF_XBLUetNgJ6ZVPRKsbsE1dhVj7FB5i_120UDuxL.uWtb2_ebV4G.ZXtRxps ) [mustUnderstand] => ) [client_id:protected] => )