Login   Register  
PHP Classes
elePHPant
Icontem

Error with the example php file

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      MediaFire API PHP Library  >  All threads  >  Error with the example php file  >  (Un) Subscribe thread alerts  
Subject:Error with the example php file
Summary:Error trying the example php file
Messages:3
Author:Pablo Riaño
Date:2012-12-07 21:43:20
Update:2013-07-26 05:10:57
 

  1. Error with the example php file   Reply   Report abuse  
Picture of Pablo Riaņo
Pablo Riaņo
2012-12-07 21:43:21
This is the erros message:

Error - Getting new session token : "Socket error : " (0)

What can I do for fix it or make it work?

Thank you.

  2. Re: Error with the example php file   Reply   Report abuse  
Picture of windylea
windylea
2012-12-08 04:29:08 - In reply to message 1 from Pablo Riaņo
Hello,

This error message means that the class is unable to connect to the remote site (MediaFire). Please double check if your web hosting do not block connection to MediaFire server and you have enabled the OpenSSL extension in your PHP configuration.

Regards,

  3. Re: Error with the example php file   Reply   Report abuse  
Picture of Tareq Kelany
Tareq Kelany
2013-07-26 05:10:57 - In reply to message 2 from windylea
i'm trying this php library on a centos version 6.3, and i'm getting the same message "Error - Getting new session token : "Socket error : php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution" (0)"
how to check if my server is not blocking the connection to MediaFire server ?