Chaos Incorporated Posted January 26, 2015 Share Posted January 26, 2015 Hello , Sorry if this is something simple but this is my first go at an online storefront so im learning as i go :) To start here i have just downloaded the current version oscommerce 2.3.4. Its unzipped on my laptop for editing but not installed on the website as of yet. (i have my own server through my computer shop. ) I have on my website at this time an existing user login and management database that was implemented several years ago, for protected content on my site e.g. lessons , tutorials etc, My php scripting expertise is at an intermediate level . Here are my questions: Is it possible to have or to make the store work from both databases? I dont want it to be annoying if an already registered user wants to use the store, forcing them to create another registration . OR could the oscommerce database be directly pointed to my pre-existing database if the database is updated with any extra fields required by the store front software ? I ask this because my understanding thus far looking at the software is that it will create/ or need a database of its own , and since i have a whole lot of members at this point it would take forever to migrate the old information over to the new database via manual entry , not to mention if there are more form fields required by your database, requiring more input from previous users. What is my best option ?? Thank you for your time Link to comment Share on other sites More sharing options...
MrPhil Posted January 26, 2015 Share Posted January 26, 2015 Unfortunately, most applications (including osCommerce) are designed to own the whole site. Thus, they do not play nicely with others if you try to combine multiple applications, and don't share the same IDs and passwords. I believe that some osC users have managed to hack osC (and other applications) into sharing a common login system, but it's not something built in to osC, nor is it easy to do (and it depends on what the other application(s) are). It is highly likely that osC and your homebrewed system use a different way of hashing passwords, so simply importing saved IDs and passwords from your other system into osC probably won't work. You would need to have the clear text passwords (and generate new hashed passwords), which should never be available in the first place (a gross security violation). One thing you could consider doing is extracting your password hash code from your existing system, and adding it to osC as an alternate system, if osC doesn't recognize the ID or password. Having the clear text password at that point, you could hash it and store it for osC. Likewise, the same could be done for your other system. Eventually, when you have all users duplicated on both the old system and osC, you could get rid of the old password system and bring everything under osC. It would be a big job. Link to comment Share on other sites More sharing options...
aphdev Posted June 18, 2016 Share Posted June 18, 2016 Just migrate your data. And extract the plain text and hash it for osC. Done. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.