images don't get saved - image_fupload_imagefield.module on line 388.

snicers - May 13, 2009 - 12:26
Project:Image FUpload
Version:6.x-3.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Try to upload 7 random images. The upload itself works but gives me an error message:

warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/drupal/sites/all/modules/image_fupload/image_fupload_imagefield/image_fupload_imagefield.module on line 388.

When I click on "next" I can see all the resized images. When I click on "Done Editing" it tells me that the images have been published but there are no images. When I go back editing the node no images are in.

#1

grandcat - May 13, 2009 - 12:38
Category:bug report» support request

Maybe a conflict with another module, please provide a module list!

#2

snicers - May 13, 2009 - 14:13

I'll get it together. What I'm wondering: I can see the FUpload field and below the imagefield upload...

#3

snicers - May 15, 2009 - 09:52

on the live site I don't get the error messag. I susspose it is a apache / php setting causing the error as all modules are the same. Sorry for bothering.

#4

grandcat - May 15, 2009 - 12:48
Status:active» fixed

#5

System Message - May 29, 2009 - 12:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#6

pallard - October 5, 2009 - 22:32
Status:closed» active

I get this same error message. Except I have working fupload modules on the same server. I don't think this bug is just related to the php settings. The error comes in putting the images from the fupload module into the filefield for the content type. I can individually put the images into the file field but not a mass upload through the fuploader. any thoughts would be appreciated.
Cheers.

#7

aspooner - October 15, 2009 - 10:50

I getting the same mesage using the fupload field, and the same behaviour as pallard #6
error message:
****
* Image team_1.gif added.
* Image trip_1.gif added.
* Image united_1.gif added.

warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/sites/mysite.com/public_html/sites/all/modules/image_fupload/image_fupload_imagefield/image_fupload_imagefield.module on line 388.
*****
I have one filefield, one imagefield, and one fupload (multiple) types defined for this node
Modules installed(sorry about the length):

ACL 6.x-1.0
Forum Access 6.x-1.0
Content 6.x-2.5
Content Copy 6.x-2.5
Content Permissions
Fieldgroup 6.x-2.5 Create display groups for CCK fields.
Depends on: Content (enabled)
FileField 6.x-3.1 Defines a file field type.
Depends on: Content (enabled)
Required by: FileField Meta (enabled), Image FUpload (CCK) (enabled), ImageField (enabled)
FileField Meta 6.x-3.1 Add metadata gathering and storage to FileField.
Depends on: FileField (enabled), getID3() (enabled), Content (enabled)
Image FUpload (CCK) 6.x-3.0-rc2 Allows uploading several images all at once to ImageField module
Depends on: Image FUpload (enabled), Content (enabled), FileField (enabled), ImageField (enabled), ImageCache (enabled), ImageAPI (enabled)
ImageField 6.x-3.1 Defines an image field type.
Depends on: Content (enabled), FileField (enabled)
Required by: Image FUpload (CCK) (enabled)
Location CCK 6.x-3.1-rc1 Defines a Location field type.
Depends on: Location (enabled), Content (enabled)
Node Reference 6.x-2.5 Defines a field type for referencing one node from another.
Depends on: Content (enabled), Text (enabled), Option Widgets (enabled)
Number 6.x-2.5 Defines numeric field types.
Depends on: Content (enabled)
Option Widgets 6.x-2.5 Defines selection, check box and radio button widgets for text and numeric fields.
Depends on: Content (enabled)
Required by: Node Reference (enabled), User Reference (enabled)
Phone - CCK 6.x-2.9 The phone module allows administrators to define a CCK field type for phone numbers.
Depends on: Content (enabled)
Text 6.x-2.5 Defines simple text field types.
Depends on: Content (enabled)
Required by: Node Reference (enabled), User Reference (enabled)
User Reference 6.x-2.5 Defines a field type for referencing a user from a node.
Depends on: Content (enabled), Text (enabled), Option Widgets (enabled)
Core - optional
Enabled Name Version Description
Enabled Name Version Description
Aggregator 6.14 Aggregates syndicated content (RSS, RDF, and Atom feeds).
Blog 6.14 Enables keeping easily and regularly updated user web pages or blogs.
Blog API 6.14 Allows users to post content using applications that support XML-RPC blog APIs.
Book 6.14 Allows users to structure site pages in a hierarchy or outline.
Color 6.14 Allows the user to change the color scheme of certain themes.
Comment 6.14 Allows users to comment on and discuss published content.
Required by: Forum (enabled), Tracker (enabled), Advanced Forum (enabled), Forum Access (enabled)
Contact 6.14 Enables the use of both personal and site-wide contact forms.
Content translation 6.14 Allows content to be translated into different languages.
Depends on: Locale (disabled)
Database logging 6.14 Logs and records system events to the database.
Forum 6.14 Enables threaded discussions about general topics.
Depends on: Taxonomy (enabled), Comment (enabled)
Required by: Advanced Forum (enabled), Forum Access (enabled)
Help 6.14 Manages the display of online help.
Locale 6.14 Adds language handling functionality and enables the translation of the user interface to languages other than English.
Required by: Content translation (disabled)
Menu 6.14 Allows administrators to customize the site navigation menu.
Required by: Devel (disabled), Theme developer (disabled)
OpenID 6.14 Allows users to log into your site using OpenID.
Path 6.14 Allows users to rename URLs.
PHP filter 6.14 Allows embedded PHP code/snippets to be evaluated.
Ping 6.14 Alerts other sites when your site has been updated.
Poll 6.14 Allows your site to capture votes on different topics in the form of multiple choice questions.
Profile 6.14 Supports configurable user profiles.
Search 6.14 Enables site-wide keyword searching.
Required by: Location Search (disabled)
Statistics 6.14 Logs access statistics for your site.
Syslog 6.14 Logs and records system events to syslog.
Taxonomy 6.14 Enables the categorization of content.
Required by: Forum (enabled), GMap Taxonomy Markers (disabled), Advanced Forum (enabled), Forum Access (enabled)
Throttle 6.14 Handles the auto-throttling mechanism, to control site congestion.
Tracker 6.14 Enables tracking of recent posts for users.
Depends on: Comment (enabled)
Trigger 6.14 Enables actions to be fired on certain system events, such as when new content is created.
Update status 6.14 Checks the status of available updates for Drupal and your installed modules and themes.
Upload 6.14 Allows users to upload and attach files to content.
Core - required
Enabled Name Version Description
Enabled Name Version Description
Block 6.14 Controls the boxes that are displayed around the main content.
Filter 6.14 Handles the filtering of content in preparation for display.
Node 6.14 Allows content to be submitted to the site and displayed on pages.
System 6.14 Handles general site configuration for administrators.
User 6.14 Manages the user registration and login system.
Development
Enabled Name Version Description
Enabled Name Version Description
Devel 6.x-1.18 Various blocks, pages, and functions for developers.
Depends on: Menu (enabled)
Required by: Theme developer (disabled)
Devel generate 6.x-1.18 Generate dummy users, nodes, and taxonomy terms.
Required by: Location Generate (disabled)
Devel node access 6.x-1.18 Developer block and page illustrating relevant node_access records.
Location Generate 6.x-3.1-rc1 Bulk assign random latitude and longitudes to nodes.
Depends on: Devel generate (disabled), Location (enabled)
Performance Logging 6.x-1.18 Logs detailed and/or summary page generation time and memory consumption for page requests.
Theme developer 6.x-1.18 Essential theme API information for theme developers
Depends on: Devel (disabled), Menu (enabled)
Image
Enabled Name Version Description
Enabled Name Version Description
Image FUpload (image) 6.x-3.0-rc2 Allows uploading several images all at once to image module
Depends on: Image FUpload (enabled), Image (missing)
ImageCache
Enabled Name Version Description
Enabled Name Version Description
ImageAPI 6.x-1.6 ImageAPI supporting multiple toolkits.
Required by: ImageCache (enabled), ImageCache UI (enabled), Image FUpload (CCK) (enabled), Imagecache Profile Pictures (enabled)
ImageAPI GD2 6.x-1.6 Uses PHP's built-in GD2 image processing support.
ImageAPI ImageMagick 6.x-1.6 Command Line ImageMagick support.
ImageCache 6.x-2.0-beta10 Dynamic image manipulator and cache.
Depends on: ImageAPI (enabled)
Required by: Image FUpload (CCK) (enabled), Imagecache Profile Pictures (enabled), ImageCache UI (enabled)
Imagecache Profile Pictures 6.x-1.1 Utilizes imagecache presets for user profile pictures.
Depends on: ImageCache (enabled), ImageAPI (enabled)
ImageCache UI 6.x-2.0-beta10 ImageCache User Interface.
Depends on: ImageCache (enabled), ImageAPI (enabled)
Location
Enabled Name Version Description
Enabled Name Version Description
GMap 6.x-1.1-rc1 Filter to allow insertion of a google map into a node
Required by: GMap Location (enabled), GMap Macro Builder (disabled), GMap Taxonomy Markers (disabled), Location Search (disabled)
GMap Location 6.x-1.1-rc1 Display location.module information on Google Maps
Depends on: GMap (enabled), Location (enabled)
GMap Macro Builder 6.x-1.1-rc1 UI for building GMap macros.
Depends on: GMap (enabled)
GMap Taxonomy Markers 6.x-1.1-rc1 Taxonomy based markers
Depends on: Taxonomy (enabled), GMap (enabled)
Location 6.x-3.1-rc1 The location module allows you to associate a geographic location with content and users. Users can do proximity searches by postal code. This is useful for organizing communities that have a geographic presence.
Required by: GMap Location (enabled), Location Add Another (enabled), Location CCK (enabled), Location Fax (enabled), Location Generate (disabled), Node Locations (enabled), Location Phone (enabled), Location Search (disabled), User Locations (disabled)
Location Add Another 6.x-3.1-rc1 Allows you to quickly add locations directly from a node without having to click 'edit' first.
Depends on: Location (enabled), Node Locations (enabled)
Location Fax 6.x-3.1-rc1 Allows you to add a fax number to a location.
Depends on: Location (enabled)
Location Phone 6.x-3.1-rc1 Allows you to add a phone number to a location.
Depends on: Location (enabled)
Location Search 6.x-3.1-rc1 Advanced search page for locations.
Depends on: Search (disabled), Location (enabled), GMap (enabled)
Node Locations 6.x-3.1-rc1 Associate locations with nodes.
Depends on: Location (enabled)
Required by: Location Add Another (enabled)
User Locations 6.x-3.1-rc1 Associate locations with users.
Depends on: Location (enabled)
Organic groups
Enabled Name Version Description
Enabled Name Version Description
Organic groups 6.x-2.0 Enable users to create and manage groups. OG Views integration module is recommended for best experience.
Required by: Organic groups access control (enabled), Organic groups actions (enabled), Organic Groups Global Limits (enabled), Organic Groups Notifications (disabled), Organic groups Views integration (enabled)
Organic groups access control 6.x-2.0 Enable access control for private posts and private groups.
Depends on: Organic groups (enabled)
Organic groups actions 6.x-2.0 Provides actions for use with Organic Groups and Trigger.
Depends on: Organic groups (enabled)
Organic Groups Global Limits 6.x-1.1 Sets maximum limits for group membership and ownership.
Depends on: Organic groups (enabled)
Organic Groups Notifications 6.x-2.0 Allows users to receive notifications and subscribe to group content.
Depends on: Organic groups (enabled), Notifications (missing), Notifications_content (missing), Notifications_lite (missing), Messaging (missing), Token (disabled)
Organic groups Views integration 6.x-2.0 Highly recommended.. Use Views to search and display organic groups.
Depends on: Organic groups (enabled), Views (enabled)
Other
Enabled Name Version Description
Enabled Name Version Description
Advanced Forum 6.x-1.1 Enables the look and feel of other popular forum software.
Depends on: Forum (enabled), Author Pane (enabled), Taxonomy (enabled), Comment (enabled)
Advanced help 6.x-1.2 Allow advanced help and documentation.
Required by: Advanced help example (disabled)
Advanced help example 6.x-1.2 A example help module to demonstrate the advanced help module.
Depends on: Advanced help (enabled)
Author Pane 6.x-1.1 Gathers information from user related contrib modules into one template.
Required by: Advanced Forum (enabled)
getID3() 6.x-1.2 getID3() extracts useful information from multimedia file formats.
Required by: FileField Meta (enabled)
Image FUpload 6.x-3.0-rc2 Allows uploading several images all at once using swfUpload
Required by: Image FUpload (image) (disabled), Image FUpload (CCK) (enabled)
Node Map 6.x-1.3 Locates the node on a map provided by !Yahoo maps.
Token 6.x-1.12 Provides a shared API for replacement of textual placeholders with actual data.
Required by: Organic Groups Notifications (disabled), TokenSTARTER (disabled), Token actions (disabled)
Token actions 6.x-1.12 Provides enhanced versions of core Drupal actions using the Token module.
Depends on: Token (disabled)
TokenSTARTER 6.x-1.12 Provides additional tokens and a base on which to build your own tokens.
Depends on: Token (disabled)
Transliteration 6.x-2.1 Provides transliteration for UTF-8 text input and sanitizes file names.
Views
Enabled Name Version Description
Enabled Name Version Description
Views 6.x-2.6 Create customized lists and queries from your database.
Required by: Organic groups Views integration (enabled), Views exporter (enabled), Views UI (enabled)
Views exporter 6.x-2.6 Allows exporting multiple views at once.
Depends on: Views (enabled)
Views UI 6.x-2.6 Administrative interface to views. Without this module, you cannot create or edit your views.
Depends on: Views (enabled)

#8

narf - November 14, 2009 - 11:19

I'm having this problem too and I can't find a solution. Can anyone help?

This is the error message I get wen trying to upload just one image using fupload:

warning: Parameter 1 to file_validate_is_image() expected to be a reference, value given in /mnt/u6/services/http/users/m/marcobar/level84/sites/all/modules/image_fupload/image_fupload.module on line 260.
warning: array_merge() [function.array-merge]: Argument #2 is not an array in /mnt/u6/services/http/users/m/marcobar/level84/sites/all/modules/image_fupload/image_fupload.module on line 260.
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /mnt/u6/services/http/users/m/marcobar/level84/sites/all/modules/image_fupload/image_fupload.module on line 260.

Hope someone can help me. I'm relatively new to drupal and PHP but I've tried a few things without any success.

Thanks!

#9

DMacpherson - November 26, 2009 - 03:03

Deleted

#10

DMacpherson - November 26, 2009 - 03:03

Deleted

#11

narf - November 30, 2009 - 07:01

I switched servers and it worked. I noticed that php is currently 5.2.8 and it was 5.3 when it failed to work. I guess this was just another PHP 5.3 problem. I hope my new host doesn't decide to suddenly change to PHP 5.3 else I'll be in serious trouble.

PHP 5.3 = problems with modules as of now!

 
 

Drupal is a registered trademark of Dries Buytaert.