Vertigo Posted July 18, 2015 Share Posted July 18, 2015 Hi There,This is Marco from Germany, so excuse my English... ;-)I took over the cubecart webshop of Blaze Bayley (www.blazebayley.net) and now have an issue which I cannot solve so far.There was a new item added, and it is also shown in the shop. But when you try to open the item in the shop you'll get a blank page. All other items still work.Furthermore you cannot open the products page in the admin panel. There always be a blank page too.This happened a few days ago, no changes were done in the past few weeks. I updated the shop to v6.0.6 today and hope it may help, but it don't work out though.As I am not very skilled in this, can anyone please help me out?Thanks in advance, Marco Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 18, 2015 Share Posted July 18, 2015 Currently, the Shop is offline. (And the site took a long time to deliver that page, by the way.)Please find your hosting account's PHP error_log. We should be able to discover what is crashing PHP.Also, look in admin, Error Log, System Error Log tab. We find what syntax error in the template may be causing PHP to crash. Quote Link to comment Share on other sites More sharing options...
Vertigo Posted July 19, 2015 Author Share Posted July 19, 2015 Hi There! Thanks for the quick answer. The shop is back online if that will help.I looked at the logs in the admin panel, there are none... Maybe they were cleared when I updated the software?And where can I find the logs of the hoster? It's hostpapa from UK... Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 19, 2015 Share Posted July 19, 2015 Well, other than the Keyring showing in the Latest Products and adding that product to the cart, any other page that wants to list the Keyring causes a 500 Internal Server Error. Meaning, PHP crashed.At Hostpapa, they probably gave you a means to manage and configure your hosting space, make databases, etc. It is in this control panel where you will find (most likely) the PHP error log. Quote Link to comment Share on other sites More sharing options...
Vertigo Posted July 19, 2015 Author Share Posted July 19, 2015 (edited) Yes the Keyring is the problem. attached is an error log from the webshop I found on the server. It says something about "out of memory". Maybe this could help?I also made a database backup before updating to v6.0.6. This backup is about 134mb, the one before just has about 10mb... Edited July 19, 2015 by Vertigo Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 19, 2015 Share Posted July 19, 2015 Ok, I have a copy of the file. You can edit the above post and delete the file.Please look in the folder /images/source/ and find every image that is larger than 50KB. Probably, these images are also absurdly large in pixel size.For example, Keycord.jpg is 343KB and 1536x1536 pixels. PHP is running out of memory trying to create specific sized variants of these images.Take Keycord.jpg and reduce it's pixel size to (at most) 900x900 pixels.Your hosting account has allocated 32MB to PHP (huge not!), yet, it's running out of memory.Although, I do not see other errors that mention running out of memory, so this image may be the only offender. Quote Link to comment Share on other sites More sharing options...
Vertigo Posted July 19, 2015 Author Share Posted July 19, 2015 Hey mate, that's it! Thank you so much!I also found a lot of other images that were of very large size and resolution. I'll remove all unneeded ones and reduce the others as you said...Once again, thank you! Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted July 20, 2015 Share Posted July 20, 2015 Your hosting account has allocated 32MB to PHP (huge!), yet, it's running out of memory.Although, I do not see other errors that mention running out of memory, so this image may be the only offender.32 MB certainly isnt huge - it is about as small amount of memory that any shared hosting company would ever allocate - our servers are set far higher. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 20, 2015 Share Posted July 20, 2015 Oy! Quite right! In my thinking, I was off by a factor of 2^10. 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.