Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

transfering oscommerce files & db host to host


Guest

Recommended Posts

Hi all,

I succesfully installed my shop but then I had to transfer all files an db tables to another server.

 

I did it and almost everything worked out.

Problems:

* My shop appears to be completely unformatted, I mean, I can see products and navigate but no styles are present..

Better have a look if you have one second:

http://www.pc-midi-shop.com/catalog/default.php

 

* I can't login with the user I previously created in the other host and I can't create new users.

 

* I can't get in the admin section. I get this errors:

 

Warning: Cannot add header information - headers already sent by (output started at /var/www/pc-midi-shop/html/catalog/admin/includes/authen.php:1) in /var/www/pc-midi-shop/html/catalog/admin/includes/authen.php on line 4

 

Warning: Cannot add header information - headers already sent by (output started at /var/www/pc-midi-shop/html/catalog/admin/includes/authen.php:1) in /var/www/pc-midi-shop/html/catalog/admin/includes/authen.php on line 5

www.pc-midi-shop.com Authorization Required.

 

When I transfered the shop I changed these two files with the new configuration:

/catalog/includes/configure.php

y

/catalog/admin/includes/configure.php

 

But obviusly I forgot something....

ThanX for you precious time!

bye!

Link to comment
Share on other sites

I would do the following:

 

1.) Create a new database with the same username and password

 

2.) Run the install.php script on the new server.

 

3.) Check the basic default catalog +admin works.

 

4.) Now import your database and modify the configure.php files

 

5.) Make sure all permissions are set correctly

 

Finally remember to password protect your admin folder

 

 

Good Luck !

Special Effects / 3d + Flash

Link to comment
Share on other sites

I would do the following:

 

1.) Create a new database with the same username and password

 

2.) Run the install.php script on the new server.

 

3.) Check the basic default catalog +admin works.

 

4.) Now import your database and modify the configure.php files

 

5.) Make sure all permissions are set correctly

 

Finally remember to password protect your admin folder

 

if you need any futher help just pm me

 

Good Luck !

Special Effects / 3d + Flash

Link to comment
Share on other sites

hmm, let me guess...

 

Your testinstall was on a windows-box, your production store is not (or the other way around).

 

You transferred the files and the tables in binary-mode instead of text-mode.

 

Do the upload again, but now:

.php, .css, .txt, .sql, .htaccess as text/ascii

images as binary

 

hth

 

M@rcel

Greetings from Marcel

|Current version|Documentation|Contributions|

Link to comment
Share on other sites

ThanX so much for your quick replies,

I'll try it right now and hopefully it'll work as it sounds very logical :D

 

Read you soon !

Link to comment
Share on other sites

Ok,

I got it to work :D

I made a mix...

 

First I installed the shop again,

then I edited the config.php files and changed the database for the one I previously transtered

and finally I had to transfer all images again as you suggested.

 

THnX for your help!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...