Jump to content

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


Recommended Posts

  • 3 weeks later...
  • 6 months later...

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)
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...