hi folks, can you help with this?
my images wont display in my testing server! but they display fine on the remote site (thankfully)
ok more detail:
when i right click the image on the remote site, the properrties show the url as
http://site-n.co.uk/images/pic.jpg
however on the testing server there is no image, just the little red x
i right click to see the properties, and the url is:
http://localhost/images/pic.jpg
This is wrong, and it should read
http://localhost/site-n/images/pic.jpg
i have several sites in my htdocs folder, so the site root should be
http://localhost/site-n
Now, my site definition settings:
Local
=====
Site Name = site-n
local root folder = D:\webs\site-n
local images folder = D:\webs\site-n\images
http address =
http://localhost/site-n
Remote
=====
Access=FTP
host = ftp.site-n.co.uk
host dir = /htdocs/
user, pass etc, all work ok, connects
Testing Server
=============
Server Model = PHP MySQL
access=FTP
host = 127.0.0.1
directory = /site-n/
user pass etc ok connects fine
url prefix =
http://localhost-site-n
I have either done something stupid, not done something, or something like that! The only thing that changed (I upgraded my server btw but it all went seamlessly)was the site definition. Now like I say when I publish it keeps looking in the wrong path for the images...
Any help would be absolutely superb! It's 3:29am and I've been at this for far too long!
Cheers Everyone!!
The Del Boy
Live forever, or Die in the attempt...