bastosdesign Posted April 17, 2023 Posted April 17, 2023 Contents 1Step 0 - Сreate a "oscb" directory and download the Data Importer file from https://www.oscommerce.com/download/oscb156.zip into it. 2Step 1 - Extract the archived file from the "oscb" directory into the root of your website with the older osCommerce version. The command is unzip oscb156.zip. 3We highly recommend to rename this directory for security reasons (e.g. your_directory). The command is mv oscb your_directory 4Step 2 - Read the information in the Readme file as to how to proceed. 5The link highlighted in the screenshot below (https://your_domain/your_directory/index.php) will be used for filling in the OSCommerce bridge URL field in the new osCommerce version as it is described below. 6Step 3 - There are 2 ways of getting the secure key – via either command line or web. 7If it is done via command line copy the command line (php yii bridge/show-secure-key) highlighted in the screenshot below. 8Paste this command line to get the secure key and store this key (this key will be used for filling in the OSCommerce secure key field in the new osCommerce version as it is described below). 9If it is done via web (it is supposed to be done via web if there is no access to the command line for any reason) follow the instructions in the web section of the Readme file. Editing the file and uncommenting the line #12 (deleting 2 first symbols //) should be done as follows. First choose compat. 10Then configure.php 11Uncomment the line #12 (delete 2 first symbols //) 12Save the changes. 13Open the page in the web browser (https://your_domain/your_directory/index.php?r=site/create-sec-file) as indicated in the Readme file. You should see the following message - File was created successfully. 14Check your_directory for secfile name. 15Open this file and store the secure key (this key will be used for filling in the OSCommerce secure key field in the new osCommerce version as it is described below). 16Delete this file. 17Comment line #12 in the file back (add // symbols back). After that if you open the page in the web browser as indicated in the Readme file you should see the following message - The action is forbidden. Please check readme file for details. 18Step 4 - After you accessed the admin area of your website with the new osCommerce version click on Modules and Extensions tabs. Switch on Show inactive and Show not installed toggles, find the Osc Link, install it by clicking on the corresponding button and switch its status on. I have gone through 1-17 successfully, and step 18 says to "access the admin area". When I try to load the index.php in the root, I get this: Please check Authorization topic in readme file. there is nothing in the readme for this.... I have no idea if I am even accessing the correct page to get to the admin side? I assume once I get to the admin page for the new oscommerce, I will have some luck - I am just not sure which link to use? Quote
Jack_mcs Posted April 17, 2023 Posted April 17, 2023 3 hours ago, bastosdesign said: I have no idea if I am even accessing the correct page to get to the admin side? Step 18 is referring to the admin of the V4 shop, not your live shop. Did you install the V4 package first? Assuming you did, you would access the admin with https://YOUR DOMAIN NAME/v4/admin/ assuming you installed the package in a directory named v4. pandrei 1 Quote 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
jacktu Posted May 12, 2024 Posted May 12, 2024 I have the same issue. I have gone through 1-17 successfully, and step 18 says to "access the admin area". I did not see the extension tab under Module. I did not install the V4 version yet. I thought once I get the APP shop it will help me to do the upgrade. Quote
Jack_mcs Posted May 12, 2024 Posted May 12, 2024 12 hours ago, jacktu said: I did not install the V4 version yet. I thought once I get the APP shop it will help me to do the upgrade. No, you have to install V4. Quote 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
jacktu Posted May 12, 2024 Posted May 12, 2024 3 hours ago, Jack_mcs said: No, you have to install V4. Ok. Thanks. I am doing that. I am getting this "Error. Can't connect to database server." Do you know who to fix this? thanks Quote
jacktu Posted May 12, 2024 Posted May 12, 2024 maybe I did not understand how to enter the following information: Database host:* Database name:* Database username:* Database password:* what to enter for database host? I am using mysql so I guess dataname is osc. but what is database host? Quote
jacktu Posted May 12, 2024 Posted May 12, 2024 also it said must be exit empty database? do I need to create a new empty database? Thanks Quote
jacktu Posted May 12, 2024 Posted May 12, 2024 Please tell me what to enter for Database host:? I created a new empty database with user name and password but I don't where is this database located in / directory? Quote
jacktu Posted May 12, 2024 Posted May 12, 2024 Can anyone tell me what is this mean? 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 how do I find this "OSCommerce bridge URL field" on my old oscommerce? thanks. Quote
jacktu Posted May 12, 2024 Posted May 12, 2024 now I am getting another error Error while establishing connection: PHP option allow_url_option must be enabled for this operation. Please correct settings in your php.ini. Is this php.ini from my older version or from my new version? Quote
jacktu Posted May 12, 2024 Posted May 12, 2024 3 minutes ago, jacktu said: now I am getting another error Error while establishing connection: PHP option allow_url_option must be enabled for this operation. Please correct settings in your php.ini. Is this php.ini from my older version or from my new version? I created a pho.ini with the followings: expose_php = Off max_execution_time = 600 max_input_time = 600 max_input_vars = 10000 memory_limit = 256M post_max_size = 64M upload_max_filesize = 64M max_file_uploads = 50 session.gc_probability = 1 session.gc_maxlifetime = 14400 open_basedir = Off I am getting this error now. Server error:500. Any idea? Quote
Jack_mcs Posted May 13, 2024 Posted May 13, 2024 15 hours ago, jacktu said: I created a pho.ini with the followings: Try adding the following. Some servers won't allow it to be changed that way so you may need to ask your host to verify it is enabled. Also, to be clear, the php.ini file belongs in the directory for the v4 shop, not your original shop. allow_url_fopen = On pandrei 1 Quote 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
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.
Note: Your post will require moderator approval before it will be visible.