Michael Z Posted December 2, 2019 Share Posted December 2, 2019 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 Link to comment Share on other sites More sharing options...
JBW Posted December 20, 2019 Share Posted December 20, 2019 You have to set allow_url_fopen=1 in your php.ini / hoster configuration panel. Check the requirements and your server config here: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ Link to comment Share on other sites More sharing options...
Audas Posted June 22, 2020 Share Posted June 22, 2020 (edited) 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 June 22, 2020 by Audas (see edit history) 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