Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Some images not found after transfer from local server to host server

Some images not found after transfer from local server to host server

Locked

Views: 4,084

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
1 Apr 2009, 12:19 PM
#1
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Some images not found after transfer from local server to host server

Ok. All attempts at resolving this have proved fruitless and I'm now stuck.

My website was working fine on my local machine but after transferring to the net certain images no longer displayed. It seems that these are the ones I added through define pages/ez-pages html editor.

I suspect that it is something to do with paths, as the web server properties of these 'missing images' still refer to their original //localhost/shop.... whereas all other images are now referenced in //DOMAIN.co.uk/shop...

my includes/configure.php shows the images path as being define('DIR_WS_IMAGES', 'images/'); I've tried mucking about with this - no luck

A link to my temporary website (I know, it still needs optimizing etc.) is <a href="http://testonly.horseplaycraftyparties.co.uk/shop/index.php" target="_blank" rel="nofollow">here</a>

Hope someone can help with this, it's driving me nuts.

Cheers

Simon

1 Apr 2009, 12:34 PM
#2
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Some images not found after transfer from local server to host server

The direct link is here

Thanks

1 Apr 2009, 1:48 PM
#3
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Some images not found after transfer from local server to host server

Problem solved!

the images in question had absolute paths not relative as required.

Further searching of the forum demonstrated how to create relative paths instead of absolute paths in the html editor for ezpages and define pages i.e. save in text view as reverting to wysiwyg prior to save puts back the absolute path.