Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Set up backup of osc on wampserver help


ozstar

Recommended Posts

Posted

Hi,

 

I have set up wampserver on XP which works well and now want to set up a copy of an osc store we have on line to check it will work in PHP5.3 when our host installs it.

 

I have made a backup of the online sql through phpMyAdmin.

 

This database on the server is called say, 'osc_oscommerce' and the password is 'helpme'

 

I have placed all the osc files in the wampserver /www/oscommerce/ dir and now need to create the database.

 

Do I create the db in phpMyAdmin naming it the same as what it is on the live server, or can I call it anything?

 

I know then I will have to import the backed up sql into this dbase.

 

I guess I will then have to change the configure files in catalog and admin to reflect these names.

 

Is there anything else I should be aware off?

 

Many thanks

 

oz

 

:-)

Posted

 

I have placed all the osc files in the wampserver /www/oscommerce/ dir and now need to create the database.

 

Do I create the db in phpMyAdmin naming it the same as what it is on the live server, or can I call it anything?

 

You don't create the database in phpMyAdmin. You simply restore your backed up database.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

You don't create the database in phpMyAdmin. You simply restore your backed up database.

 

Hi and thanks.

 

How do I 'restore' a db for wamp?

 

I just did a db backup on site then imported this into wamp in a new db I created with a new username etc.

 

Is there an easier way?

 

What about the whole site back up from cpanel, how would one 'restore that whole site to the wamp set up?

 

Thanks again..

 

oz :-)

  • 1 year later...
Posted

I am trying to setup OSC on WAMP server with XP, but can't get anywhere past the home page of my site. The url is 'localhost/index.php' for the home page and clicking on another page link changes the url to 'localhost/index.php?cPath=3' but nothing happens. Any thoughts on a fix?

Posted

osC installed in a folder named 231 in thw WAMP www folder.

 

This works for me:

 

  define('HTTP_SERVER', 'http://127.0.0.1');
 define('HTTPS_SERVER', 'http://127.0.0.1');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', '.127.0.0.1');
 define('HTTPS_COOKIE_DOMAIN', '.127.0.0.1');
 define('HTTP_COOKIE_PATH', '/231/');
 define('HTTPS_COOKIE_PATH', '/231/');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...