Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Upgrading from OSC 2.2 MS-2 TO RC2a


GeneralB

Recommended Posts

Posted

Hello all,

 

I've been working on catching up my shop version 2.2ms2-060817 to RC2a. I understand that first I must upgrade to RC1 (at least that is what I believe and have been going through line-by-line code based on html code in my catalog/extras folder that came with the RC2.zip file [C:\...for oscommerce-2.2rc2a.zip\oscommerce-2.2rc2a\extras\upgrade-22rc1.html]).

 

I was doing fine until:

 

[bUGFIX] Product Sorting SQL Injection Vulnerability. Fix an SQL injection vulnerability when sorting products on the index listing. Affected Files: catalog/index.php

 

My code is completely different?????

 

Line 191 apparently is suppose to say:

if ( (!isset($HTTP_GET_VARS['sort'])) || (!ereg('[1-8][ad]', $HTTP_GET_VARS['sort'])) || (substr($HTTP_GET_VARS['sort'], 0, 1) > sizeof($column_list)) ) {

 

What it says is:

} else {

 

line 192 says: // We show them all

 

Last time I worked on this shop (which has not yet gone live) I worked on changing the look to match my colors but the table flow looks funky and I went another avenue to get products available for sale. Now revisiting osCommerce and see I've been long away and you guys have been busy at development and upgrades.

 

Please help ... not sure if I should just keep plugging at the other codes or wait. Per instructions, it said

 

The following changes should be performed in order on your installation to upgrade it to osCommerce Online Merchant v2.2 RC1. Please note that the following changes are

only the recommended changes to make and does not include the new Administration Tool login routine or the Administration Tool index page summary modules that are

available with new installations. This is to avoid a conflict with existing Administration Tool securing mechanisms already in place.

 

Is there an easier way to upgrade, i.e., I wouldn't mind doing fresh install if I could add / migrate product inventory into the new shopping cart folder.

 

Thanks for any help on this.

 

Kimberly

Posted

Hi Kimberly.

For me, (i go for the easiest each time) i reinstalled the latest and then put my products and customers database setting over form the back up BB, of course if your site is heavily modded, or graphics changed a lot it might be more of a pain for you!

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
Hi Kimberly.

For me, (i go for the easiest each time) i reinstalled the latest and then put my products and customers database setting over form the back up BB, of course if your site is heavily modded, or graphics changed a lot it might be more of a pain for you!

Nic

 

 

Hi Nic,

 

Thanks for responding. What is "modded"? My graphics have actually NOT changed, nor prices. I could go live but the shop as of now looks like crap and I have not yet gotten an ssl.

 

Kimberly

Posted

Hi Kimberly,

If you have not added too many products then it might be easier do do a complete new install of 2.2 Rc2a version.

So long as you have a back up of your database you can always extract information you want and add it to your new one.

Modded is just another way of saying lots of contributions added to your site, this would make it more difficult for you.

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Hi Nic,

 

Okay, I took your advice. I installed fresh, but in a new folder, preserving the old folder ... just in case. The thing is ... I did a lot of work on changing the look (color) to duplicate my current website theme. I really did not think about that, but my logo's already up on the ms2 version. Already though, I like the ease of install on the rc2a version. I think the only thing I care about at this point is the color scheme, the logo, the inventory. Is there an "easy" way to just port over specific files?

 

In the meantime, I'm in the process of reviewing the topic: "How Do I ... All the basic install questions regularly asked."

 

Thanks, Nic, for your help.

 

Kimberly

Posted
Hi Nic,

 

Okay, I took your advice. I installed fresh, but in a new folder, preserving the old folder ... just in case. The thing is ... I did a lot of work on changing the look (color) to duplicate my current website theme. I really did not think about that, but my logo's already up on the ms2 version. Already though, I like the ease of install on the rc2a version. I think the only thing I care about at this point is the color scheme, the logo, the inventory. Is there an "easy" way to just port over specific files?

 

In the meantime, I'm in the process of reviewing the topic: "How Do I ... All the basic install questions regularly asked."

 

Thanks, Nic, for your help.

 

Kimberly

 

Morning!

The older logo download to your desktop open in an editor and save as store_logo.png then upload to your new store imaes folder.

The if it is onlythe colours you have changes, upload your old stylesheet.css to your new store folder.

Let us know how far this takes you :-)

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...