Home › Forums › WoodMart support forum › intenal server error – file_get_contents
intenal server error – file_get_contents
- This topic has 6 replies, 3 voices, and was last updated 4 years, 3 months ago by
Artem Temos.
-
AuthorPosts
-
January 8, 2021 at 4:46 pm #256842
[email protected]Participantin php error logs and also on google snippet i found this error:
1.1 500 Internal Server Error
in /home/customer/www/weedfly.shop/public_html/wp-content/plugins/woodmart-core/post-types.php on line 629
[08-Jan-2021 16:36:46 UTC] PHP Warning: file_get_contents(https://www.weedfly.shop/wp-content/uploads/2018/04/white-electronics-best.svg): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
in /home/customer/www/weedfly.shop/public_html/wp-content/plugins/woodmart-core/post-types.php on line 629
[08-Jan-2021 16:36:46 UTC] PHP Warning: file_get_contents(https://www.weedfly.shop/wp-content/uploads/2018/03/v-toy-shape-2.svg): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
in /home/customer/www/weedfly.shop/public_html/wp-content/plugins/woodmart-core/post-types.php on line 629
[08-Jan-2021 16:36:46 UTC] PHP Warning: file_get_contents(https://www.weedfly.shop/wp-content/uploads/2019/06/svg-ae-energy.svg): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
in /home/customer/www/weedfly.shop/public_html/wp-content/plugins/woodmart-core/post-types.php on line 629January 8, 2021 at 9:23 pm #256894
Elise NoromitMemberHello,
I have submitted your issue to our dev team we shall get back to you asap.
Best Regards
January 9, 2021 at 1:07 pm #256977
Artem TemosKeymasterHello,
It seems that
file_get_contents
function for URLs is disabled on your server. You need to contact your provider and ask to enable this option.Regards
January 9, 2021 at 3:41 pm #257011
[email protected]ParticipantDear support,
i verify with my hosting, but as you can see here:
weedfly.shop/info.php
the parameter allow_url_fopen is active on my serverJanuary 11, 2021 at 6:59 am #257230
Artem TemosKeymasterHello,
Then there is another issue with that function. But the fact is the error is generated by the server. Send your hosting support the error log and ask them to check this from their side.
Kind Regards
January 11, 2021 at 9:51 am #257318
[email protected]Participanti just send the error log, and the technical support say to me to execute 2 task:
1) add php.ini with the follow row:
allow_url_fopen = 12) add this row with this row:
SetEnv PHPRC /home/u1177-9pfavj986uu3/www/weedfly.shop/public_html/php.inifor your info, i notice that this error begin from 4 december
please provide me a solution, because in seo terms are becoming a problem.
January 11, 2021 at 10:36 am #257337
Artem TemosKeymasterSorry, but it is not something that we can fix in our theme. The request is blocked by the server 500 error. https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
As a workaround, you can remove SVG images and replace them with PNG or JPG. -
AuthorPosts
- You must be logged in to create new topics. Login / Register