Jump to content

Edit History

Audas

Audas

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'),

 

Audas

Audas

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'),

 

×
×
  • Create New...