Imagefield does not write in database Drupal 6.4

clown10 - September 21, 2008 - 17:25
Project:ImageField
Version:6.x-3.0-alpha2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

I suppose that this is caused by imagefield?

I have a field in cck that uploads an image. I can select an image and I can upload it. It is then in the folder where it is supposed to be. But after saving the cck node at the end of the cck form, the thumbnail in the cck form is gone, and the image is also not shown on the node.

Does anybody have a clue why this can happen. It worked fine a month ago, but now it doesn't. I upgraded to the newest versions of Imagecache, CCK, Imagefield and so on.

Thanks in advance

#1

no2e - September 21, 2008 - 23:17

Can you see the uploaded images after clearing Drupals cache or re-editing the node?
If so, this might relate to http://drupal.org/node/309509

#2

clown10 - September 22, 2008 - 08:53

No, I can't. I tried everything I could think of, but the images are never shown.

So then I set up a complete new installation with the same moduls and versions and it works. But I really don't want to build the whole site again with all the content.

#3

rka - September 23, 2008 - 14:11

i have quite the same problem. the image is saved and there is a thumbnail in the admin -- but the title/alt/description text is not saved in the database (i also updated all related modules to the current version running D6.4)

i discovered also some strange things in imagefield.install...

<?php
159
:     $new_field['columns']['data'] = array('type' => 'text', 'serlialize' => true);
?>

--> should it maybe: 'serialize' instead of 'serlialize'?

<?php
168
:     $batch['operations'][] = array('_imagefield_update_6102_move_operation', array($field));
169:    $batch['operations'][] = array('_imagefield_update_6102_drop_operation', array($field));
?>

--> the functions in the same file are named: _imagefield_update_6001_*_operation -- the functions above do not exist :(

loaded data from dev module in a node:

      (Array, 12 elements)
            fid (String, 2 characters ) 96
            list (String, 1 characters ) 1
            data (Array, 4 elements)
                  fid (String, 2 characters ) 96
                  width (String, 1 characters ) 0
                  height (String, 1 characters ) 0
                  duration (NULL)
            uid (String, 1 characters ) 1
            filename (String, 12 characters ) DSC01944.JPG
            filepath (String, 34 characters ) sites/default/files/DSC01944_0.JPG
            filemime (String, 10 characters ) image/jpeg
            filesize (String, 6 characters ) 604105
            status (String, 1 characters ) 1
            timestamp (String, 10 characters ) 1222177406

--> width and height are not correct and i suppose there should be the title/alt/desc. strings...

cheers,
rene

#4

Pierre_M - September 25, 2008 - 04:42

I had the same problem, but my problem was with lightbox2. I don't know if you guys are using it (lightbox2) but if you are, update it to the dev version.

Now for me CCK>>imagefield >>imagecache>>lightbox2 working great!

I hope this will help.

Pierre

#5

rka - September 25, 2008 - 14:06

i don't use lightbox, but after i deactivated "FileField Meta" it's now working (i also de-/reinstalled other modules, but "FileField Meta" seems to be the main problem)

#6

chellman - November 3, 2008 - 05:24

I can confirm that disabling FileField Meta got alt text working for me.

#7

mecano - November 9, 2008 - 23:51

subscribing

#8

openmind - December 11, 2008 - 01:20

Hi Guys,

I had the same problem. Disabling FileField Meta got alt and titles working for me. Though I would really like to use FileField Meta as well.
Any ideas on how to get them playing nicely?

I'm using....

Drupal 6.6
CCK 2.21
FileField Meta 6.30

Kind regards,

Chris

#9

possum4all - December 12, 2008 - 14:47

subscribing

#11

quicksketch - March 11, 2009 - 00:33
Status:active» duplicate

This is already fixed in #310126: Filefield Meta erasing file descriptions. It'll be corrected in the next release of FileField.

 
 

Drupal is a registered trademark of Dries Buytaert.