Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Move to another host


marleenverbeek

Recommended Posts

Posted

Hi all,

 

I moved to a new host and I want to set up my webshop again, but i can't get it done. Steps I have done so far:

 

- I placed all the files on the new server

- I created a new database and asigned a user to it

- I imported the database sql file into the new database (with phpmyadmin)

- I changed all the settings of the includes/configure.php file and admin/includes/configure.php (see below what I changed exactly)

- Changed the settings of the configure.php files to 755 to be able to overwrite it and uploaded them again.

 

Can anybody tell me what could be going wrong? My site can be seen on: www.willy-condoms.com.

 

PLEASE HELP :S

 

Thanks,

Marleen

 

 

configure.php

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/willyco1/public_html/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'willyco1_willy');

define('DB_SERVER_PASSWORD', 'xxxxxxxxx');

define('DB_DATABASE', 'willyco1_willy');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

 

 

configure.php

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'willyco1_willy');

define('DB_SERVER_PASSWORD', 'xxxxxxxxxxxxxxx');

define('DB_DATABASE', 'willyco1_willy');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

 

define('DIR_FS_DOCUMENT_ROOT', '/home/willyco1/public_html/');

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/home/willyco1/public_html/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', '/home/willyco1/public_html/');

Posted

these configure.php's are not complete at all, they are messed up

 

my advice:

 

delete everything from server, clear the db

 

upload a vanilla (rc2a) shop, go through install

save the configure.php's

delete everything from server again

clear the db again

upload your shop

fill the db with your dump

change the configure.php's with the saved ones

 

ps. a vanilla shop is a fresh shop without any modifications, which you can download here of course

Posted

the usernames and DB names you posted here, if they're the real ones you're using then I suggest you change them for security reasons because right now the whole world can see them.

off topic, but also rename your admin folder to something else or you're at high risk of getting hacked. read this and this

~ Don't mistake my kindness for weakness ~

Posted

Thanks you all very much, but I solved it already. I did indeed install a fresh oscommerce shop. Then I uploaded my files over it and loaded my database with my old database. The database name and everything is different now anyway. But I will remove this post, just in case.

 

Thanks!

Archived

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

×
×
  • Create New...