Closed (fixed)
Project:
SWFUpload
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2010 at 15:40 UTC
Updated:
21 Mar 2012 at 15:49 UTC
Jump to comment: Most recent file
Comments
Comment #1
castawaybcn commentedI kept on getting this errors until I rolled back to jqp 6.x-2.0:
in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /path/to/my/install/sites/all/modules/jqp/jqp.admin.inc on line 153.And the library was never installed properly so I could not use swfupload.
And I still can't, but I think that deserves a different issue as now the library is properly recognized...
Comment #2
botanik commentedYes, during SWFUpload library installation I get this error, I'am fix it in jqp.admin.inc - #714910: Can`t install new library .. just remove isset function and library install correctly. May be maintainers fix this error by another way, but this issue about another bug.
Comment #3
skilip commentedI've rolled out a patch for this @ #714910: Can`t install new library. Hope this patch fixes this!
Comment #4
castawaybcn commentedyou are right botanik, my bad.
I was doing too many things at once and posted in the wrong place. Sorry.
Comment #5
skilip commentedComment #6
kiliweb commentedDoes anyone succeed to make Transliteration module (http://drupal.org/project/transliteration) works with SWFUpload ?
Thanks
Comment #7
eugenmayer commentedkillweb should be easy if the new thumbnail-generation method is in place.
Comment #8
kiliweb commentedI finally add the suport of transliteration by myself, directly inside the SWFUpload module by using the transliteration documentation.
Thanks.
Comment #9
patrickroma commented@kiliweb: Could you please describe how you solved it? We have the same problem here...
Comment #10
dreipunktnull commented@kiliweb: I'd be interested in that too as I can't get it to work either. I tried to change the filename and -path as suggested in the readme using transliteration.module in hook_swfupload but without success. Thanks in advance.
Edit: Never mind, I just found out how to do it. It's very simple.
Comment #11
patrickroma commented@dreipunktnull: We tried your solution but without success. A file with the name äöü ß].jpg becomes with this method only ß ].jpg... Does the above way really work for you?
Comment #12
dreipunktnull commented@patrickroma: Yes, it works even with filenames containing umlauts and brackets. I tested with a file called 'testÄööß]]].jpg' and it was saved under 'testaeoeoess.jpg'. Maybe you should try to set a concrete language instead of default language. How did you implement my solution?
Comment #13
queenvictoria commentedThanks @dreipunktnull I've created a patch using the method in #10. My situation is just spaces/caps so I've not tested special characters. And I've patch SWFUpload module.
Comment #14
sin commented#10 works for me, thanks!
Comment #15
pfrillingqueenvictoria's patch in #13 worked for me.