Closed (fixed)
Project:
Image FUpload
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2008 at 16:29 UTC
Updated:
5 Sep 2010 at 23:02 UTC
Version: $Id: image_fupload.module,v 1.23 2008/09/18 18:08:10 grandcat Exp $
warning: implode() [function.implode]: Invalid arguments passed in /home/mysite/public_html/sites/all/modules/image_fupload/image_fupload.module on line 172.
this is the error I am getting when uploading images. They upload fine and there are no apparent problems after that. The display of the error message above seems to be the only quirk.
-cota
Comments
Comment #1
davestormuk commentedEncountered this error, trying to work out what's causing it.
Comment #2
sabalaskey commentedI get the the following red text intermittently:
warning: implode() [function.implode]: Invalid arguments passed in /home/mysite/public_html/sites/all/modules/image_fupload/image_fupload.module on line 172.
But the images do upload and are then placed in my gallery as expected. I am on Drupal 6.6. I am also running the ImageMagick toolkit, so perhaps that makes a difference?
Comment #3
hugoview commentedI also got the same problem:
warning: implode() [function.implode]: Invalid arguments passed in /public_html/sites/all/modules/image_fupload/image_fupload.module on line 172.
Although it showed error, the images still added in my image gallery. However it didn't show the "next step" button.
There is a interesting situation that the problem occur when I use IE(6.0) to upload mass images.
If I use Firefox(3.0) to upload mass images, everything be all right.
Comment #4
knilob commentedThis error popped up when I uploaded an image in Internet Explorer 7. The image uploaded fine, but I still don't like seeing any errors. I know there are swfUpload issues with IE7, so maybe that's the cause.
It's weird how it's referencing line 172 of the module though. Looking at that line, it seems to be a problem with sending the status message back to swfUpload.
Comment #5
grandcat commentedI will look for it next time, but I didn't notice this problem yet, because I'm using FF3 for testings.
Comment #6
grandcat commentedNow fixed. Found that bug, but really strange why it didn't appear using firefox.
Will be fixed for rc2 and dev.
Comment #7
mzenner commentedgrandcat can you tell what the bug was? thanks
Comment #8
grandcat commentedfunction.implode doesn't like to get NULL as an input. This was the case if everything went right. But using Firefox, this error message generated by php, didn't appear. Why, I don't know. But on IE, it did, that's all I know.
Comment #9
wendyschuppen commentedhello,
thanks very much for this module, works well only i also get this "implode" error in i.expl. 7.
I'm new to this but what does "rc2" mean?? Is there a version with this bug fixed available somewhere?
thanx,
Comment #10
grandcat commentedYes, in version 6.x-2.1, it should be fixed.
Comment #12
Garnerin commentedSorry. No. Obviously, it isn't fixed. I've tried with 6.x-2.2 and SWFUpload v2.2.0 Beta 5 Core. I still get that message printed in my event logs. And the message is not weighted as a warning but as an error.
implode() [<a href='function.implode'>function.implode</a>]: Bad arguments. in /var/www/vhosts/mysite.com/httpdocs/sites/all/modules/image_fupload/image_fupload.module in line 176.Furthermore, only the first of all selected images is correctly uploaded and integrated as a node. Whenever the second image seems to have finished uploading, an error message appears telling me something about a validation check failed and I shall inform my website admin in case of the message continues displaying - and it does. So now, I'm informed by me... and I'm forwarding this information to you.
BTW, I'm running FF3. I'm going to check it with IE7 and report what I've found out.
Comment #13
Garnerin commentedHum... No problems when running IE7.
Comment #14
grandcat commentedValidation error is a miss setting, have a look at this issue to fix it:
http://drupal.org/node/353915#comment-1181907
The function implode errors could be a result of this setting. If not, please inform, and some additional screenshots and source code are needed.
Comment #15
Garnerin commentedYes, indeed, that helped. Thanks a lot, now it seems to function both with IE and FF3 as well. I'll keep on testing for a few days; if I won't report any incident anymore within the next... say two weeks, then I got the solution. Thank you again.
Comment #16
grandcat commentedIt will help, you'll see. Enjoy this module ;)
Comment #18
will_in_wi commentedJust a note, I got this error in the logs and tracked it down to the max upload size in php being smaller than the files. This actual error is due to the code passing NULL rather than the actual error message. On another note, there should probably be a check for the file being larger than the php upload size rather than just failing silently.