I am on . Full report:
1. CCK 6.x-2.9 with Drupal 6.19 and the latest everything.
2. ImageField and FileField 3.10
3. Permissions are set to 775, with user "apache" added in the user group. (Apache and PHP can modify file.)
4. Download set to public, always has been.
5. It was your average imagecache setup. Now gone, only FileField options remain.
6-8.
My site was upgraded to the latest version of everything except Drupal itself (at 6.19)
After the upgrade, I noticed that all node imagefield attachments were no longer showing. After inspection, I noticed:
* Image is no longer listed under widget in Content Type > ... > Manage Fields > Add Field.
* In the DB, the table content_field_imagini had all it's column removed except `vid`, `nid` and `delta`. I then manually restored these.
* The ImageCache options in the Display setting of the content type are visible. The rendered node output is <img src="http://www.domain.com/files/imagecache/thumbnail/" alt="a" title="a" class="imagecache imagecache-thumbnail"> Yes, no file path, just the imagecache preset path prefix.
Please help.
Comments
Comment #0.0
Gabriel R. commentedMentioned `delta` field.
Comment #1
Gabriel R. commentedSorry to mark this as critical, but my site is effed right now.
Comment #2
Gabriel R. commentedIssue #581074: Widget does not show up. (PHP 5.3.0) sound similar, but it's not the same.
I am on PHP 5.2.8 (cli) (built: Jan 5 2009 15:12:04)
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
Comment #3
Gabriel R. commentedOut of desperation, i upgraded my server to PHP 5.3, together with MySQL and a bunch of other stuff. Things are working again.
Is ImageField only compatible with PHP 5.3?! There should definitely be a more elegant failover system. Dropping column is not cool.
Comment #4
clemens.tolboom@Gabriel Radic : how did you fixed it manually?
I have a similar problem but the site has gone through a D5 upgrade.
imagefield module is enabled.
on admin/content/types/fields the column Field Type is empty for imagefield fields.
on admin/content/node-type/page/fields the column Type is empty.
on admin/content/node-type/page/fields/field_image the Widget type is empty.
creating a new content type and trying to add a file field having a image widget is not possible ... there is no image widget only file.
In table content_node_field the row regarding the image has an empty db_columns field.
I don't know yet how to fix this.
Comment #5
clemens.tolboomTesting on a base D6 install showed me the file widget label was changed from 'File' to 'File upload' ...
I had filefield-6.x-1.0-beta3 next to an imagefield-6.x-3.10 ... wtf !!!
I had the site installed by drush make so still investigating my root cause.
[edit] This now works for me ... I update to 6.x-3.10
Comment #6
quicksketchThis sounds similar to #1081548: Syntax errors and 'description' field data loss upgrading from 5.x to 6.x, which I marked won't fix, but that's a D5 upgrade issue.
I've never seen this problem. But considering ImageField doesn't even control it's own database columns, I don't think it's likely that it's responsible for any data loss. CCK controls all our database columns, so if anything ate your columns that's probably where it came from.
It's hard to nail this down if everything was upgraded at once. If you can provide steps to reproduce this problem I'll take a look at it, but considering upgrade issues are always one-time and then move-on, I doubt we'll be able to get any reports on how to reproduce.
FileField and ImageField work with all versions of PHP 5.
Comment #7
quicksketchComment #7.0
quicksketchMentioned display widget.