By chefarov on
Hello All.
After Upgrading a site from 5.x to 6.x version I cannot attach Files over 1MB to nodes for some strange reason.
I Have configured/checked:
1) The php settings in php.ini to be 60MB (confirmed by the phpinfo() output)
2) The drupal settings in .htcaccess and settings.php files where I have also configured max upload size to be 60MB
3) The admin/settings/uploads where it says:
(translated) -> "PHP settings limit the maximum size of uploaded file at 60MB"
Any Idea what's wrong?
What I should Check?
P.S Administrator also CannoT attach files over 1MB.
Comments
All the sites of the same
All the sites of the same server, have the same problem?
A free society is one where it is safe to be unpopular.
-- Adlai Stevenson
Upload file size
Hello, try using the following in your .htaccess file (in drupal directory).
php_value upload_max_filesize 60M
php_value post_max_size 60M
More help is available in the article http://drupal.org/node/97193
Hope this helps.
Hello all and thanks for the
Hello all and thanks for the replies.
Firstly I have this problem only with the specific website on this server. Other drupal installations work fine.
Secondly I have already set these values (
php_value upload_max_filesize 60M
php_value post_max_size 60M
)
in my .htaccess file as I mention above
Can I follow any other debug process?
Thanks
File size
Hello, it appears that you tried multiple options. As a test and part of debugging, you may reset back to the default values and then increase the values with small increment (as 5, 10, 15, etc). Test if any of the increased values work. If none of the increment works, then the problem will be with your installation files. On the other hand, you may find the solution by following this process.
Backing up your database and doing a clean re-install on all components may the last option if everything fails. Be careful to follow all steps for backup and recovery if you need to do so. Incorrect backup and recovery may lead to lost contents, so please take extra caution.