Odd Error Message With /incoming Files
Permalink
When I try to upload a file via the "Add Incoming" method, I get this wierd error every time:
Ironically, Concrete5 is having an error displaying an error.
The file I am trying to upload is a 0.725 MB .zip file. A .zip file is allowed in my file types.
I have cleared the C5 cache too.
I edited my C5 site .htaccess to include these lines in hope that it was an upload error, but it didn't change anything.
Attached is a screenshot of the uploader page.
{"error":{"message":"An error occurred while processing this request."},"errors":["An error occurred while processing this request."]}
Ironically, Concrete5 is having an error displaying an error.
The file I am trying to upload is a 0.725 MB .zip file. A .zip file is allowed in my file types.
I have cleared the C5 cache too.
I edited my C5 site .htaccess to include these lines in hope that it was an upload error, but it didn't change anything.
<IfModule mod_php5.c> php_value post_max_size 2000M php_value upload_max_filesize 2000M php_value memory_limit 3000M php_value max_execution_time 259200 php_value max_input_time 259200 php_value session.gc_maxlifetime 1200 </IfModule>
Attached is a screenshot of the uploader page.
I am using version 5.7.5.1.
Drag and drop does not work on that .zip file. The file was uploading, but C5 canceled it.
It works on smaller files, though.
Drag and drop does not work on that .zip file. The file was uploading, but C5 canceled it.
It works on smaller files, though.
Did you check your server's PHP error log? Some servers do not allow you to change these types of variables in the .htaccess file. If that is the case you should have an over limit error or something in the logs.
Do I really need the .htaccess edit? Is it helping?
Is it ok if I attach my log file? I got it from my /logs location, but I don't know if it has any sensitive information in it.
Is it ok if I attach my log file? I got it from my /logs location, but I don't know if it has any sensitive information in it.
We have no way to tell what is helping and what is not, try the import and when it fails look at the error log right away and you should be able to see what is going on.
Those .htaccess lines may not be effecting anything, if your server is not running mod_php - your host could be running php cgi/fcgi.
Why not find out what your actual post_max_size and upload_max_filesize are? Take a look in your system settings, or create a /phpinfo.php file:
Then check it yourself:
http://yoursite.com/phpinfo.php...
Why not find out what your actual post_max_size and upload_max_filesize are? Take a look in your system settings, or create a /phpinfo.php file:
<?php phpinfo();
http://yoursite.com/phpinfo.php...
I tried to duplicate the problem without success. Allowing zip files and then adding one to the incoming file folder works as expected.
What version of concrete5 are you using?
As a temporary alternative, does drag and drop or "Upload Files" work?