I updated for 6.0 , tested and worked fine (it required to change some more stuff in js file to the changed component i sent you earlier) this one works fine on 6.0
Commenting in "Content Sharing" regarding change to latest version.
Sandro,
consult your provider or find a better (faster) hosting.
Your server takes too long, to finish the necessary tasks in the allowed time frame.
Friend, I can't install. Insists on the error "Error: Session timeout or network problem".
How should I proceed ?
This is an awesome component! Thank you so much!
I suspect something's missing in your php environment like allow_url_fopen
.
You may use the phpinfo section of the System Info component or manually run phpinfo(); to find out.
I'll have a look at doing that later on the demo site.
private function downloadFile($localPath, $url) {
$content = file_get_contents($url);
if ($content === FALSE) {
throw new InvalidArgumentException("Cannot download file at " . $url);
}
$ret = file_put_contents($localPath, $content);
if ($ret === FALSE) {
throw new InvalidArgumentException("Cannot store content of " . $url . " to " . $localPath);
}
}
That's the api's code. And to my understanding file_get_contents
already failed - not the storing part.
No idea why - for me it's working with 2 different sites. Try to add some error_logs inside ...
Said it couldn't download the file
Please provide the exact error message, Kevin.