Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By tinem on
Suddently I get this error and can't figure out what it is? Have been searching forum and it's mentioned something about a tmp folder should be emptied but I don't know where this folder is?
warning: file_put_contents() [function.file-put-contents]: Only 0 of 195334 bytes written, possibly out of free disk space in /home/www/tinemuller.dk/drupal/sites/all/modules/devel/devel_themer.module on line 593.
Comments
To find out where PHP's temp
To find out where PHP's temp directory is upload and run a PHP script containing a
<?php phpinfo(); ?>
line. (Usually it is /tmp).Drupal's temp directory is specified in the admin/settings/file-system page. These two may be the same or different.
If you have shell access you can see whether one of your file systems (such as /home or /tmp) is running out of space by running
df
. Otherwise ask your host about the error.Solved it
Hi, i had the same problem. I solved it by running Cron.
Similar error on Drupal 7
I had a similar error on d7, which was caused by my file system settings pointing to the wrong directory. I edited them at /admin/config/media/file-system and then ran cron.
see phpinfo();
see phpinfo();
Line: soap.wsdl_cache_dir
i need this for my webhosting: /var/tmp