dizza Posted December 8, 2007 Posted December 8, 2007 My website that I spent months of work on was deleted along with the database. I have back-ups of with site and I hope someone can tell me how to restore it. It was built with the previous oscommerce 2.2. I added a bunch of contributions and saved them all so I have the database info for those. I also have oscommerce 2.2 to upload unless you think I could do it with the new merchant package. I always saved templates for my site. I had deleted someother websites from my godaddy account and accidentally deleted the website that I have worked on for almost the last year. By the time I noticed this, godaddy was unable to restore the site. The template that I have should have about 60 products with complete descriptions. Can anyone tell me how to restore my website!!! I have tried just uploading oscommerce 2.2 and overwriting with the template and adding the database queries, but I just cant seem to get it to work. Please somebody help me. I am strapped financially, but I am a graphic designer, so I could trade out if necessary. Happy Holidays, and Thank you for taking the time. Dustin
nimz Posted December 8, 2007 Posted December 8, 2007 1. you need a full back up of all files/folders inside your catalog folder 2. you need a sql database backup of your database. this is a text file containing all your sql quesries. create a folder in your public_html folder and name it the same as your catalog folder that you had before. I'm gonna assume this folder is called catalog. copy all your files and folders to your catalog folder. now open catalog/includes/configure.php look for your database credentials: define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); make a note of them. then go to cpanel -> database manager and create a database, user, password exactly same as the info you got from configure.php NOTE: when you create a database usually your main account username is appended to the beginning of the name you picked EX: if ur cpanel username is "user123" and you choose "oscdb" as your database name cpanel creates a database for you with this name: user123_oscdb. same thing goes with the database user. once you have your database created it's time to use the sql database backup queries to rebuild the tables and import your shop data. go to cpanel -> database manager-> phpmyadmin select your database (the one you just created) from the side bar then on the right side click on the "import" tab you will browse for your sql TEXT file and submit it. your database will be restored if all goes well you should be able to access your site. let me know how it goes. good luck. Santa's little freelancer
Recommended Posts
Archived
This topic is now archived and is closed to further replies.