I just changed the server one of my sites is hosted on. In doing so, I lost all the images. The CCK file upload fields show "ghost" data but contain no actual image data as they did before the site transfer. All my data is fine, however.

Is there a way to prevent this so all my images are maintained? Thanks


What module are you using to upload/show images? CCK + ImageField?

Anyways, to troubleshot your problem you need to figure the reason why no images are shown. This can be due to several reasons:

  1. Wrong file Permission. When uploading via FTP or CPanel sometimes sometimes file permission gets messed. Try setting permission to 777 recursively to your image folder and see if images appear.

  2. different absolute path. Some modules use an absolute path to figure in which folder they should upload images to. one easy way to find out is to create/upload a new image via CKK and using firebug (for instance) compare the URI of old images to the URI of the new image.

Keep us posted

  • Thanks Tivie, I do use CCK + Imagefield. I will look into the file permissions asap - that's something I hadn't thought of. – sisko Jun 1 '11 at 7:44
  • Sooo, what was the answer? – yitznewton Jan 25 '12 at 20:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.