File Manager Problem

Permalink
I have 4 installations of Concrete5 and for some reason today the File Manager Quit working today on one of them. When I go into File Manager it says no files found and when I try to upload I get the following error message:

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: 8M

The file I was trying to upload was a jpg that was under 10k and 'jpg' is on the approved files list. I am using 5.3.3.1. I've tried playing around with the permissions on the file directory and that didn't seem to make any difference. Any help or suggestions would be greatly appreciated.

pixo
 
pixo replied on at Permalink Reply
pixo
Anyone have any ideas?
kevinbrown04 replied on at Permalink Reply
I don't know the answer but it is something to do with the php.ini file and not a concrete5 problem.
I just upgraded my centos5 box with Zend Server CE and it broke at that point. Im still trying to fix this but I'm running out of ideas.
kevinbrown04 replied on at Permalink Reply
Same problem here. Zend Server ce broke it and i just cant make it work
ryan replied on at Permalink Reply
ryan
Can you paste the contents of your environment info from Dashboard > Settings > Debug

That should give me an idea of what's going on with the settings on the server.
synite replied on at Permalink Reply
Was there a solution? I am facing the same issues also..
pixo replied on at Permalink Reply
pixo
I did get this fixed but I don't recall what the answer was. I would start by checking the /file folder permissions. Then make sure your .htaccess and php.ini file doesn't have something that is restricting the file uploads.
synite replied on at Permalink Reply 1 Attachment
I juz got it fix too. Its the server php settings. We have to make sure that the file size is smaller than the upload limit and also the post file limit.

You can change your setting by adding these lines to your php.ini in your root folder.

; Maximum allowed size for uploaded files.
upload_max_filesize = 500M
post_max_size = 600M
file_uploads = On
max_execution_time = 600000000

if there are no files, you can create and upload a php.ini into the root folder.

Ive also uploaded a test.php file where it can show you your PHP settings.

Hope it helps...
jmorales replied on at Permalink Reply
This has been happening to me as well. However, my server settings are correct in the sense that they shouldn't cause this. File uploads is set to true (1), 100M for php post size, /tmp/ is set also... yet this keeps popping up... I just read your post about permissions, reminds me about chmod, will make sure files folder in root c5 installation has 775 recursing to all its subfolders and try this again... if this doesn't solve it, I will abandon ship...

*edit* I'm abandoning ship... it didn't work. My form uploads keep spewing that error, however, file manager does not.
jmorales replied on at Permalink Reply
Got it! Server had set /tmp/ for uploads directory, however the root of the domain didn't have that folder created for some god forsaken reason, and the server didn't create it when in php settings in whm I changed it from a blank field into /tmp/

So there it was... once I created the folder, my custom uploads started working just as it was intended and coded.
nesoor replied on at Permalink Reply
nesoor
Hey jmorales, Could you explain me in details how you fixed it? :)