[Plugin: CafePress Widget] Cafepress widget throwing warning
-
Just in case other people are were getting this same warning
warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATIONAround line 354 in cafepress-widget.php replace
curl_setopt($ch, CURLOPT_URL, $url);
with:if(ini_get('safe_mode') || ini_get("open_basedir")) { curl_setopt($ch, CURLOPT_URL, $url);}
And around line 362 in cafepress-widget.php replace
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
with:if(!ini_get('safe_mode') && !ini_get("open_basedir")) { curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);}
- The topic ‘[Plugin: CafePress Widget] Cafepress widget throwing warning’ is closed to new replies.