What is the best way to upgrade a cs-cart store ? Much has been written about the upgrade process but what if you have set up development store as a clone to your live store and what to do next if you already have made backups of this developement store.
Do you deactive the applied theme and go back to the default theme first or not ?
Thanks to someone who encountered this same issue with V2 store I followed his example:
I finally find the way. just change the var/upgrade folder to any name. make upgrade folder and chmod 777 go theupgrade center and click reflesh link than click upgrade link thats all
Perhaps Darius but you also upgraded from V4.2 and I am currently on V4.3.3
At any rate thanks for thinking along. PS I have given FTP access but the CS Cart developers (CS Cart Helpdesk) did not find this yet. I only figured out yesterday that I needed to remove the password restriction on the developers root folder.
OK, it i very strange that you were not experiencing any problems with permissions before and now with copy of data to sub directory you are. Were you copying via ftp or what?
My upgrade was simple
In directadmin I got filemanager, made a 100% copy of 43x live store to /437 subdomain
edit config.local.php
created 437 database
exported 43x via phpmyadmin database and imported in to 437 database, now I have 2 identical copies of live site just one is on subdomain. There cannot be any permission problems arise unless you had them before.. Now I did upgrade.
After done moved public_html contend to public_html/old and public_html/437 to public_html/
Well based on what you describe here I can tell you that I followed the same steps as you did, only difference being that you work with Direct admin on a Windows server ?? and I work with WHM / Cpanel with NginX php 5.6 . But in all other aspects I just did the same as you.
is for permission problem on localhost (windows pc or windows server)
Well based on what you describe here I can tell you that I followed the same steps as you did, only difference being that you work with Direct admin on a Windows server ?? and I work with WHM / Cpanel with NginX php 5.6 . But in all other aspects I just did the same as you.
* Prepares restore.php file.
*
* @return bool if all necessary information was added to restore.php
*/
protected function prepareRestore($package_id, $content_schema, $information_schema, $backup_filename)
{
$logger = Log::instance($package_id);
$logger->add('Preparing restore script');
Hmm somehow your App.php file is totally different than mine:
An exerpt from my App.php file residing in the app\Tygh\UpgradeCenter older from line 568
/**
* Prepares restore.php file.
*
* @return bool if all necessary information was added to restore.php
*/
protected function prepareRestore($backup_filename)
{
$restore_path = $this->config['dir']['root'] . '/var/upgrade/restore.php';
My upgrade was from Upgrade 4.3.3.SP1 - 4.3.4 your Upgrade 4.3.3 - 4.3.3.SP1, maybe upgrade file was updated only since 4.3.3.SP1, that is why its different. Part of the code I put here from 437 is from default package not live store. So problem is somewhere else.
There are many developers here you can help you. Contact them with ftp details, hope they help.