Error when click on t-shirt or skin icon

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeError when click on t-shirt or skin icon

This topic has been marked as not resolved.

Hello,

When click on the t-shirt/skin icon in the Shoppica theme I get the following error. See attached.

Warning: file_get_contents(http://api.themeburn.com/all_themes): failed to open stream: Connection timed out in /home/xxxx/public_html/system/vendor/BurnEngine/library/Utils.php on line 239

I’m not sure where to start looking. It takes a bit for the ‘loading’ spinner to go away and throw the error.

Maybe a time out issue? Here is my versions of stuff.

Shoppica v3.1.5 /installed on 18.01.2017 18:45/
BurnEngine version1.1.5
OpenCart version2.3.0.2
HTTP ServerApache
MySQL server version5.6.34-log
PHP version5.6.26
PHP memory limit128 MB
PHP Zip extensionYes

Can anyone provide some direction on where to start troubleshooting this? So far all other pages load correctly.

Thanks,
Mike

January 21, 2017 at 4:49 am #55680

Hello,

Okay this is very strange.

On a whim I google “file_get_contents(): failed to open stream: Connection timed out in”

And find this:
http://stackoverflow.com/questions/41109529/file-get-contents-giving-failed-to-open-stream-connection-timed-out-error-for-f

I talks about the server using ipv6 resolution for file_get_contents while curl uses ipv4 for no configured reason.

So I look at my server and see that the firewall has no ipv6 out bound rules for TCP.

I added port 80 and 443 to the outbound TCP rules for ipv6, Save, restart firewall and now the t-shirt page loads as it should.

Google Fu can be an amazing skill at times.

Thanks,
Mike

January 21, 2017 at 5:01 am #55683

Thanks for the insights. We will change the logic in the future releases to use cUrl if available in order to prevent such issues.

Regards,
ThemeBurn team

January 24, 2017 at 10:24 am #55786
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.