ozstar Posted April 9, 2010 Posted April 9, 2010 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 :-)
♥mdtaylorlrim Posted April 9, 2010 Posted April 9, 2010 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...?
ozstar Posted April 10, 2010 Author Posted April 10, 2010 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 :-)
casemaker Posted December 24, 2011 Posted December 24, 2011 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?
germ Posted December 25, 2011 Posted December 25, 2011 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 >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.