dan-coulter / phpflickr

PHP Wrapper for the Flickr API
GNU General Public License v2.0
207 stars 128 forks source link

No information returned #66

Closed axu34 closed 8 years ago

axu34 commented 8 years ago

Hello! I've been useing your wrapper to populate a wordpress site. All good on my server, everything works as it shoud.

But when i transfer on my client server doesn't work any more. No mather the request, the reponse is empty.

My server has php 5.3.x , the client server has 5.5.9.

All i can give you is this:

` phpFlickr Object ( [api_key] => e54499be5aedef32dccbf89df9eaf921 [rest_endpoint] => https://api.flickr.com/services/rest/ [upload_endpoint] => https://up.flickr.com/services/upload/ [replace_endpoint] => https://up.flickr.com/services/replace/ [req] => [response] => [parsed_response] => [cache] => db [cache_db] => mysqli Object ( [affected_rows] => 2 [client_info] => 5.5.46 [client_version] => 50546 [connect_errno] => 0 [connect_error] => [errno] => 0 [error] => [error_list] => Array ( )

        [field_count] => 0
        [host_info] => 127.0.0.1 via TCP/IP
        [info] => 
        [insert_id] => 0
        [server_info] => 5.5.46-0ubuntu0.14.04.2
        [server_version] => 50546
        [stat] => Uptime: 1599409  Threads: 2  Questions: 69798  Slow queries: 0  Opens: 207  Flush tables: 1  Open tables: 85  Queries per second avg: 0.043
        [sqlstate] => 00000
        [protocol_version] => 10
        [thread_id] => 1240
        [warning_count] => 0
    )

[cache_table] => flickr_cache
[cache_dir] => 
[cache_expire] => 604800
[cache_key] => 94a2b731d14562c093c529ff59d4b278
[last_request] => Array
    (
        [api_key] => e54499be5aedef32dccbf89df9eaf921
        [format] => json
        [method] => flickr.photosets.getList
        [nojsoncallback] => 1
        [page] => 
        [per_page] => 
        [primary_photo_extras] => 
        [user_id] => 44052725@N08
    )

[die_on_error] => 
[error_code] => 
[error_msg] => 
[token] => 
[php_version] => Array
    (
        [0] => 5
        [1] => 5
        [2] => 9
    )

[custom_post] => 
[custom_cache_get] => 
[custom_cache_set] => 
[max_cache_rows] => 1000
[secret] => 
[service] => flickr
[cache_request] => Array
    (
        [api_key] => e54499be5aedef32dccbf89df9eaf921
        [format] => json
        [method] => flickr.photosets.getList
        [nojsoncallback] => 1
        [user_id] => 44052725@N08
    )

) `

axu34 commented 8 years ago

Ok so the problem was the cURL not working as it shoud. Damn those poorly configured servers!