cherylb Posted November 28, 2015 Share Posted November 28, 2015 (edited) hi - due to the approaching december deadline i'm about to attempt a v4 to v6 upgrade with some trepidationan extract of the upgrade instructions say:-Take a FULL backup of your existing files and database and check that it is complete. This is critical in case the upgrade process fails or there is an error. Please delete all existing folders and files excluding; images/ includes/global.inc.php Download and extract the latest version of CubeCart v6 and upload the entire contents of this folder over the remaining files replacing all existing ones.edit: please excuse my original question.what is confusing me is instruction 3) above ie if images/ & includes/global.inc.php are the only two remaining will they not be over written?many thanks Edited November 28, 2015 by cherylb Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 28, 2015 Share Posted November 28, 2015 No - not overwritten.The /images/ folder has several sub-folders, one of which is /source/ (or /upload/ renamed to /source/ during the upgrade process). All these folders have files in them. When an operating system wants to overwrite what is already existing, folders will be added into, not completely replaced. That is, the operating system will not replace a full /images/ folder with an empty folder. If there is a same-named file, that file will get overwritten. If the incoming folder does not have a same-named file to overwrite an existing file, the existing file will not be deleted.Thus, your store's product images and the global.inc.php will not be deleted -- and you must not delete them yourself. The installation package does not have a globals.inc.php - that file is created/updated during install. The upgrade process uses the existing global.inc.php to know how to communicate to the database. Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted November 28, 2015 Share Posted November 28, 2015 hi - due to the approaching december deadline i'm about to attempt a v4 to v6 upgrade with some trepidationan extract of the upgrade instructions say:-Rather than rush this, why not simply replace the admin.php file from the 4.4.8 release ?It is much better to follow the instructions exactly as they are printed as they are always the best way to do things. If nothing else, following the instructions ensures all files that are not used are deleted.Ian Quote Link to comment Share on other sites More sharing options...
cherylb Posted November 28, 2015 Author Share Posted November 28, 2015 Rather than rush this, why not simply replace the admin.php file from the 4.4.8 release.Ianhi Ian - just to confirm - are you saying all i have to do is just replace the admin.php from v 4.8.0 to my v 4.3.0 - no other files?many thankscheryl Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 29, 2015 Share Posted November 29, 2015 Please also replace the index.php file. Quote Link to comment Share on other sites More sharing options...
cherylb Posted November 29, 2015 Author Share Posted November 29, 2015 Please also replace the index.php file.many thanks for your help. 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.