Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSCB159 migration to v4


Recommended Posts

Posted

Hi,

 

I am trying to migrate my store from v 2.3.4 to 4.x using OSCB159 and following this instruction - https://www.oscommerce.com/wiki/index.php?title=Importing_Data_from_Older_osCommerce_Version_to_New_One#Step_0_-_Сreate_a_"oscb"_directory_and_download_the_Data_Importer_file_from_https://www.oscommerce.com/download/oscb158.zip_into_it.

And I fail miserably very early on - Step 3 - getting the security key. I edited compat/configure.php file as instructed and when I try to generate the security key sing the link (my domain/oscb_location/index.php?r=site/create-sec-file) I get below error:

Quote

Not all configure constant are found:
DIR_WS_HTTP_CATALOG,DIR_WS_HTTPS_CATALOG
Key DIR_WS_HTTP_CATALOG not found
Key DIR_WS_HTTPS_CATALOG not found

What am I doing wrong? How can I fix that?

 

Thanks,

Matt

Posted

Ok, it seems like I managed to go over this step. 

In the compat/configure.php I added:

Quote

define('DIR_WS_HTTP_CATALOG', 'my_domain/');
define('DIR_WS_HTTPS_CATALOG', 'my_domain/');

And it worked. I got Secure file generated and secure key in it.

 

But now when I got to step 19 in the instruction - Click on Modules, Connectors and OSCommerce Connector Service tabs. The import from the older osCommerce version has already been initiated. Under Connection settings tab fill in the OSCommerce bridge URL field with the link from your older osCommerce version where the required data is located, choose the OSCommerce secure method from the drop down list (the one per the screenshot below is recommended) and fill in the OSCommerce secure key field with the required key as it is described above or see readme file in your_directory.

 

So I added bridge url (my_domain/oscb_folder/), method (bearer token) and provided security_key i obtained... and I am getting this error:

Quote

"Error while establishing connection: OSCommerce bridge does not found"

What is the issue here?

Posted

Thanks @Jack_mcs for suggestion - it seems to be working. COnnection was established, I managed to migrate categories, products (yet they are not linked under categories), trying now customers...

I was worried I'd have to deal with it manually.

Posted

Glad to hear it helped.

16 hours ago, MateuszFranckiewicz said:

yet they are not linked under categories

There is an option to select which sales channel the imported things are assigned to when setting up that panel. You can set that later but I found it is easier if done on the conversion page.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

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

×
×
  • Create New...