0
Welcome Guest! Login
0 items Join Now

rt_afterburner: Warning: Failed to move file!

    • regoli's Avatar
    • regoli
    • Newbie
    • Posts: 3
    • Thanks: 0

    rt_afterburner: Warning: Failed to move file!

    Posted 12 years 8 months ago
    • Hello everyone! I'm trying to install rt_afterburner template on our brand new Joomla installation at Media Temple.

      For background, here are some details about our installation:
      Site/System Information:
        Joomla! 2.5.6 Stable [ Ember ] 19-June-2012 14:00 GMT
        Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
        PHP Version 5.3.13 (and max_execution_time set to 300000)
        Database Version 5.1.55-rel12.6
        Apache/2.2.22

      Also, every single item under Site/System Information/Permissions is *green* -- all report "Writable"

      Yet, when I go to Extensions/Extensions Manager and Package Manager, browse to the rt_afterburner.zip on my hard drive (which is valid and is a clean zip file that I can open and see files), click "Upload and Install" -- I get "Warning: Failed to move file!"

      What could be wrong?

      I've been able to go into the Template manager and edit the template files (like index.php) just fine, no permissions problems at all.

      Any ideas? Thanks so much! --michael
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: rt_afterburner: Warning: Failed to move file!

    Posted 12 years 8 months ago
    • It could be a permission issue or that you have settings in php.ini or .htaccess that doesn't allow bigger files than 2M or similar. You also have PHP_Max_Post_size and so on that might be worth checking out.
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • regoli's Avatar
    • regoli
    • Newbie
    • Posts: 3
    • Thanks: 0

    Re: rt_afterburner: Warning: Failed to move file!

    Posted 12 years 8 months ago
    • prim wrote:
      It could be a permission issue or that you have settings in php.ini or .htaccess that doesn't allow bigger files than 2M or similar. You also have PHP_Max_Post_size and so on that might be worth checking out.
      @prim, thank you for the tips! post_max_size is set to 20M

      .htaccess seems harmless enough:

      AddHandler php5-script .php
      AddHandler php-script .html

      #Options +Includes
      #AddHandler server-parsed .shtml .html .htm

      AddHandler cgi-script .cgi
      Options +ExecCGI
      AddHandler cgi-script .pl


      Wouldn't "permission issues" show up in Site/System Info/Permissions? (Otherwise the screen isn't very useful.)

      This is very puzzling! --mr
    • regoli's Avatar
    • regoli
    • Newbie
    • Posts: 3
    • Thanks: 0

    Re: rt_afterburner: Warning: Failed to move file!

    Posted 12 years 8 months ago
    • Wow. What an odyssey.

      This was helpful: Go into Extension Manager: Install / Warnings

      I saw we had this going on:

      Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/17872/domains/_OURDOMAIN_/html/:/home/17872/domains/php_inc/) in /nfs/c02/h11/mnt/17872/domains/_OURDOMAIN_/html/joomla/administrator/components/com_installer/models/warnings.php on line 78
      The PHP temporary directory is not writeable

      So after trial and error, it seems as though the directory aliasing in effect at Media Temple has absolute and relative paths, mixed in with their network file system (NFS) naming. So to correct this, I added the full NFS path to our .htaccess file.

      BEFORE:
      php_value open_basedir /home/17872/domains/_OURDOMAIN_/html/:/home/17872/domains/php_inc/
      AFTER:
      php_value open_basedir /home/17872/domains/_OURDOMAIN_/html/:/nfs/c02/h11/mnt/17872/domains/_OURDOMAIN_/html:.:/tmp:/home/17872/domains/php_inc/
      In addition I added "." and "/tmp" per the suggestion at www.bigsoft.co.uk/blog/index.php/2007/12...-open_basedir-restri

      Whew. Problem solved. --mr

Time to create page: 0.059 seconds