Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems after server change


igorsetsfire

Recommended Posts

Hey everyone,

 

So I had osCommerce working and everything, with plugins and all.

 

Then my provider decided to switch servers.

The database was copied as well, and works fine.

 

However, I encountered some problems along the way;

- When I log in and view my catalog in the backend I get errors like:

"Error: Catalog images directory does not exist: /www/catalog/images/"

- and iDealm and paypal suddenly don't work anymore.

 

I've found that my provider did copy the database, but on the new server

the path from root to the location of the site is different now.

 

Anyone know all the places (maybe also in the database) where the root directory is defined?

 

And how do I get my iDeal and paypal working again?

 

I would really appeciate some advice.

Thanks in advance

 

-igor

Link to comment
Share on other sites

Hey everyone,

 

So I had osCommerce working and everything, with plugins and all.

 

Then my provider decided to switch servers.

The database was copied as well, and works fine.

 

However, I encountered some problems along the way;

- When I log in and view my catalog in the backend I get errors like:

"Error: Catalog images directory does not exist: /www/catalog/images/"

- and iDealm and paypal suddenly don't work anymore.

 

I've found that my provider did copy the database, but on the new server

the path from root to the location of the site is different now.

 

Anyone know all the places (maybe also in the database) where the root directory is defined?

 

And how do I get my iDeal and paypal working again?

 

I would really appeciate some advice.

Thanks in advance

 

-igor

check out both the admin and catalog includes/configure.php file. Do not post the db info.

Link to comment
Share on other sites

Some things to try out.

 

 

1. check the folder permissions

 

2. check that the paths are correctly set in these 2 files

 

includes/configure.php

 

and

 

admin/includes/configure.php

 

 

3. Check if your hosting has register long arrays set to off .. if so ask them to set it to on

Link to comment
Share on other sites

Thanks for the help, guys!

 

I tried some of the stuff out and found that it actually _was_ the configure files that were wrong. I'd tried it before, but the deepest I could get to the root was /www/

In one of the error messages I finally saw what was wrong. It was something more like /home/vhosting/17/www/ , though it was never documented by the provider.

 

Everything is back in order :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...