Upgrading from 2.2.3 to 3.04

I am going to be attempting to upgrade one of our professional licenses from 2.2.3 to 3.04 tonight. I have already installed a fresh cs3 copy into a subfolder called /cs3. We are working on the css and layout today within this install to have everything ready to go. Here is my list of how I plan to execute the upgrade.


  1. Backup entire site
  2. Upgrade old 2.2.3 site to 2.2.4
  3. Clear logs and statistics (thanks Tony)
  4. Import 2.2.4 store into new 3.0.4 installation
  5. Verify all info has transferred
  6. Move old 2.2.4 install into a new directory called old2install
  7. Move 3.0.4 install into root directory
  8. Edit config.local.php and .htaccess to reflect new directory



    Does this sound like a good plan? Am I missing any key steps?



    What about the old third party addons on my 2.2.3 install. Should I disable them before importing the store to 3.0.4?



    Crossing my fingers that everything goes smoothly.

[quote]Am I missing any key steps?[/quote]



Yes, only the most important of all, your Database !



There will be many differences between the Mysql databases (both Structure & Data) comparing 2.2.4 vs. 3.0.4.



So, unless you have experience with comparing & merging these changes to your old 2.2.4 database, it is highly advised that you make your upgrades entirely through your CS-Cart admin panel, otherwise, you will be outta business by midnight… ;-)

[quote name=‘Struck’ timestamp=‘1356732158’ post=‘151865’]

Yes, only the most important of all, your Database !



There will be many differences between the Mysql databases (both Structure & Data) comparing 2.2.4 vs. 3.0.4.



So, unless you have experience with comparing & merging these changes to your old 2.2.4 database, it is highly advised that you make your upgrades entirely through your CS-Cart admin panel, otherwise, you will be outta business by midnight… ;-)

[/quote]



I understand that there are many differences between the 2 databases, but I assumed that would all be taken care of when I do the store import through the CS-cart admin using the “store import” add on in the v3.0.4 addon. Was I wrong or is there an sql I must also run to merge/delete any unnecessary tables?

No…do it through cs admin and it will sort out DB no problem.But All addons will be discarded and you will have to re install them to v 3 compatible standards.

Upgrade through admin to 2.2.5 versus 2.2.4. Then, do the store import and you should be fine. This assumes your 3.0.4 store has the look feel you want. The store import essentially moves your data into the 3.0.4 environment.

I started doing the same thing to upgrade first form 2.1.4 to 2.25…copied my site to subfolder /shop , copied the database in phpmyadmin altered the file paths in config.local mysite/shop but get the error message below from browser. I cant see what i am missing after looking a dozen times, can anyone help.

Thanks

John



[color=#000000][font=Helvetica, Arial, sans-serif][size=3]The web page at [/size][/font][/color][b]http://www.hivis.co.uk/shop/index.php[/b][color=#000000][font=Helvetica, Arial, sans-serif][size=3] has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.[/size][/font][/color]

I am happy to say that we have sucessfully upgraded our site to v3.0.4 with no problems as far as we can see. One thing that did scare me is during the import, the bar was around 75% complete and stuck on “Importing: checkout.location” or something like that and after a few minutes it just went back to the expert settings page of the store import addon. But it looks as though everything came through ok and we have done some test orders with no problems. I wish that there was some sore of message saying the store import was successful or unsuccessful to give us piece of mind that everything went properly.


[quote name='johnbol1' timestamp='1356810389' post='151919']

I started doing the same thing to upgrade first form 2.1.4 to 2.25…copied my site to subfolder /shop , copied the database in phpmyadmin altered the file paths in config.local mysite/shop but get the error message below from browser. I cant see what i am missing after looking a dozen times, can anyone help.

Thanks

John



[color=#000000][font=Helvetica, Arial, sans-serif][size=3]The web page at [/size][/font][/color][b][url=“http://www.hivis.co.uk/shop/index.php”]http://www.hivis.co.uk/shop/index.php[/url][/b][color=#000000][font=Helvetica, Arial, sans-serif][size=3] has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.[/size][/font][/color]

[/quote]



I've run into this problem before and I think it had something to do with htaccess and possible a redirect. Since your install is in a subdirectory, you may need to make changes in the htaccess to reflect the path of the install.

Yeah its getting on my nerves now, I cant see a problem. I have the store to be upgraded in subfolder /store

address is www dot hivis.co.uk/store

.htaccess is


```php



DirectoryIndex index.html index.php





RewriteEngine on

Some hostings require RewriteBase to be uncommented

Example:

Your store url is http://www.yourcompany.com/store/cart

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /store

RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]



```

tried it with /store and with just /



config.local



// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.hivis.co.uk/store';
$config['http_path'] = '';

// Host and directory where software is installed on secure server
$config['https_host'] = 'www.hivis.co.uk/store';
$config['https_path'] = '';




Database info is correct.

I thought maybe smart optimizer but disabled that and no different, I also deleted all var/cache and var/compiled.

can anyone help, I want to get the 2.1.4 upgraded to v 3 before holidays end



Thanks

john

config.local.php should be


$config['http_host'] = 'www.hivis.co.uk';
$config['http_path'] = '/store';

Done,

Thanks sexy !





[color=#880000]// Host and directory where software is installed on no-secure server[/color]

[color=#000000]$config[/color][color=#666600][[/color][color=#008800]'http_host'[/color][color=#666600]][/color][color=#000000] [/color][color=#666600]=[/color][color=#000000] [/color][color=#008800]'www.hivis.co.uk'[/color][color=#666600];[/color]

[color=#000000]$config[/color][color=#666600][[/color][color=#008800]'http_path'[/color][color=#666600]][/color][color=#000000] [/color][color=#666600]=[/color][color=#000000] [/color][color=#008800]'/store'[/color][color=#666600];[/color]



[color=#880000]// Host and directory where software is installed on secure server[/color]

[color=#000000]$config[/color][color=#666600][[/color][color=#008800]'https_host'[/color][color=#666600]][/color][color=#000000] [/color][color=#666600]=[/color][color=#000000] [/color][color=#008800]'www.hivis.co.uk'[/color][color=#666600];[/color]

[color=#000000]$config[/color][color=#666600][[/color][color=#008800]'https_path'[/color][color=#666600]][/color][color=#000000] [/color][color=#666600]=[/color][color=#000000] [/color][color=#008800]'/store'[/color][color=#666600];[/color]



[color=#666600]and also edited .htaccess rewritebase. /store [/color]