Wairds Posted March 2, 2018 Share Posted March 2, 2018 I decided to download and check my error log. In doing so I have discovered numerous, and I mean numerous, entries with the following code: "[02-Mar-2018 05:57:00 Europe/London] PHP Warning: get_headers() [<a href='http://docs.php.net/manual/en/function.get-headers.php'>function.get-headers.php</a>]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /vhost/vhost16/l/i/f/lifecovers.co.uk/www/classes/catalogue.class.php on line 392 [02-Mar-2018 05:57:00 Europe/London] PHP Warning: get_headers() [<a href='http://docs.php.net/manual/en/function.get-headers.php'>function.get-headers.php</a>]: This function may only be used against URLs in /vhost/vhost16/l/i/f/lifecovers.co.uk/www/classes/catalogue.class.php on line 392" I have searched the forum but cannot find anything specific to this error. Is this error related to a configuration on my hosting service? Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 2, 2018 Share Posted March 2, 2018 Yes, it is your hosting, but it's not an error. You can try to override it by having a PHP.INI file in CubeCart's main folder, the contents being: allow_url_fopen=1 CubeCart wants to get an "avatar" for the product's reviews. The reviewer may have an avatar, else there will be a default ghost portrait. Quote Link to comment Share on other sites More sharing options...
Wairds Posted March 2, 2018 Author Share Posted March 2, 2018 bmither, many thanks for your prompt response and explanation. I will do as you suggest. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.