After transfering my site from one host to the other, the images in the cck image field are not shown .

here is my configuration :

drupal 5.9
cck 5.x - 1.7

image field 5.x-1.1

files & tmp directory permissions : 755

download method : public

after exporting and importing database everything works fine , except the image field .. When I edit cck nodes with the imagefield to see what in the images field I can not find the image file .

Probably I missing something in site transfer but what ?

Selda

Comments

andb’s picture

Check the files table and make sure the files path is what it ought to be. This is a step you have to take if moving from a normal singlesite install (default) into a multisite, for example.

cgjohnson’s picture

I have the same issue in D 6.6, using latest versions of CCK, imagefield, filefield and imagecache. Using php 5.2.1, site5 host. - files path looks right, but I can't see any images. I also get this error when I create any content and do NOT include an image (image is not required in my CCK content entry form):

user warning: Column 'field_images_fid' cannot be null query: INSERT INTO content_field_images (vid, nid, delta, field_images_fid, field_images_list, field_images_data) VALUES (589, 589, 0, NULL, NULL, NULL) in /home/MYSITE/public_html/sites/all/modules/cck/content.module on line 1199.

Any ideas why this is? Any solution? I can't let our editors see this error every time they upload content. Before upgrade to D6 this all worked like a charm. I'm a big fan of imagefield.
thanks.

UPDATE:
Even though the original presets appeared, I created new presets using DEPRECATED SCALE and in my content type set the display to those presets. That seems to work, so the problem may have been trying to update to the new "scale".

great, module, and I only lost a few days to banging my head on the screen after upgrade. -cg

quicksketch’s picture

Status: Active » Closed (fixed)

This problem was probably caused by a change in the file directory path, though it's hard to say without more information. Make sure that the files directory was copied over, and that the path was not changed. If the files were stored at "sites/files/default" make sure they're in the same location on the new server. You cannot change the file directory location without doing a large amount of manual cleanup to the files directory.

I'm going to close this issue because there's been no activity since November and it's for the 1.1 version, which is no longer supported. Please open a new request for any problems regarding the newer releases of ImageField.