Jump to content

Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 when opening Translations


Recommended Posts

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.

Ṁodule_Update_Error_2.png

Link to comment
Share on other sites

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...