I tried to create a photo blog, very simple, and I thought that drupal 7 has everything I need. I just wanted to create a custom content type, with a title, story, image upload and tags. And because drupal 7 will be out soon it seems like a good idea to start developing in it.
But, with an out of the box install of Drupal 7 Alpha 6 I discovered that the image is uploaded properly, but no derivatives are created. Currently I run an nginx server with php 5.3.3, but I tried of course with a normal LAMP, on linux on windows, with php 5.2. Again nothing... Also, I have to mention that permissions are properly set, and accordingly to an existing bug report about jpegs with EXIF I tested also with and without EXIF in the images. Also I tested with png and gifs. Still nothing. I also have to mention that I am not using 3rd party modules, wysiwyg or themes; everything is by default in the core.
Am I missing something?
Thank you in advance,
Vlad.
Comment | File | Size | Author |
---|---|---|---|
#12 | drupal.field-ui-php53.12.patch | 1.02 KB | sun |
Comments
Comment #1
VladGh CreditAttribution: VladGh commentedI forgot to mention that it works in the stable 6.17 version of drupal with GD of Imagick.
Comment #2
ddorian CreditAttribution: ddorian commentedcare to try the latest dev?
Comment #3
int CreditAttribution: int commentedthis isn't critical (lost data), neither major (complete break one funcionality), it's a normal bug.
Also if is assigned to you, people will think that you are working on a fix.
Comment #4
VladGh CreditAttribution: VladGh commentedI'm sorry for not posting this issue correctly, but I considered that an impaired function of one of the most important modules in drupal core can be considered critical or at least major (after all, drupal is a content management platform). In my defense, I studied the issue queue handbook, and the priority levels of issues, which are very clear:
I don't see anything related to lost data or braked functionality.
PS ddorian: I tested also today's 7.x-dev and the CVS HEAD with the same result.
Comment #5
eojthebraveIs there any relevant information in your watchdog table or php logs? If you go to admin/reports/status are either of the GD related line items not green?
Comment #6
Damien Tournoud CreditAttribution: Damien Tournoud commentedThat's most probably a duplicate of #844676: (Tests needed) Stream wrappers stream_seek() return is invalid.
Comment #7
VladGh CreditAttribution: VladGh commentedThis is the only error I have in the watchdog:
Status reports GD working properly, and no errors in the php logs.
I think the above mentioned error is due to php 5.3 so I will make some more tests with php 5.2.
Comment #8
VladGh CreditAttribution: VladGh commentedAfter a few more tests I discovered that this is indeed due to php 5.3.3. It works great in 5.2. I also discovered that in Structure > Content Types > Manage Displays, the "submit query" button is not working (it was supposed to display the style options for each display such as full view, teaser etc.). I also tried the patch suggested in #844676: (Tests needed) Stream wrappers stream_seek() return is invalid without success.
Comment #9
Damien Tournoud CreditAttribution: Damien Tournoud commentedOk, I can confirm that the error message is legit. We apparently have some serious holes in the automated testing of the field UI :)
That said, I don't know how this could result in the thumbnails not being created.
Comment #10
Damien Tournoud CreditAttribution: Damien Tournoud commentedSorry, not critical until we confirm this is the source of the bug.
Comment #11
int CreditAttribution: int commentedIn the Drupal 7 RC1 we have to dedicate time to improve the tests..
Comment #12
sunCan this even be tested?
Comment #13
yched CreditAttribution: yched commentedA classic. call_user_func_array() vs by ref args. My bad.
And yes, we do have some serious holes in Field UI testing - #600544: Tests for Field UI
Comment #14
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.
Comment #15
VladGh CreditAttribution: VladGh commentedThank you guys, that was fast...