Office Hours
Day Hours (GMT)
Bank Holidays Closed
Monday 9:00 - 17:30
Tuesday 9:00 - 17:30
Wednesday 9:00 - 17:30
Thursday 9:00 - 17:30
Friday 9:00 - 17:30
Saturday Closed
Sunday Closed
Knowledgebase
Notes about upgrading CubeCart and resource limits
Posted by Al Brookbanks on 29 October 2014 09:56 AM

When upgrading from v3 or v4 to version 5 CubeCart needs to move your images to a new location and rename them to be more "friendly" (if not already). It will also create a database containing information about each file. 

This process can require quite a lot of server resources if you have a large store inventory. If there are not enough server resources this can fail and after upgrade you will see that product and categories no longer have images assigned to them. 

If this happens it is necessary to restore the previous version of CubeCart, increase server resources and perform the upgrade again after restoring your previous version. In particular the following PHP resources will need increasing.

FieldDefault ValueRecommended ValueDescription
max_execution_time 30 900 Maximum execution time of each script, in seconds
max_input_time 30 900 Maximum amount of time each script may spend parsing request data
memory_limit 128M 4000M (As high as possible) Maximum amount of memory a script may consume

Please note that after these changes have been made to your php.ini file the webserver will need a restart.

Can I make these changes on a shared web hosting account?

... probably not! If you don't have a virtual private or dedicated server we would suggest performing an upgrade on your computer using a "pseudo" web hosting environment with a tool such as MAMP or XAMP then copy the upgraded store files and database back up to your web hosting account.

What is considered a large inventory?

This is a tough question to answer as it depends on resources available. As a rule of thumb we would suggest a large inventory is around 500 products or more. 


©2017 CubeCart Limited. All rights reserved. CubeCart Limited is a company registered in England & Wales under number 5323904. VAT Registration Number GB886451190.