Closed (fixed)
Project:
ImageField
Version:
5.x-2.0-rc6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2008 at 18:25 UTC
Updated:
12 May 2008 at 20:27 UTC
I've got a very weird error which is sure Server-related. All my imagefields and also the input fields for imagefields are not displayed. Just vanished. I checked if something's wrong with the database or installation - no that's not the error.
I uploaded the entire installation to a new server that I did not work much with until now. So maybe something is blocked on this server that prevents imagefield from working. To start checking: are there any extensions in php that have to be loaded to make imagefield work? Or are there maybe any known security blockings that prevent it from working?
I could have a look at the php.ini, but where to start.
Comments
Comment #1
dopry commentedUmm you need to include more details in order for anyone to begin to reproduce your problem...
What modules are you using? php version? any errors in logs? are the imagefield inputs in the markup?
give people some information so they can actually begin to help.
Comment #2
eigentor commentedO.K.
PHP Version is 5.1.2. The drupal log does not show any errors related to this. I don't have access to the server log but wrote a Mail to the Admin to have a look there.
Modules: I use CCK, Admin_menu, Views, Imagecache, Übercart, Thickbox, Update Status, Poormanscron and - sure - imagefield.
The input fields show up in a strangely limited way: the Fieldset is there, but the input fields are missing.
This is the link to the PHP info, if it helps: http://www.audioclassica.de/drupal/phpinfo.php.
The really strange thing is, that it works on another server and running as a local copy.
Comment #3
jpoesen commentedIgnoring the fact that it works on a different server:
My first guess is a theming issue
- are the fields there but maybe hidden by css (check html source)
My second guess: bad hook_form_alter
- some module may have done a bad hook_form_alter implementation and removed too many input fields where it only should have removed one or more specific input fields
- try to selectively disable any module you recently installed and check
Any errors in your apache logs, watchdog, etc?
Comment #4
havran commentedI have same problem, fieldset is here but input form missing. Fresh installation Drupal 5.7, with minimal modules. PHP 5.2.4, with safe_mode on. 5.x-1.4 version work.
Comment #5
messenger commentedDrupal 5.7
MySQL database 5.0.45
PHP 5.2.5
ImageCache 5.x-1.5
Imagefield 5.2 rc 6 (shows in status as unsupported release)
jstools-5.x-1.x-dev
I have just begun having this problem, after running the 5x.1x version of imagefield successfully, I 'upgraded' to the 5x.2x version. I also upgraded the imagecache and jstools module at the same time. Jstools has had some problems, so I uninstalled the most recent version and reinstalled the jstools 5.0.8 version. This has not fixed the problem.
All of my existing imagefields still no longer show the input fields on the edit pages. I am pretty sure it is not an imagecache problem, but is related either to the most recent jstools upgrade OR the upgrade I did from imagefield 5x.1x to 5x.2x.
I'll post anything I find.
--Edit
ah, if my field is defined as a Multi Select, the upload input field is back, if I deselect this, the field disappears again. They were originally not multi-select, but I did play with it a bit, and have uploaded 2 images while set to multi-select. Perhaps this is part of the problem?
Comment #6
redben commentedSame problem here ? Has anybody come out with a solution ?
Comment #7
eigentor commentedMy original issue doesn't seem to be one. So everybody may have have a different bug. In my case, imagefield displays well on other pages, but not on one particular content type. I guess this content type is somehow broken. A hint is given by a strange behaviour: the small preview images for the images in the imagefield on the edit form are not displayed. Check out if imagefield displays on other pages. If so, recreate the respective content type. This might solve your problem.
I don't close this issue since there might be different solutions for others.
Comment #8
zottmann commentedHi!
I am having the same issue ... Going back to 5.x-1.2-rc1 solves the problem, but then, of course, we lose the new functionalities provided by 5.x-2.0-rc6.
I am using Drupal 5.7, php 5.2.3-1ubuntu6.3, Mysql 5.0.45 and GD Library 2.0 or higher.
I also applied the brazilian portuguese translation to my site, but I guess it doesnt matter for this issue.
Regards,
Carlos.
Comment #9
pearcec@drupal.org commentedI have the same issue it has to do with limiting the max amount of images to 1. The if statement needs to be reworked. I don't have a solution yet.
Comment #10
pearcec@drupal.org commentedPerhaps this is a duplicate. I browsed the CVS source and noticed there was a change. Take a look.
http://drupal.org/node/226270
Comment #11
jpetso commentedAs far as I understand, eigentor's problem seems to affect node *views*, not edit forms. (Please confirm or deny this statement so that we don't get yet another dozen of "me too" posts.)
Comment #12
eigentor commentedWell, my problem affects mostly views. Still I also know the problem with the not at all appearing input fields for image fields - which caused me to switch back from the rc6 version to the stable one. But yes, this is a different issue.
Comment #13
Coyote commentedI just did a completely clean install of Drupal with imagefield rc6, and cck 1.6, created a content type to test, added an imagefield field..
When attempting to add/edit nodes of that type the imagefield did not appear on the form.
The only thing that showed up was a collapsible block that contained only the text:
"You can only attach images to this field. Delete an image if you wish to be able to upload different images."
However: If I set the field settings to allow multiple values, then set the max number of images to one, the widget appears.
This is not intuitive. : )
Comment #14
jpetso commented@Coyote: eigentor just stated that the bug you mention is not the one that this issue wants to address. The bug you mention is also fixed already in CVS and will not appear in future versions of imagefield. (Darn it, can't anybody push out an rc7 to get rid of these duplicates?)
@eigentor: Thanks for the clarification, I'll put the issue back to "active" state.
Comment #15
dopry commented@all: please open new issues if the latest release doesn't solve your problem... there are some formatter issues with rc6-rc8.. they should be better in 2.x dev.