WebsiteBaker Support (2.12.x) > Modules
OneForAll - Img upload [266] A file matching the name you entered already exists
dbs:
Yes, 3 entries at the same time, only one second different.
Red part is the same, since 30 December 2018.
I think also not plupload is the problem, it does what it should. If a pic is bigger as in config allowed: disallowed with red message.
jacobi22:
So, i think, i found a solution
the developers from PLUpload say's: its not realy clear with the chunk size, sometime, it works, sometimes not. If i understand everything correct, the code split the file into some parts with the defined chunk size, normalize in the case of very large images or if you have a bad connection and put all parts together after the upload
Defined chunk size in OFA was 1mb, defined Default Chunk Size in PLUpload is 204798 Bytes (overwritten from OFA), Filesize = 4mb, max_upload_size on the server = 40 Mb
that makes 4 parts with 1 mb for every part, the first part was uploaded, for the rest, you get the error "file already exist"
maybe, it has to do with the second step inside of OFA - build a thumbnail in a different folder, but i dont know.
In the PLUpload-Forum, some users reported, that they work with a chunk size of 5 Mb and a file size from 300 Mb without problem, but others have the same problems with the broken image
i use now the chunk size like my defined max_file_size in modify_item.php of OFA // Lines 694 + 695
Originalcode:
--- Code: --- max_file_size: '<?php echo $max_file_size; ?>mb',
chunk_size: '1mb',
--- End code ---
change to
--- Code: --- max_file_size: '<?php echo $max_file_size; ?>mb',
chunk_size: '<?php echo $max_file_size; ?>mb',
--- End code ---
maybe, somewhere in the code is a switch to disable the chunk function
P.S.: lastest version from PLUload has the same problems
i'm not sure - is this now a good solution or not, but maybe, it show's the way for Dietmar
dbs:
Nice (Y)
It's a workaround. Most people don't need it because the images should be so small as possible.
But for photographer or image sharer is it a easy and small change.
CodeALot:
--- Quote from: dbs on October 24, 2019, 12:41:37 PM ---Nice (Y)
It's a workaround. Most people don't need it because the images should be so small as possible.
But for photographer or image sharer is it a easy and small change.
--- End quote ---
That's where you're wrong. Most people DO need it. My clients want a userfriendly website. They don't know how to resize images and as a website builder, I think they should not have to bother with that.
They take pictures with a smartphone or digital camera and those images are always too big for OFA+Plupload. That's why OFA offers to resize the images. But if that doesn't work like it should, it's useless.
Thanks all for thinking about this and the workaround. I'll give that a go! (Y) (Y)
dbs:
I agree. Have also some users who tried to upload >= 3MB files.
Navigation
[0] Message Index
[*] Previous page
Go to full version