Module, Plugin

Archived
Forum
(read-only)

Rest

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Phil Sturgeon

     

Undefined property : Curl::$last_response Error in EE 2.6.1

Support Request

IncommFSIT
IncommFSIT

Hi,
I am using latest version of EE ie 2.6.1 with latest REST Addon downloaded from GIT.

I am getting Undefined property : Curl::$last_response connect() timed out error.

please help

i am also attaching screenshot for same.

looking forward to hear from you soon.

IncommFSIT
# 1
IncommFSIT

hi,

i have solved Curl::$last_response Error by adding protected $last_response = ” ‘’;  in CURL.php
But still i am getting connect() timed out error.

please help as soon as possible.

Attached DEBUG LOG

CURL Test
=============================================
Response

=============================================
Errors
Code: 28
Message: connect() timed out!
=============================================
Info

Array
(
  [url] => http://api.flickr.com/services/rest/?api_key=9abff71fca29e419f35e7597cd570954&method=flickr.people.getPublicPhotos&user_id=93015328@N07
  [content_type] =>
  [http_code] => 0
  [header_size] => 0
  [request_size] => 0
  [filetime] => -1
  [ssl_verify_result] => 0
  [redirect_count] => 0
  [total_time] => 0
  [namelookup_time] => 0.037035
  [connect_time] => 0
  [pretransfer_time] => 0
  [size_upload] => 0
  [size_download] => 0
  [speed_download] => 0
  [speed_upload] => 0
  [download_content_length] => -1
  [upload_content_length] => -1
  [starttransfer_time] => 0
  [redirect_time] => 0
  [certinfo] => Array
      (
      )

)