Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

re-install question


scrappit

Recommended Posts

Posted

ls it possible to re-run install.php to configure an exisiting site? l've mucked up my config files, (now my site/admin can't access the database) but am not confident enough to fix them by adding directly to the code myself. l'm hoping l can just re-run installation but not lose my products/reviews/everything! Is this possible?

Posted

do you have local backups of your configure.php files/ or are they in any of the db_recoverywhatever.sql files?

 

i would think the easiest would be to edit the admin/includes/configure.php file.

 

Of course, always backup the database, no matter what you do. that way if you do much things up on installing, you can always restore your database fairly easily.

 

 

John

Posted

here are the first few things you need to do:

 

1) backup your MySQL database; you can do this through the admin > tools > backup OR you can export your MySQL database (structure and data with add drop table option) through phpmyadmin

 

2) backup/download all your products images to your personal computer so later on if something bad happens you can always upload them back to your webserver.

 

3) you can try having confidence and start messing with your configure.php files (admin and catalog). it seems like you couldn't access your database because your database name, database path, username, and password are defined incorrectly in your configure.php files. if this is the case, it's an easy fix.

 

 

hope this helps.

 

-kurt

Posted

This is a very easy fix. I've had the same problem several times as I was customizing my cart.

 

All you have to do is upload your /install directory and run the install. When it asks if you want to up load the databases, uncheck the box. Then it will reconfig your files without touching the databases. This way it will fix all of your errors, but it won't touch database so you won't lose any products or settings.

 

I've done this several times already B)

Archived

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

×
×
  • Create New...