I have a problem with a theme that I bought here
the template is solari, the template has a message or error : An error occurred while fetching file from: Solar Energy !
Reason: http_request_failed - cURL error 28: Connection timed out after 10001 milliseconds.
Does any body have got this error. The author said it is the webhosting, the webhosting said it is not us.
So I have bought a template that I cannot install
Do i have an help here.
Thanks a lot
The resource it’s trying to download is 5.8 MB in size. That’s a fairly large file, and for servers with slow internet connections, it may take a decent amount of time to fully download.
The problem here is that the code inside the theme, which is performing this download, has configured a 10 second timeout. cURL does not have a timeout by default, and web hosts cannot enforce one.
Therefore, I believe the author is at fault for this issue, and they should fix it by editing their code to remove the 10 second time limit, which will look something like this:
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
1 Like
Many thanks for your help
I will return with him
Thanks a lot