Favicons Download 6.1

This component/theme works with latest OSSN version.
5.0
German Michael Zülsdorff 3 years ago
Comments
Indonesian Arsalan Shah Replied 2 years ago

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

us Philip Lozier Replied 2 years ago

Commenting in "Content Sharing" regarding change to latest version.

German Michael Zülsdorff Replied 2 years ago

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.

Breton Sandro Augusto Replied 2 years ago

Friend, I can't install. Insists on the error "Error: Session timeout or network problem".
How should I proceed ?

ph Sepiroth X Replied 2 years ago

This is an awesome component! Thank you so much!

German Michael Zülsdorff Replied 2 years ago

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.

gb Kevin B Replied 2 years ago

I'll have a look at doing that later on the demo site.

German Michael Zülsdorff Replied 2 years ago
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 ...

gb Kevin B Replied 2 years ago

error processing zip

Here's the error.

I checked permissions on ossn_data and they are all 777 currently. There is a Favicon folder under tmp, but it is empty. Perhaps its a permission issue instead?

Here is the path provided in the error to confirm the link works:
zip file

German Michael Zülsdorff Replied 2 years ago

Said it couldn't download the file

Please provide the exact error message, Kevin.

Component

Developer: Michael
License GPL v2
Type: Site admin
Requires Ossn Version : 6.0
Latest Version: 6.1
Last Updated 2 years ago
Repository Url View Repository

Versions