mohsart Posted August 16, 2011 Share Posted August 16, 2011 If I go to Tools, Configuration information I have a note at the bottom saying Optional parameters: Please consult the following error(s) Enable fopen on your server Now, my hosting company says They [the Presta Team, or someone else who knows] must specify what with fopen doesn't work, fopen in itself is working just fine Is there eg some .php code or something I could run to get more information? Or any other tips... /Mats PS My provider is http://www.clichehosting.com/se/ Link to comment Share on other sites More sharing options...
tomerg3 Posted August 16, 2011 Share Posted August 16, 2011 There's a PHP setting to turn it on or off, I believe allow_url_fopen (or something like it. Link to comment Share on other sites More sharing options...
mohsart Posted August 16, 2011 Author Share Posted August 16, 2011 Is there a way to see what it's set to? Since they claim fopen is working... (I don't have access to change php settings) /Mats Link to comment Share on other sites More sharing options...
tomerg3 Posted August 16, 2011 Share Posted August 16, 2011 phpinfo() Link to comment Share on other sites More sharing options...
mohsart Posted August 16, 2011 Author Share Posted August 16, 2011 Great, thanks a bunch! It says Directive Local Value Master Value allow_url_fopen Off Off So, one last (I hope) question: Should both of these be ON or, if only one, which one? /Mats Link to comment Share on other sites More sharing options...
tomerg3 Posted August 16, 2011 Share Posted August 16, 2011 The first is the master value, the second is the local (override), either one would work. Link to comment Share on other sites More sharing options...
mohsart Posted August 16, 2011 Author Share Posted August 16, 2011 Thank you so much! /Mats Link to comment Share on other sites More sharing options...
mohsart Posted August 17, 2011 Author Share Posted August 17, 2011 Hmm, I got this reply It is very insecure to set allow_url_fopen to On since hackers can exploit it; you must use cURL instead /Mats Link to comment Share on other sites More sharing options...
tomerg3 Posted August 17, 2011 Share Posted August 17, 2011 That seems to be the new approach by some hosting companies. I believe PS is using Curl instead of fopen on many things, so you may not even need it (not 100% sure). Link to comment Share on other sites More sharing options...
www.miniphernalia.co.uk Posted March 14, 2013 Share Posted March 14, 2013 I am having this problem, how do i switch fopen on? Link to comment Share on other sites More sharing options...
netgeek Posted February 5, 2014 Share Posted February 5, 2014 (edited) If you have access to the php.ini file you can turn the allow_url_fopen there. If you do not then you would have to change the code to work with libcurl which most providers would rather you use anyhow. Edited February 5, 2014 by netgeek (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 5, 2014 Share Posted February 5, 2014 also it is worth to check this stackoverflow topic: http://stackoverflow.com/questions/3694240/add-allow-url-fopen-to-my-php-ini-using-htaccess Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now