SOLVED allow_url_fopen / PHP permissions
-
H-Gallery needs allow_url_fopen enabled.
Your provider can change this. If he want.Thanks to Stephan!
… I have a solution for the problem if you cannot get access to allow_url_fopen
Replace line 50 in h-gallery.php
$photos = simplexml_load_file($photo_feed);
by
$ch = curl_init($photo_feed);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$xml_raw = curl_exec($ch);
curl_close($ch);
$photos = simplexml_load_string($xml_raw)as suggested in
https://www.antary.de/2011/05/26/php-curl-als-alternative-fuer-allow_url_fopen/
Best regards
Stephan
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘SOLVED allow_url_fopen / PHP permissions’ is closed to new replies.