Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSC working in conjunction with Dreamweaver


Guest

Recommended Posts

NOTE Please do not do anything without creating a backup of the files you update!!!!!!!

 

After loads of help and hair loss I have got my E shop using OSC working and able to edit in design mode with all graphics showing using Dreamweaver. You will have to have apache/MySql and PHP running on your local machine, and view in Dreamweaver using the LIVE DATA VIEW.

 

I had to download the entire web site including database to my local machine, I then had to create the user details in phpmyadmin and grant access to the database. I then reconfigured the file catalog/includes/configure.php file with the correct information used to access the database, username, pwd and db name. I have commented out the original settings.

 

New settings are:

servername "localhost" or whatever you have called your server.

username "*******" used to access the database.

password "*******" used to access the database.

 

This is a section of the catalog/includes/configure.php that has been edited.

//  define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers
//  define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://localhost'); // eg, https://localhost - should not be empty for productive servers

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'username here');
 define('DB_SERVER_PASSWORD', 'password here');
 define('DB_DATABASE', 'database name here');

// Uncomment for web host server activation
//  define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers
//  define('DB_SERVER_USERNAME', '');
//  define('DB_SERVER_PASSWORD', '');
//  define('DB_DATABASE', 'osCommerce');

You will have to use your own username, pwd and db name. I would suggest creating a copy of the configure.php file and do not upload to your host server without first changing the username, pwd and db name to the correct ones for your host server.

 

Unfortunately if you preview the page in a browser using Dreamweaver then the graphics do not show just the page layout. But all said this is a great help to me in understanding how the site layout works. I can look at the CSS code to see what is going.

 

I hope this is some help to everyone who wants to redesign their E shop.

Link to comment
Share on other sites

  • 2 months later...

Great!!!

That was one of the things I was looking 4.

 

But... back-end is not something I feel comfortable with, could you point in any directio where to find information on how to install the stuff needed to run on local machine?

 

Thanks.

 

BB

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...