Uploading error for when uploading multiple files

Permalink 1 user found helpful
I have been using C5 on a number of sites using Windows servers without any major issues.

I am currently building my first C5 site on a unix server.

For some reason, if I try uploading multiple files, I am getting an "Upload error 403" after each upload.

If I upload a single file it uploads fine without error.

The files folder has permissions set to 777.

Any ideas on what might be going wrong or may need to be changed.

Thanks in advance.

digievo
 
sabbosh replied on at Permalink Reply 2 Attachments
I am having the same problem actually! The hosting server is Linux and I somehow can't upload multiple files! My client is using Mac and was having this error from her machine! I tried to do the same thing from my Win Machine but the same error occurred! We occasionally have an error when uploading a single file but the multiple uploads never seem to work. I don't get an error when I do this from my local dev web server.

I have attached a snapshot of the error message we get! The file sizes by the way are all under 100KB. What could be wrong?!!!
jbx replied on at Permalink Reply
jbx
Do you guys have access to the server error_logs? If so, have a look there while attempting an upload, it may give you a better idea of what is going on...

Jon
sabbosh replied on at Permalink Reply
Hi Jon,

The error I am getting is "An unknown error occurred while uploading the file..." as you can see from the image I attached in my previous post. I just set the file permissions on /files to 777 to see if this has anything to do with permissions but the same problem is still happening...

How do you access the server error_log? Where is this stored? Also, is there a way to access this info from the Dashboard itself?

Regards,
sabbosh
jbx replied on at Permalink Reply
jbx
Depends on your server. Apache error_logs get stored in various places. Do you have access to your server via ssh?
sabbosh replied on at Permalink Reply
Hi Jon,

No I don't have access to the server via ssh! I am not too familiar with ssh connections but I know that you can use Filezilla to establish ssh connection so I gave it a go but it didn't work!! I think I need different set of username and password as the one I used is for the ftp access. Do you think I should contact the hosting company about this?

Would there be any other ways to access the log? Do you know where is it stored under Apache? I don't seem to understand why a single file uploads fine sometimes but multiple files upload never works!!! It doesn't look like permissions issue to me so what is it then??

Thanks heaps!
sabbosh
Mnkras replied on at Permalink Reply
Mnkras
did you set the chmod 777 recursively?
sabbosh replied on at Permalink Reply
Hi Mnkras,

Yes I did change it recursively so all sub folders have also 777 permissions.

Could there be any other reasons for this?
sabbosh replied on at Permalink Reply
Hi guys,

Are there any database settings or changes that need to be made? The only change I made to the database on the hosting site is converting the table names to upper case. Everything seem to work fine apart from this feature.

BTW, I am using Concrete 5.3.3.1 and I have no problems uploading multiple images on my local server.

Any help will be highly appreciated.
sabbosh replied on at Permalink Reply
Hi guys,

I contacted the hosting company and they found the problem! This was caused due
to the suhosin limits enabled for the domain. They disabled it and uploading multiple files now works fine.

Cheers!!
digievo replied on at Permalink Reply
digievo
Hi Sabbosh,

Excuse my ignorance, but what are "suhosin limits"?

Did the hosting company provide any details on what they did? Did they just disable suhosin

Thanks
lordrobe replied on at Permalink Reply
I have the same error. When uploading multiple files, i get on every single file in the upload window an error 403. Try to change permissions, but they are correct. I tried to output an error log, but php/apache doesn't output any related error on this. :(
foster replied on at Permalink Reply
foster
I remember getting the "upload error 403" for uploading multiple files, once. Turns out I was getting the error because I had protected the site with a .htaccess password. Evidently that breaks the Flash uploader.

-Foster
lordrobe replied on at Permalink Reply
thanks @foster
but this is not my problem.
I mentioned that i have another installation of concrete5. On the same shared webhost and server, same version of c5. And on this installation everything works. :(

Where is the config for multiple files?
foster replied on at Permalink Reply
foster
Yeah - I put that out there just in case someone else came across this thread and could be helped by it. Sounds like something is up with the Flash uploader for you, but I don't know much about how it works. There is a folder concrete/flash/ that may have the files you need - I would consider copying that folder from the working version of C5 and see if that helps...

-Foster
lordrobe replied on at Permalink Reply
i got the error!!

The upload script does'nt run on special characters (umlaut).
The domain was like müz.... i renamed it to muez and the uploader runs like a charm!
foster replied on at Permalink Reply
foster
Hurray!