jinojames Posted June 7, 2024 Share Posted June 7, 2024 Hello All, I am getting the following error while opening translations tab in my back end Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 But in my php editor it's enabled. allow_url_fopen = On Why then it's showing this error ? And I also face trouble in updating my modules, It shows error Could not perform action update for module undefined attaching the screenshot for the same. Link to comment Share on other sites More sharing options...
Nickz Posted June 7, 2024 Share Posted June 7, 2024 42 minutes ago, jinojames said: Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 That could be due to the http as usually all files are go over https. Or did you forget the "s"?? What version of Presta do you run? What theme, have you done any recent updates? Link to comment Share on other sites More sharing options...
jinojames Posted June 7, 2024 Author Share Posted June 7, 2024 I am using https only. My Prestashop Version is 8.1.5 installed by softaculous in Interserver Hosting. Theme is pixtron Version 1.5.0 Designed by HiddenTechies Team. I have installed the prestashop to my site last week only. Haven't made any major changes other than adding some categories and all. Noticed this errors so no changes were made because it will be a waste of time if I have to re install or other things to be done. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted June 7, 2024 Share Posted June 7, 2024 Are you sure allow_url_fopen is enabled, create a file at root to display phpinfo, to verify server configuration <?php phpinfo(); Link to comment Share on other sites More sharing options...
jinojames Posted June 10, 2024 Author Share Posted June 10, 2024 On 6/7/2024 at 7:57 PM, Prestashop Addict said: Are you sure allow_url_fopen is enabled, create a file at root to display phpinfo, to verify server configuration <?php phpinfo(); what should be the file name ? I have php.ini present in my root. In that I can see allow_url_fopen = 1 this value. I have set this last week in multiphp editor of my cpanel. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted June 11, 2024 Share Posted June 11, 2024 (edited) Create a file name pinfo.php and paste the above code int it. Then execute it https://yourdomain.ext/pinfo.php see allow_url_fopen setting and delete the file after. Edited June 18, 2024 by Prestashop Addict (see edit history) Link to comment Share on other sites More sharing options...
jinojames Posted June 18, 2024 Author Share Posted June 18, 2024 Ok. Thanks for the Tip. Will try it Out. Link to comment Share on other sites More sharing options...
jinojames Posted June 18, 2024 Author Share Posted June 18, 2024 (edited) Tried this. But showing this Error. This site can’t be reached edallstore.com took too long to respond. Edited June 18, 2024 by jinojames (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted June 18, 2024 Share Posted June 18, 2024 When you check at https://edallstore.com/pinfo.php you can see that allow_url_fopen if off 😞 It means your php.ini not correctly configured. If you are in multi php versions you need to configure the right php.ini. Find it php.ini for php 8.1 in /etc/php/8.1/php.ini for php used as apache module or etc/php/8.1/fpm/php.ini used as fpm / cgi. 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