Hi,
Why not disable php's safe mode ?
Lee
On 24 Apr 2007, at 12:44, Erich C. Beyrent wrote:
> I am trying to consume some webservices provided by VerticalResponse
> with NuSOAP v0.7.2, and I am getting the following error:
>
> Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION
> cannot be activated when in safe_mode or an open_basedir is set in
> nusoap/nusoap.php on line 2162
>
> Now, I know I can set
>
> curl_setopt($this->ch, CURLOPT_FOLLOWLOCATION, 0);
>
> on line 2162, but perhaps there are some other workarounds to this
> problem. I'm also not sure what effect this change will have on
> functionality.
>
> Any tips?
>
>
> -Erich-
>
>
> Constructor error
>
> HTTP Error: cURL ERROR: 52: SSL read: error:14094410:SSL
> routines:func(148):reason(1040), errno 0
> url: https://api.verticalresponse.com:443/1.0/VRAPI
> http_code: 0
> header_size: 0
> request_size: 795
> filetime: -1
> ssl_verify_result: 19
> redirect_count: 0
> total_time: 0.464558
> namelookup_time: 0.032384
> connect_time: 0.09483
> pretransfer_time: 0.255744
> size_upload: 0
> size_download: 0
> speed_download: 0
> speed_upload: 0
> download_content_length: 0
> upload_content_length: 0
> starttransfer_time: 0.464548
> redirect_time: 0
>
>
> I can send the entire Debug string, but here is the last bit which may
> or may not be of some help:
>
> 2007-04-23 21:41:18.482311 soap_client:
> endpoint=https://api.verticalresponse.com/1.0/VRAPI,
> soapAction=VR/API/1_0#login, namespace=VR/API/1_0, style=rpc,
> use=encoded, encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
> 2007-04-23 21:41:18.482378 soap_client: SOAP message length=593
> contents
> (max 1000 bytes)=<?xml version="1.0"
> encoding="ISO-8859-1"?><SOAP-ENV:Envelope
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:ns8462="VR/API/1_0"
> xmlns:vrtypens="http://api.verticalresponse.com/1.0/
> VRAPI.xsd"><SOAP-ENV:Body><ns8462:login
> xmlns:ns8462="VR/API/1_0"><args xsi:nil="true"
> xsi:type="vrtypens:loginArgs"/></ns8462:login></SOAP-ENV:Body></
> SOAP-ENV:Envelope>
> 2007-04-23 21:41:18.482456 soap_client: transporting via HTTP
> 2007-04-23 21:41:18.483036 soap_client: sending message, length=593
> 2007-04-23 21:41:18.482560 soap_transport_http: scheme = https
> 2007-04-23 21:41:18.482624 soap_transport_http: host =
> api.verticalresponse.com
> 2007-04-23 21:41:18.482685 soap_transport_http: path = /1.0/VRAPI
> 2007-04-23 21:41:18.482753 soap_transport_http: set Host:
> api.verticalresponse.com
> 2007-04-23 21:41:18.482834 soap_transport_http: set User-Agent:
> NuSOAP/0.7.2 (1.2)
> 2007-04-23 21:41:18.482907 soap_transport_http: set Content-Type:
> text/xml; charset=ISO-8859-1
> 2007-04-23 21:41:18.482971 soap_transport_http: set SOAPAction:
> "VR/API/1_0#login"
> 2007-04-23 21:41:18.483114 soap_transport_http: entered send() with
> data
> of length: 593
> 2007-04-23 21:41:18.483186 soap_transport_http: connect
> connection_timeout 0, response_timeout 30, scheme https, host
> api.verticalresponse.com, port 443
> 2007-04-23 21:41:18.483252 soap_transport_http: connect using https
> 2007-04-23 21:41:18.483524 soap_transport_http: cURL connection set up
> 2007-04-23 21:41:18.483612 soap_transport_http: set Content-Length:
> 593
> 2007-04-23 21:41:18.483676 soap_transport_http: HTTP request: POST
> /1.0/VRAPI HTTP/1.0
> 2007-04-23 21:41:18.483741 soap_transport_http: HTTP header: Host:
> api.verticalresponse.com
> 2007-04-23 21:41:18.483803 soap_transport_http: HTTP header: User-
> Agent:
> NuSOAP/0.7.2 (1.2)
> 2007-04-23 21:41:18.483865 soap_transport_http: HTTP header:
> Content-Type: text/xml; charset=ISO-8859-1
> 2007-04-23 21:41:18.483930 soap_transport_http: HTTP header:
> SOAPAction:
> "VR/API/1_0#login"
> 2007-04-23 21:41:18.483992 soap_transport_http: HTTP header:
> Content-Length: 593
> 2007-04-23 21:41:18.484082 soap_transport_http: set cURL payload
> 2007-04-23 21:41:18.484149 soap_transport_http: send and receive
> with cURL
> 2007-04-23 21:41:18.948950 soap_transport_http: cURL ERROR: 52: SSL
> read: error:14094410:SSL routines:func(148):reason(1040), errno
> 0<br>url: https://api.verticalresponse.com:443/1.0/VRAPI<br>http_code:
> 0<br>header_size: 0<br>request_size: 795<br>filetime:
> -1<br>ssl_verify_result: 19<br>redirect_count: 0<br>total_time:
> 0.464558<br>namelookup_time: 0.032384<br>connect_time:
> 0.09483<br>pretransfer_time: 0.255744<br>size_upload:
> 0<br>size_download: 0<br>speed_download: 0<br>speed_upload:
> 0<br>download_content_length: 0<br>upload_content_length:
> 0<br>starttransfer_time: 0.464548<br>redirect_time: 0<br>
> 2007-04-23 21:41:18.950299 soap_transport_http: end of send()
> 2007-04-23 21:41:18.950505 soap_client: Error: HTTP Error: cURL ERROR:
> 52: SSL read: error:14094410:SSL routines:func(148):reason(1040),
> errno
> 0<br>url: https://api.verticalresponse.com:443/1.0/VRAPI<br>http_code:
> 0<br>header_size: 0<br>request_size: 795<br>filetime:
> -1<br>ssl_verify_result: 19<br>redirect_count: 0<br>total_time:
> 0.464558<br>namelookup_time: 0.032384<br>connect_time:
> 0.09483<br>pretransfer_time: 0.255744<br>size_upload:
> 0<br>size_download: 0<br>speed_download: 0<br>speed_upload:
> 0<br>download_content_length: 0<br>upload_content_length:
> 0<br>starttransfer_time: 0.464548<br>redirect_time: 0<br>
>
>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Nusoap-general mailing list
> Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/nusoap-general
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
|