Squirrelmail: "Could not move/copy file. File not attached"

Discussion in 'Tips/Tricks/Mods' started by benjami, Jun 9, 2006.

  1. benjami

    benjami New Member

    Today I've solved one Squirrelmail + ISPConfig that maybe is useful for other users:

    When I add one attach, I get this error: "Could not move/copy file. File not attached".

    All is correct (permisions, quotas): http://www.squirrelmail.org/wiki/DirectoryPermissionsProblem

    Seems that this error is due that ISPConfig changes upload parameters in /etc/apache2/vhosts/Vhosts_ispconfig.conf:

    Code:
    php_admin_value file_uploads 1
    php_admin_value upload_tmp_dir /home/www/web1/phptmp/
    php_admin_value session.save_path /home/www/web1/phptmp/
    I've changed Squirrelmail configuration and now works fine with attachments:

    Code:
    $attachment_dir           = '/home/www/web1/phptmp/';
    (in /home/www/web1/web/config/config.php)
     
  2. falko

    falko Super Moderator ISPConfig Developer

    This happens when you enable PHP Safe Mode for a web site.
     
  3. benjami

    benjami New Member

    Thanks!

    Thanks for this important detail (from some PHP applications)
     

Share This Page