Jump to content
Michael Z

(1/1) ContextErrorException Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

Recommended Posts

Hi everyone, 

 

Im having problems with a template that I purchased from a third party. 

I activated the debug and got this.

Please, any advide.

Thanks in advance  

 

500 internal error 1.png

500 internal error 2.png

500 internal error 3.png

Share this post


Link to post
Share on other sites

EDIT : This only appears to be happening on "Themes Catalogue" I suspect it is a problem with either remote content or HTTPS

I have set the allow_url_fopen=1 on php.ini and double checked it is correct.

Shop is still throwing errors

Quote

Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

 

More details

 

Quote

Symfony\Component\Debug\Exception\ContextErrorException

in src/PrestaShopBundle/Controller/Admin/Improve/Design/ThemeCatalogController.php (line 49)

     *

     * @return \Symfony\Component\HttpFoundation\Response

     */

    public function indexAction(Request $request)

    {

        $pageContent = file_get_contents($this->getAddonsUrl($request));

        return $this->render('@PrestaShop/Admin/Improve/Design/ThemesCatalogPage/addons_store.html.twig', [

            'pageContent' => $pageContent,

            'layoutHeaderToolbarBtn' => [],

            'layoutTitle' => $this->trans('Themes Catalog', 'Admin.Navigation.Menu'),

 

Edited by Audas (see edit history)

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More