jayt_2k Posted December 16, 2007 Share Posted December 16, 2007 Hi, I am stuck on installing Preta shop verison 0.9. I am installing a fresh copy and when i get to the system requirements page I have one error which is: "Allowed to open external URLs" I dont understand what this setting is and how to change it on my server. I am hosting the site on a Dreamhost account using PHP 5.2.2 and Using MySQL. Can someone help? Im desperate to get this script working. Thanks in advanced James Link to comment Share on other sites More sharing options...
Peter Wilson Posted December 17, 2007 Share Posted December 17, 2007 Hi James! Welcome to the PrestaShop Forum From php.net: "If PHP has decided that filename specifies a registered protocol, and that protocol is registered as a network URL, PHP will check to make sure that allow_url_fopen is enabled. If it is switched off, PHP will emit a warning and the fopen call will fail." Check to make sure that "allow_url_fopen" is activated on your server. More details about allow_url_fopen on php.net here. Good luck, and let us know if this doesn't solve the issue. Link to comment Share on other sites More sharing options...
handcoded Posted December 18, 2007 Share Posted December 18, 2007 Tried to install on Dreamhost which do not allow url_fopen and it would seem that I have to change the code to have it use curl instead. Shame because I wanted to have a quick peek at the admin and see what was on offer. I don't have another server with mysql or php 5 so I'll just have to hope this code is re-written in the future so that I can try it unless the developers can work out a quick workaround. If not perhaps this could be looked into before version 1 goes live. Link to comment Share on other sites More sharing options...
Peter Wilson Posted December 20, 2007 Share Posted December 20, 2007 You might want to try simply deleting the fopen requirement in the install code ... Link to comment Share on other sites More sharing options...
handcoded Posted December 21, 2007 Share Posted December 21, 2007 Found the code necessary in /install/xml/checkConfig.php I've attached the edited file for version 0.9.1 checkConfig.php Link to comment Share on other sites More sharing options...
Matthieu Biart Posted December 23, 2007 Share Posted December 23, 2007 Hi everyone Found the code necessary in /install/xml/checkConfig.php I've attached the edited file for version 0.9.1 So did it work ? Link to comment Share on other sites More sharing options...
handcoded Posted December 23, 2007 Share Posted December 23, 2007 Yep. It worked fine. The only thing is that rss feeds will not work but I wasn't planning on using them anyway. The admin seems to do everything it should quite well but I did get an error when adjusting a sample product as the admin thought it was a hack attempt. Whether I will actually use this for a store or just have a play I don't really know yet but it is nice to have another open source ecommerce project to play with. I'll get my head around all of the features on offer and if I think that it is easy to use I'll recommend it to customers. Think I'll wait for version 1 before letting customers loose on it whenever that will be available. Link to comment Share on other sites More sharing options...
Matthieu Biart Posted December 24, 2007 Share Posted December 24, 2007 Cool ! An hack attempt ??? Could you give us some details about that please ? Such as describing more precisly this product "adjustment" and remove the expression "//" form the /classes/Tools.php so we can have some extra debug informations to help us.] Thanks in advance. Link to comment Share on other sites More sharing options...
epaturun Posted January 15, 2008 Share Posted January 15, 2008 Hi Could someone tell me which modules (parts) of Prestashop (0.9.5) need fopen & (allow_url_fopen to be ON). As I have removed it from the config check file as suggested by the user above. Thanks Fizz Link to comment Share on other sites More sharing options...
tons28 Posted February 6, 2008 Share Posted February 6, 2008 I m using dreamhost too, i have replace the check.... .php. how does it work in that way ??? Is it ok ? Regards Tony 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