We can not upload files anymore. If we upload files I got the following errors in the drupal log. Who can help me to solve this problem.

Type file
Date Wednesday, August 5, 2009 - 09:02
User administrator
Location http://www.connectinternational.nl/?q=upload/js
Referrer http://www.connectinternational.nl/?q=node/395/edit
Message Upload Error. Could not move uploaded file (/tmp/phpAfVENP) to destination (/tmp/tmp_MdKJVQ).
Severity notice
Hostname 193.141.255.33

Type php
Date Wednesday, August 5, 2009 - 09:02
User administrator
Location http://www.connectinternational.nl/?q=upload/js
Referrer http://www.connectinternational.nl/?q=node/395/edit
Message move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpAfVENP' to '/tmp/tmp_MdKJVQ' in /home/ciqs/public_html/includes/file.inc on line 238.
Severity error
Hostname 193.141.255.33

Type php
Date Wednesday, August 5, 2009 - 09:02
User administrator
Location http://www.connectinternational.nl/?q=upload/js
Referrer http://www.connectinternational.nl/?q=node/395/edit
Message move_uploaded_file(/tmp/phpAfVENP) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/ciqs/public_html/includes/file.inc on line 238.
Severity error
Hostname 193.141.255.33

Comments

dman’s picture

Could be your user account does not have access to /tmp on the server.
visit /admin/settings/file-system and change /tmp to sites/default/tmp

snuffelo’s picture

Thanks for your quick respons but this is not the solution.

I got the following msg from our provider:
Premature end of script headers: /home/ciqs/public_html/index.php. Here the script.
<?php
// $Id: index.php,v 1.91 2006/12/12 09:32:18 unconed Exp $

/**
* @file
* The PHP page that serves all page requests on a Drupal installation.
*
* The routines here dispatch control to the appropriate handler, which then
* prints the appropriate page.
*/

require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);

$return = menu_execute_active_handler();

// Menu status constants are integers; page content is a string.
if (is_int($return)) {
switch ($return) {
case MENU_NOT_FOUND:
drupal_not_found();
break;
case MENU_ACCESS_DENIED:
drupal_access_denied();
break;
case MENU_SITE_OFFLINE:
drupal_site_offline();
break;
}
}
elseif (isset($return)) {
// Print any value (including an empty string) except NULL or undefined:
print theme('page', $return);

}

drupal_page_footer();

snuffelo’s picture

Status: Active » Fixed

The problem is fixed by cleaning the /tmp file. A lot of statistical data was uploaded in this file and were not removed automaticly. So the /tmp was rather full after 3 years of running.

dman’s picture

Well, yeah. Second guess is you'd run out of disk space ... but that would have been impossible* for the admin not to notice ! :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.