Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

moved an oscommerce from one server to another


prime_66

Recommended Posts

I?ve just moved an oscommerce-system from one server to another. Everything works fine except that the "thumbs" don?t work as they should. The <img src> for all listed products becomes something like this:

 

 

<a href="http://63.247.66.90/~babyb/butik/product_info.php?products_id=76&osCsid=33039b0e4cc9e541730594762974365d"><img src="product_thumb.php?img=images/Quinny_speedixs copy.jpg&w=132&h=99" width="132" height="99" border="0" alt=" Speedi SX " title=" Speedi SX "></a>

 

As you can see <img src> contains a querystring instead of just the searchpath. This wasn?t a problem on the server which I copied from. Can this have anything to do with the php-version or the gd-support? The oscommere version is from 2003. I thought it would be enough to just edit the two configure.php files when moving from one server to another, or it something else you must do?

Link to comment
Share on other sites

I?ve just moved an oscommerce-system from one server to another. Everything works fine except that the "thumbs" don?t work as they should. The <img src> for all listed products becomes something like this:

<a href="http://63.247.66.90/~babyb/butik/product_info.php?products_id=76&osCsid=33039b0e4cc9e541730594762974365d"><img src="product_thumb.php?img=images/Quinny_speedixs copy.jpg&w=132&h=99" width="132" height="99" border="0" alt=" Speedi SX " title=" Speedi SX "></a>

 

As you can see <img src> contains a querystring instead of just the searchpath. This wasn?t a problem on the server which I copied from. Can this have anything to do with the php-version or the gd-support? The oscommere version is from 2003. I thought it would be enough to just edit the two configure.php files when moving from one server to another, or it something else you must do?

 

Your code for images would typically be something like

 

tep_image(DIR_WS_IMAGES . 'xxxxxx.gif',)

 

From your snippet above it looks like you have hard coded paths to your images - these may get translated \ corrupted when you move from one server to another.

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...