• 1) Since the last major update (about 3 versions ago I think) I’ve not been able to update any plugins via the site backend because it always says it cannot remove old file from upgrade folder so I’ve had to drop new versions in via FTP.

    2) now this version upgrade tells me: FTP credentials don’t allow to copy to file /home/xxxxxx/public_html/wp-content/advanced-cache.php

    perhaps this is because it said to delete the file? after uploading new (latest) version which I did.

    3) It also says this which is completely out of my skill set:

    Execute next commands in a shell:
    cp /home/retailti/public_html/wp-content/plugins/w3-total-cache/wp-content/advanced-cache.php /home/retailti/public_html/wp-content/advanced-cache.php
    cp /home/retailti/public_html/wp-content/plugins/w3-total-cache/wp-content/db.php /home/retailti/public_html/wp-content/db.php

    Any pointers to rectify please would be appreciated.

    TIA

    Hj

    https://www.ads-software.com/extend/plugins/w3-total-cache/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Same problem here, using version 0.9.2.11:

    “FTP credentials don’t allow to copy to file /home/gnl/domains/**mywebsite**l/public_html/wp-content/advanced-cache.php”

    The credentials are correct: using another ftp client does work properly.

    Can you login to your site using your FTP client and look at the permissions set on the W3 Total Cache installation directories?

    Peace…

    Thread Starter Howiej

    (@howiej)

    @tomdkat I can look at the permission settings however I cannot change them. Despite altering the settings they revert back to original settings.

    Neither can I delete the folders, work that one out!

    Ok, what are the permission settings when you look at them? Are they 755 or 644 or something else?

    Thanks!

    Peace…

    Had the same problem. Solved it as follows:
    dir /home/xxxxx/domains/domain name/public_html/wp-content/cache
    set permission to 777
    and set permission for wp-config.php also to 777
    Then I updated again and problem was fixed.

    I’ve the same problem but last reply not resolve it.

    I’ve try to install with FTP but W3TC tell me :
    cp mywebsite/wp-content/plugins/w3-total-cache/wp-content/advanced-cache.php mywebsite/wp-content/advanced-cache.php

    I do it with my FTP but after, W3TC tell me :
    Edit file mywebsite/.htaccess and replace all lines between and including # BEGIN W3TC Page Cache core and # END W3TC Page Cache core markers with:
    Execute next commands in a shell:
    cp mywebsite/wp-content/plugins/w3-total-cache/wp-content/advanced-cache.php mywebsite/wp-content/advanced-cache.php
    cp mywebsite/wp-content/plugins/w3-total-cache/wp-content/object-cache.php mywebsite/wp-content/object-cache.php
    cp mywebsite/wp-content/plugins/w3-total-cache/wp-content/db.php mywebsite/wp-content/db.php

    And again and again. Don’t understand why.

    Any line starting with “cp” means: Copy a file. In your case(s), where you shall use the shell commands, just use an FTP-client like filezilla and copy the requested files. In detail: navigate to
    mywebsite/wp-content/plugins/w3-total-cache/wp-content/
    and download the file
    advanced-cache.php, then navigate to
    mywebsite/wp-content/
    and upload the file there. Then set the write permissions for this file to 777, if you don’t do so, the plugin tells you always to copy that file!

    Do the same to other files, if requested.

    If you get the message for the .htaccess-file, download that file (it’s under mywebsite/.htaccess, open it with a texteditor like notepad++, look for the lines:
    # BEGIN W3TC Page Cache core
    # END W3TC Page Cache core
    Put the requested part
    (in my case, Version 0.9.3 it was the following) in between these lines and save your file and upload it. MAKE SURE to backup your .htaccess – file first, if you do make any error. It avoids freaking out :).

    # BEGIN W3TC Browser Cache
    <IfModule mod_deflate.c>
        <IfModule mod_headers.c>
            Header append Vary User-Agent env=!dont-vary
        </IfModule>
            AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
        <IfModule mod_mime.c>
            # DEFLATE by extension
            AddOutputFilter DEFLATE js css htm html xml
        </IfModule>
    </IfModule>
    # END W3TC Browser Cache

    In my case there was some other code in between that lines, so I replaced them and it worked.

    I recommend to NOT set the write permissions to 777 to the wp-config.php – file. If you did so, change them after your changes back to the original values.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘FTP credentials don't allow to copy to file ( others)’ is closed to new replies.