"allow_url_fopen" / Warning: file_get_contents()
Permalink Browser Info Environment
What am i doing wrong here:
source: http://www.ottiger.org
css-selector: #full-content-sidebar
Thanks for any helpful suggestions!
Greetings from switzerland.
Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /data/vhosts/askwiki.ch/www/htdocs/packages/tws_box_grabber/libraries/phpQuery-onefile.php on line 4767 Warning: file_get_contents(http://www.ottiger.org) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /data/vhosts/askwiki.ch/www/htdocs/packages/tws_box_grabber/libraries/phpQuery-onefile.php on line 4767
source: http://www.ottiger.org
css-selector: #full-content-sidebar
Thanks for any helpful suggestions!
Greetings from switzerland.
Type: | Discussion |
---|---|
Status: | New |
Thanks for your reply:
"allow_url_fopen" is disabled in our server - because of security. Any chance by doing this by CURL? Many THANKS for any helpful suggestions.
"allow_url_fopen" is disabled in our server - because of security. Any chance by doing this by CURL? Many THANKS for any helpful suggestions.
That wouldn't be too difficult, however CURL doesn't work on my servers, so I can't test it!
I have made a modification that detects allow_url_fopen and then chooses which to use, but I can't test it!
Can you overwrite the existing file in the package libraries folder with the one attached and see if this works?
Thanks
I have made a modification that detects allow_url_fopen and then chooses which to use, but I can't test it!
Can you overwrite the existing file in the package libraries folder with the one attached and see if this works?
Thanks
Hey firepixel - thanks for your work! Two thumbs up!
I have overwritten the existing file in the package libraries folder with the one attached - and then:
Fatal error: Call to undefined function file_get_contents_curl() in /data/vhosts/askwiki.ch/www/htdocs/packages/tws_box_grabber/libraries/phpQuery-onefile.php on line 4776
Hope we find a solution! Greetings from switzerland!
I have overwritten the existing file in the package libraries folder with the one attached - and then:
Fatal error: Call to undefined function file_get_contents_curl() in /data/vhosts/askwiki.ch/www/htdocs/packages/tws_box_grabber/libraries/phpQuery-onefile.php on line 4776
Hope we find a solution! Greetings from switzerland!
Sorry, my fault, this one should work.
Hmmm.... quick test was:
Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /data/vhosts/askwiki.ch/www/htdocs/packages/tws_box_grabber/libraries/phpQuery-onefile.php on line 4796
Thanks for your awesome support! :-)
Warning: curl_setopt_array() [function.curl-setopt-array]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /data/vhosts/askwiki.ch/www/htdocs/packages/tws_box_grabber/libraries/phpQuery-onefile.php on line 4796
Thanks for your awesome support! :-)
OK have removed the line it doesn't like, here is updated version.
Did you manage to test the new version yet? If it works will update the marketplace version.
Thanks
Thanks
Firepixel, sorry for late reply!
That did the trick! Awesome! It just works as expected! Good job!
From my side: Update marketplace version!
Again - thanks & two thumbs up!
That did the trick! Awesome! It just works as expected! Good job!
From my side: Update marketplace version!
Again - thanks & two thumbs up!
Marketplace version now updated.
Thanks four your help, if you have a second please write me a review!
http://www.concrete5.org/marketplace/addons/box-grabber/reviews/#di...
Thanks four your help, if you have a second please write me a review!
http://www.concrete5.org/marketplace/addons/box-grabber/reviews/#di...
Done! :-)
Sorry for the late reply, I have tried with these settings and it works fine apart from the imported block running javascript functions that aren't loaded.
Might be a problem with the way your server or PHP is set up, try using the source as "http://www.ottiger.org/index.php".
Hope you get it sorted.