error on "Upload Multiple Files" option
Permalink
i get the following error when i try upload multiple files
"An unknown error occurred while uploading the file. Please check that file uploads are enabled, and that your file does not exceed the size of the post_max_size or upload_max_filesize variables. File Uploads: 1 Max Upload File Size: 32M Post Max Size: 32M"
this issue is happening on 5 of my sites since i updated them from 3.1.1 i think to 3.2 anyone have any ideas?
on one of the sites i fixed the issue by just creating a new admin account but thats not working on the other sites where im having the problem.
iv emptied cache tried putting the site into maintenance mode
iv made sure that the permissions is correct in site map view for the file manager allowing admin access???
i have created a test login if anyone would like to try and help me solve this issue
interestingly you can upload the files one at a time?
could it be something on a my server that changed? and not actually have anything to do with the individual concrete5 installs?
"An unknown error occurred while uploading the file. Please check that file uploads are enabled, and that your file does not exceed the size of the post_max_size or upload_max_filesize variables. File Uploads: 1 Max Upload File Size: 32M Post Max Size: 32M"
this issue is happening on 5 of my sites since i updated them from 3.1.1 i think to 3.2 anyone have any ideas?
on one of the sites i fixed the issue by just creating a new admin account but thats not working on the other sites where im having the problem.
iv emptied cache tried putting the site into maintenance mode
iv made sure that the permissions is correct in site map view for the file manager allowing admin access???
i have created a test login if anyone would like to try and help me solve this issue
interestingly you can upload the files one at a time?
could it be something on a my server that changed? and not actually have anything to do with the individual concrete5 installs?
looks like your php setup is limiting uploads to 32 megs.. if you're picking a bunch of files, they might easily add up to more than that.. ask you host if this max upload size can be bumped up.
this is the content of the error log after this issue
and these are the two lines in question from the php file?
any thoughts anyone?
[17-Sep-2009 15:34:42] PHP Warning: join() [<a href='function.join'>function.join</a>]: Invalid arguments passed in /home/whitedes/public_html/SUBSITES/johnferneley/concrete/tools/files/importers/uploaded.php on line 13 [17-Sep-2009 15:34:42] PHP Warning: join() [<a href='function.join'>function.join</a>]: Invalid arguments passed in /home/whitedes/public_html/SUBSITES/johnferneley/concrete/tools/files/importers/uploaded.php on line 15
and these are the two lines in question from the php file?
any thoughts anyone?
the total file size is way way less then 32mb
all the file im uploading are 60kb or so and even if i just try upload two of them i get the same issue.
all the file im uploading are 60kb or so and even if i just try upload two of them i get the same issue.
i could give someone access if they wanted to see if they could fix it? could it have something to do with upgrading? concrete5
did you echo all the variables?
might help to see whether there's anything useful in it or not..
print_r($_REQUEST);
might help to see whether there's anything useful in it or not..
sorry can you tell me where to put this line of code?
i know some stuff but when it comes to php i'm still learning.
thanks for your help
i know some stuff but when it comes to php i'm still learning.
thanks for your help
So i know it must be something with the server that was changed from one day to the next??? my host is stumped and cant figure it out, it was working and then one day it wasnt. even a fresh install fresh database and it doest do multiple uploads?
does anyone have any ideas what it could be... where to start looking?
thanks
does anyone have any ideas what it could be... where to start looking?
thanks
That It just gets stuck. I upgraded from 5.3.1 to 5.3.2. It's not the size either it was only 4 35kb files. This was working before upgrade, now when I attempt to upload more than one file my browser becomes unresponsive. I have to close out of the upload batch window thing with multiple clicks, once it's closed the browser goes back to normal speed. I had to upload all the files individually.
Just adding my two cents...
Just adding my two cents...
Have you tried watching what is happening via Firebug or Safari (resource tracker) as far as each upload and the response header from c5? this may show further information as to what is happening at least client side? There's heavy javascript involved here and I've experienced some problems with the mulitple file uploader myself at times..
if you have the time maybe you could join us on irc sometime so we could help you get this fixed asap. (irc.efnet.org #concrete5)
ecomatt is my name on irc...
An unknown error occurred while uploading the file. Please check that file uploads are enabled, and that your file does not exceed the size of the post_max_size or upload_max_filesize variables. File Uploads: 1 Max Upload File Size: 2M Post Max Size:
It will sometimes upload the first image, but then the error will come up. I am only uploading 100 KB files, and have ranged from trying to upload 20, all the way down to 2 or 3 at a time and it just won't work.
I updated the htaccess file with an updated post_max_filesize and upload_max_filesize and now this is the error that I got now:
An unknown error occurred while uploading the file. Please check that file uploads are enabled, and that your file does not exceed the size of the post_max_size or upload_max_filesize variables. File Uploads: 1 Max Upload File Size: 100M Post Max Size: 100M
It will sometimes upload the first image, but then the error will come up. I am only uploading 100 KB files, and have ranged from trying to upload 20, all the way down to 2 or 3 at a time and it just won't work.
I updated the htaccess file with an updated post_max_filesize and upload_max_filesize and now this is the error that I got now:
An unknown error occurred while uploading the file. Please check that file uploads are enabled, and that your file does not exceed the size of the post_max_size or upload_max_filesize variables. File Uploads: 1 Max Upload File Size: 100M Post Max Size: 100M
5.3.3 features a completely new multiple file uploader, are you still getting this error with it?
David
David
additionally you always have the option of creating files/incoming and FTPing multiple files to that directory in which case you choose from other location in the uploader, I've found this often works well when uploading a large amount of files.
David
David
[22-Oct-2009 22:39:32] PHP Warning: join() [<a href='function.join'>function.join</a>]: Invalid arguments passed in /mnt/stor1-wc2-dfw1/424145/436046/www.ywamassociates.com/web/content/concrete/tools/files/add_to_complete.php on line 13
[22-Oct-2009 22:39:32] PHP Warning: join() [<a href='function.join'>function.join</a>]: Invalid arguments passed in /mnt/stor1-wc2-dfw1/424145/436046/www.ywamassociates.com/web/content/concrete/tools/files/add_to_complete.php on line 15
[22-Oct-2009 22:39:32] PHP Warning: join() [<a href='function.join'>function.join</a>]: Invalid arguments passed in /mnt/stor1-wc2-dfw1/424145/436046/www.ywamassociates.com/web/content/concrete/tools/files/add_to_complete.php on line 15
Yes I am using the most current version of Concrete5
you mean 5.3.3.1, not 5.3.3 - right?
might be worth reupdating everything in /concrete directory.. sounds like something might be off in your install.
Can you recreate the problem on our demo servers athttp://getconcrete5.com/demo
?
might be worth reupdating everything in /concrete directory.. sounds like something might be off in your install.
Can you recreate the problem on our demo servers athttp://getconcrete5.com/demo
?
Hi there,
I have upgraded and it is still happening.
I initially thought that it was the htaccess file issue, so I created the htaccess with the settings of 20 MB
Here is the error:
An unknown error occurred while uploading the file. Please check that file uploads are enabled, and that your file does not exceed the size of the post_max_size or upload_max_filesize variables. File Uploads: 1 Max Upload File Size: 20M Post Max Size: 20M
I am uploading 5 files that are about 50KB each
You have seen my error logs above.
I just tried on your demo servers and it works fine.
I have upgraded and it is still happening.
I initially thought that it was the htaccess file issue, so I created the htaccess with the settings of 20 MB
Here is the error:
An unknown error occurred while uploading the file. Please check that file uploads are enabled, and that your file does not exceed the size of the post_max_size or upload_max_filesize variables. File Uploads: 1 Max Upload File Size: 20M Post Max Size: 20M
I am uploading 5 files that are about 50KB each
You have seen my error logs above.
I just tried on your demo servers and it works fine.
I tracked the log file errors down to the links in the overlay that appears after you upload files (assign file sets & edit properties).
I am also experiencing this same problem. It doesn't matter if you only upload a single 10kb file using the multiple upload function, it still fails with the default error message.
Multiple upload had previously worked my this server. It failed at some point in the recent past (not sure when).
Poking around I found the following:
importer.php has the following (line 7-13):
If you change E_PHP_FILE_ERROR_DEFAULT to another error type such as E_PHP_NO_FILE then when you're uploading multiple files, you'll get "Invalid File" rather than the default error message ("An unknown error occurred...")
I am also experiencing this same problem. It doesn't matter if you only upload a single 10kb file using the multiple upload function, it still fails with the default error message.
Multiple upload had previously worked my this server. It failed at some point in the recent past (not sure when).
Poking around I found the following:
importer.php has the following (line 7-13):
If you change E_PHP_FILE_ERROR_DEFAULT to another error type such as E_PHP_NO_FILE then when you're uploading multiple files, you'll get "Invalid File" rather than the default error message ("An unknown error occurred...")
Ok where do you check to see if it's enabled and why in the world wouldn't it be out of the box?
1
Hey guys,
does the multi uploader work again for you?
I still got the same error..
The problem occurs on two different servers, on 6 concrete installations. All of them C5 version 5.3.3.1. Some of them where updated, others are fresh installed with this version.
I checked the servers upload maximum and the filesizes, everything looks fine. Uploading large files with the single file uploader works fine.
If you solved the problem, i would appreciate your help..
greetz
dom
does the multi uploader work again for you?
I still got the same error..
The problem occurs on two different servers, on 6 concrete installations. All of them C5 version 5.3.3.1. Some of them where updated, others are fresh installed with this version.
I checked the servers upload maximum and the filesizes, everything looks fine. Uploading large files with the single file uploader works fine.
If you solved the problem, i would appreciate your help..
greetz
dom
I ended up moving servers that it worked on. I gave up on trying to use the Rackspace Cloud Servers as it just wasn't working on it.
..k.. but we are running our own servers.. so if we would know why this problem appears, we could fix the server configuration..
got a link to a phpinfo page and maybe an account to one of your c5 site?
if you've check the file size limits, and it's not working, then i'd guess that it's related to some kind of time limit.
look into max_execution_time and max_input_time, and try extending both of those to something really high.
look into max_execution_time and max_input_time, and try extending both of those to something really high.
I just checked my multi-upload function from my home connection and it appears that my multiple-upload problem "went away".
I have no idea why, in fact I thought I still had the problem (I just stopped using the multiple-upload function when it didn't work for me previously).
So now I'm curious to why it works. I'm unsure whether or not I tested the problem from my home connection previously. I don't think any server configurations where changed.
I'll check my work connection on Monday and see if I can once again get the problem - (could it have something to do with a network location?)
I have no idea why, in fact I thought I still had the problem (I just stopped using the multiple-upload function when it didn't work for me previously).
So now I'm curious to why it works. I'm unsure whether or not I tested the problem from my home connection previously. I don't think any server configurations where changed.
I'll check my work connection on Monday and see if I can once again get the problem - (could it have something to do with a network location?)
that's very unlikely.. You could have run into some connection problems but you would have seen that in other areas of c5 as well.
The multi file uploader doesn't do a lot of magic, it's just a flash calling a php script to receive and save the file.
Well, if you have a firewall or a wired flash version which blocks cookies it might be possible that this is computer related.. But that's hard to tell without being able to work on the computer, should be easy to find though. Disable firewall, use a different browser and you quickly know what causes the problem
The multi file uploader doesn't do a lot of magic, it's just a flash calling a php script to receive and save the file.
Well, if you have a firewall or a wired flash version which blocks cookies it might be possible that this is computer related.. But that's hard to tell without being able to work on the computer, should be easy to find though. Disable firewall, use a different browser and you quickly know what causes the problem
We're connected to iLight fiber at work (100Mbps / 1000Mbps) depending on how the packets are routed. Previously we were connected to Time Warner cable modems.
Server is located in an off-site datacenter.
Multiple uploads worked on this server at one time.
Stop working a few months ago (not sure when / no clear cause - although thinking back, it was around the time of the Time Warner -> iLight connection shift).
Now appear to work again from at least my home connection (Verizon DSL)
I'm unsure if anyone else is in the situation of having multiple-file uploads working and then suddenly stop working... with nothing else in C5 being affected. Anyone care to comment?
I abandoned this issue a while ago and now I'm really surprised multiple uploads work for me.
Server is located in an off-site datacenter.
Multiple uploads worked on this server at one time.
Stop working a few months ago (not sure when / no clear cause - although thinking back, it was around the time of the Time Warner -> iLight connection shift).
Now appear to work again from at least my home connection (Verizon DSL)
I'm unsure if anyone else is in the situation of having multiple-file uploads working and then suddenly stop working... with nothing else in C5 being affected. Anyone care to comment?
I abandoned this issue a while ago and now I'm really surprised multiple uploads work for me.
My webhost remembers watching me duplicate this problem from my home connection - so my network connection theory is out the window.
He says no php changes have been modified - but nightly patches and updates have been applied.
Here's what we're running at the moment:
Apache version 2.2.10
PHP version 5.2.6
cPanel Pro 1.0 (RC1)
He says no php changes have been modified - but nightly patches and updates have been applied.
Here's what we're running at the moment:
Apache version 2.2.10
PHP version 5.2.6
cPanel Pro 1.0 (RC1)
FYI: Another discussion on this topic is located here:http://www.concrete5.org/community/forums/usage/error_trying_to_upl...