I have searched the forum since yesterday hoping to find a solution to my problem but none of the query results has answer to my problem. I am trying to generate html catalog but ends up with the following error message:
Warning: file_get_contents(http://www.mywebsite.com/134/index.php?target=categories&category_id=175&page=1&html_catalog=Y): failed to open stream: no suitable wrapper could be found in /home/content/j/u/s/justcome/html/uz/include/admin/html_catalog.php on line 158
Can anyone tell me what could be causing this problem? The folder on my server catalog has 755 right.
Any contributions will be helpful.
I am not that good with this, but I have read or noticed 2 things browsing the forums
you can NOT have SEO (mod_rewrite) active when creating the html catalog, and “I THINK” you need to be 777 to create the catalog, then revert to 644…(i think)
Thanks very much MikeFold, I just tried with your suggestions, making the folder 777 and the SEO was never enable. It still came back with the same results. Meaning It didn’t solve the issues. More suggestions will be appreciated.
I am also having a similar issue, does anyone know how to fix this?
Warning: file_get_contents([url]http://www.XXXXXXXXXXX.co.uk/index.php?target=categories&category_id=214&page=1&html_catalog=Y[/url]) [function.file-get-contents]: failed to open stream: Connection refused in /XXXXXXX/core/fn_common.php on line 2241
[QUOTE]
// Get file contents from local or remote filesystem
//
function fn_get_contents($location)
{
// Location is regular file
if (is_file($location)) {
return file_get_contents($location);
}
// Location is url
elseif (strpos($location, ‘://’) !== false) {
// Prepare url
$location = str_replace(’ ', ‘%20’, $location);
if (ini_get(‘allow_url_fopen’) == true) {
return file_get_contents($location); ← Line 2241
} else {
list(, $result) = fn_http_request(‘GET’, $location);
return $result;
}
}
return ‘’;
}
[/QUOTE]