Download & Extend

Blank screen when hitting 'Done Editing' (CCK3)

Project:Image FUpload
Version:6.x-3.0-rc2
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Aside from the already-posted issues of the node needing to be edited twice (once for image uploads, once for body) - I have this issue when using this module with D6 (6.10 if that makes any difference)

Also, I'm using Firefox 3.5.4 for Mac OS X 10.5.8 - in case this is browser related.

The Issue: I have FUpload installed and working with CCK imagefield - Unlimited images per node. I can select images, click upload, green progress bars, then must click 'Next Step'. This takes me to another screen - even if I don't want to use FUpload to edit my alt/title/desc, it takes me to this screen.

I must click 'Done Editing' to get out of this screen. Hit button, I get blank (white) screen, nothing on it. I have to find a way back into my edit screen (not using back button, of course), where my images are there, but no text was added to them. It did not save the text attributes. Again, even if I don't want to use FUpload preview (node/add/slideshow/list_imagefields) to edit my text attributes, I have to click 'Next Step'.

So, two things:

- 'Done Editing' doesn't save text attributes and returns WSOD
- I would prefer an option to disable 'Next Step'. I just want a batch uploader.
- (ok, three things) I really appreciate the work put into this. Thanks for your efforts. I hope the issues can be overcome.

Comments

#1

Further investigation:

From my server error logs:

PHP Fatal error:  Call to undefined function _content_is_empty() in /www/mysitename/sites/all/modules/cck/content.module on line 935, referer: http://dev.mysitename.com/node/add/slideshow/list_imagefields

I'm using cck-6.x-3.x-dev. There is an issue queue related to this error. Does Image FUpload need a content_is_empty hook?

#541768: Call to undefined function _content_is_empty()

Also, when I create a new node to test the upload widget, when I go to the Preview screen (after hitting Next Step - where I can see the list of images), I get not only the images I just uploaded, but also all the images I have previously uploaded in other nodes. It's as if the node/add/slideshow/list_imagefields screen is accumulating all the images from previous instances, and is unable to flush them for the next new node.

I'll try reverting to CCK 2.x and see if it solves anything.

#2

Okay, so this is not a problem with CCK 2.5, so the title of this thread should include "in CCK 3.x".

#3

I'm running into the same problem and am looking into solutions. I need to use CCK3 for content multigroup. Let me know if you figure anything out

#4

+1

#5

Title:Blank screen when hitting 'Done Editing'» Blank screen when hitting 'Done Editing' (CCK3)

#6

subscribe

#7

subscribing ... having same issue after clicking "Done". Happens when using EITHER storage mode: one node per image or multiple images saved to one node.

I too have CCK 6.x-3.x-dev (2010-Jan-25) with Image FUpload 6.x-3.0-rc2, FileField 6.x-3.2, ImageField 6.x-3.2, Image 6.x-1.0-beta5

Backtrack for this issue below.

Location path-to-site-root/node/add/image-gallery/list_imagefields
Referrer path-to-site-root/node/add/image-gallery/list_imagefields
Type: php
Invalid argument supplied for foreach() in path-to-site-root\sites\all\modules\cck\content.module on line 926.
Backtrace: content_set_empty(...)[content.node_form.inc:364] <=content_multiple_value_nodeapi_validate(...)[content.module:715] <=content_field(...)[content.module:1350] <=_content_field_invoke_default(...)[content.module:269] <=content_validate(...)[content.module:422] <=content_nodeapi(...)[node.module:673] <=node_invoke_nodeapi(...)[node.module:809] <=node_validate(...)[images.previewlist.imagefield.inc:229] <=fupload_list_images_imagefield_validate(...)[form.inc:775] <=form_execute_handlers(...)[form.inc:720] <=_form_validate(...)[form.inc:585] <=drupal_validate_form(...)[form.inc:404] <=drupal_process_form(...)[form.inc:119] <=drupal_get_form(...)[?:?] <=call_user_func_array(...)[menu.inc:348] <=menu_execute_active_handler(a:0:{})[index.php:18] <=index.php

AND

Location path-to-site-root/node/add/image-gallery/list_imagefields
Referrer path-to-site-root/node/add/image-gallery/list_imagefields
Message Type: php
array_keys() [function.array-keys]: The first argument should be an array in path-to-site-root\sites\all\modules\cck\content.module on line 926.
Backtrace: array_keys(a:1:{i:0;N;})[content.module:926] <=content_set_empty(...)[content.node_form.inc:364] <=content_multiple_value_nodeapi_validate(...)[content.module:715] <=content_field(...)[content.module:1350] <=_content_field_invoke_default(...)[content.module:269] <=content_validate(...)[content.module:422] <=content_nodeapi(...)[node.module:673] <=node_invoke_nodeapi(...)[node.module:809] <=node_validate(...)[images.previewlist.imagefield.inc:229] <=fupload_list_images_imagefield_validate(...)[form.inc:775] <=form_execute_handlers(...)[form.inc:720] <=_form_validate(...)[form.inc:585] <=drupal_validate_form(...)[form.inc:404] <=drupal_process_form(...)[form.inc:119] <=drupal_get_form(...)[?:?] <=call_user_func_array(...)[menu.inc:348] <=menu_execute_active_handler(a:0:{})[index.php:18] <=index.php

#8

I posted a patch for CCK3 which deals with the described problem:
#541768: Call to undefined function _content_is_empty()