I am getting the following when trying to upload a default picture (on a content type subject with the field field_picture):
admin/structure/types/manage/subject/fields/field_picture
I am getting the following. I used a picture which I successfully uploaded in a picture field. I just will not work as a default picture.
An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /larsolesen_dk_build/file/ajax/field/settings/default_image/form-rYuyGg5GOyxRZspbZrO-D4RyubHkU6xsG1fbEcAOZ7k
StatusText: n/a
ResponseText: Fatal error: Cannot create references to/from string offsets nor overloaded objects in /home/lsolesen/workspace/larsolesen_dk_build/includes/common.inc on line 5939
Call Stack:
0.0002 72764 1. {main}() /home/lsolesen/workspace/larsolesen_dk_build/index.php:0
0.3325 16827128 2. menu_execute_active_handler() /home/lsolesen/workspace/larsolesen_dk_build/index.php:22
0.3351 16828220 3. call_user_func_array() /home/lsolesen/workspace/larsolesen_dk_build/includes/menu.inc:480
0.3352 16828824 4. file_ajax_upload() /home/lsolesen/workspace/larsolesen_dk_build/includes/menu.inc:0
0.3492 17404036 5. drupal_process_form() /home/lsolesen/workspace/larsolesen_dk_build/modules/file/file.module:261
0.4064 18843372 6. drupal_validate_form() /home/lsolesen/workspace/larsolesen_dk_build/includes/form.inc:751
0.4161 18854156 7. drupal_array_set_nested_value() /home/lsolesen/workspace/larsolesen_dk_build/includes/form.inc:1035
ReadyState: undefined
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | default.jpeg | 48.84 KB | lsolesen |
Comments
Comment #1
casey commentedComment #2
montesq commentedDear lsolesen,
I've just tried to reproduce your issue with D7 HEAD, without any success.
Could you confirm it still fails on your side? Have you tried with another picture?
If yes, please give more details...
Comment #3
lsolesen commentedIt still fails on my side. I tried several pictures. The attached picture was successfully uploaded as a image in the field, but not as a default image on the content type:
/admin/structure/types/manage/subject/fields/field_picture/field-settings
PHP 5.2.10-2ubuntu6.5 with Suhosin-Patch 0.9.7 (cli) (built: Sep 16 2010 20:04:48)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
What additional info do you need?
Comment #4
moshe weitzman commented' needs review' is only used when someone posts a patch that community should review.
Comment #5
Anonymous (not verified) commentedi can confirm this bug on a clean install of HEAD.
I get the following error:
Comment #6
swentel commentedProbably duplicate with #932648: Ajax warning when uploading to managed_file field ?
Comment #7
Anonymous (not verified) commentedyeah, they certainly seem the same, closing as duplicate. please reopen if it turns out to be different.