WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache Version 0.9.2.7 problems unable to create folders (9 posts)

  1. pilot911
    Member
    Posted 1 year ago #

    Hi,

    I updated to Version 0.9.2.6 now updated to Version 0.9.2.7 but i still get the same problems. I have started a fresh topic as requested in another post.

    WordPress 3.5.1 hosing with Amerinoc (dedicated server)

    Using Version 0.9.2.7 I have the following errors:

    Unfortunately we're not able to create folders and files or write to them to complete the installation for you automatically. Please enter FTP details below to complete the setup.

    Either the /usr/home/mysite/domains/mysite.com/public_html/wp-content directory is not write-able or another caching plugin is installed.This error message will automatically disappear once the change is successfully made.

    Current process is run by mysite:apache (1010:1004) but owner of created files is apache:apache (1005:1004). They should be the same. Talk with your host about this issue.

    If this is correct behavior then read WordPress Update Constants section in WordPress Codex with regards to FS_METHOD for possible solution. Defining it disables the check.

    I spoke with my host and they advised the folder permissions were fine, they also logged into WP Admin but were unable so far to ascertain the problem

    The directory w3tc can be deleted. /usr/home/mysite/domains/mysite.com/public_html/wp-content: w3tc. However, do not remove the w3tc-config directory.

    I tried to delete the w3tc folder but was prevented from doing so because the folder is not empty, I renamed it w3tc_OLD, but the message just updated to say delete w3tc_OLD

    W3 Total Cache Error: The plugin tried to edit, /usr/home/mysite/domains/mysite.com/public_html/.htaccess, but failed. This means that the plugin cannot make the correct file/folder changes on its own. Please review your file permissions (file owner, rights ...). Common cause is .htaccess and /usr/home/mysite/domains/mysite.com/public_html/wp-content having different owners or permissions.

    File: /usr/home/mysite/domains/mysite.com/public_html/.htaccess File owner: mysite:apache
    File: /usr/home/mysite/domains/mysite.com/public_html/wp-content Folder permissions are 0775 should be 0755. File owner: mysite:apache
    File owner of current script: mysite:apache

    I changed the ownership of .htaccess File owner: mysite:mysite

    I changed the wp-content Folder permissions from 0775 to 0755 and change the owner to mysite:mysite

    Page caching is not available: please add: define('WP_CACHE', true); to /usr/home/mysite/domains/mysite.com/public_html/wp-config.php.

    I added define('WP_CACHE', true); to the last line of wp-config.php

    Page caching is not available. The current add-in /usr/home/mysite/domains/mysite.com/public_html/wp-content/advanced-cache.php is either an incorrect file or an old version. De-activate the plugin, remove the file, then activate the plugin again.

    I de-activated plugin and removed this file, but i still get this message

    Database caching is not available. The current add-in /usr/home/mysite/domains/mysite.com/public_html/wp-content/db.php is either an incorrect file or an old version. De-activate the plugin, remove the file, then activate the plugin again.

    I de-activated plugin and removed this file, but i still get this message

    Object caching is not available. The current add-in /usr/home/mysite/domains/mysite.com/public_html/wp-content/object-cache.php is either an incorrect file or an old version. De-activate the plugin, remove the file, then activate the plugin again.

    I de-activated plugin and removed this file, but i still get this message

    The following configuration changes are needed to ensure optimal performance:
    To enable Browser caching, add the following rules into the server configuration file (/usr/home/menforme/domains/menformenblog.com/public_html/.htaccess) of the site:

    # BEGIN W3TC Browser Cache
    <IfModule mod_mime.c>
        AddType text/css .css
        AddType text/x-component .htc
        AddType application/x-javascript .js
        AddType application/javascript .js2
        AddType text/javascript .js3
        AddType text/x-js .js4
        AddType text/html .html .htm
        AddType text/richtext .rtf .rtx
        AddType image/svg+xml .svg .svgz
        AddType text/plain .txt
        AddType text/xsd .xsd
        AddType text/xsl .xsl
        AddType text/xml .xml
        AddType video/asf .asf .asx .wax .wmv .wmx
        AddType video/avi .avi
        AddType image/bmp .bmp
        AddType application/java .class
        AddType video/divx .divx
        AddType application/msword .doc .docx
        AddType application/vnd.ms-fontobject .eot
        AddType application/x-msdownload .exe
        AddType image/gif .gif
        AddType application/x-gzip .gz .gzip
        AddType image/x-icon .ico
        AddType image/jpeg .jpg .jpeg .jpe
        AddType application/json .json
        AddType application/vnd.ms-access .mdb
        AddType audio/midi .mid .midi
        AddType video/quicktime .mov .qt
        AddType audio/mpeg .mp3 .m4a
        AddType video/mp4 .mp4 .m4v
        AddType video/mpeg .mpeg .mpg .mpe
        AddType application/vnd.ms-project .mpp
        AddType application/x-font-otf .otf
        AddType application/vnd.oasis.opendocument.database .odb
        AddType application/vnd.oasis.opendocument.chart .odc
        AddType application/vnd.oasis.opendocument.formula .odf
        AddType application/vnd.oasis.opendocument.graphics .odg
        AddType application/vnd.oasis.opendocument.presentation .odp
        AddType application/vnd.oasis.opendocument.spreadsheet .ods
        AddType application/vnd.oasis.opendocument.text .odt
        AddType audio/ogg .ogg
        AddType application/pdf .pdf
        AddType image/png .png
        AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
        AddType audio/x-realaudio .ra .ram
        AddType application/x-shockwave-flash .swf
        AddType application/x-tar .tar
        AddType image/tiff .tif .tiff
        AddType application/x-font-ttf .ttf .ttc
        AddType audio/wav .wav
        AddType audio/wma .wma
        AddType application/vnd.ms-write .wri
        AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
        AddType application/zip .zip
    </IfModule>
    <IfModule mod_expires.c>
        ExpiresActive On
        ExpiresByType text/css A31536000
        ExpiresByType text/x-component A31536000
        ExpiresByType application/x-javascript A31536000
        ExpiresByType application/javascript A31536000
        ExpiresByType text/javascript A31536000
        ExpiresByType text/x-js A31536000
        ExpiresByType text/html A3600
        ExpiresByType text/richtext A3600
        ExpiresByType image/svg+xml A3600
        ExpiresByType text/plain A3600
        ExpiresByType text/xsd A3600
        ExpiresByType text/xsl A3600
        ExpiresByType text/xml A3600
        ExpiresByType video/asf A31536000
        ExpiresByType video/avi A31536000
        ExpiresByType image/bmp A31536000
        ExpiresByType application/java A31536000
        ExpiresByType video/divx A31536000
        ExpiresByType application/msword A31536000
        ExpiresByType application/vnd.ms-fontobject A31536000
        ExpiresByType application/x-msdownload A31536000
        ExpiresByType image/gif A31536000
        ExpiresByType application/x-gzip A31536000
        ExpiresByType image/x-icon A31536000
        ExpiresByType image/jpeg A31536000
        ExpiresByType application/json A31536000
        ExpiresByType application/vnd.ms-access A31536000
        ExpiresByType audio/midi A31536000
        ExpiresByType video/quicktime A31536000
        ExpiresByType audio/mpeg A31536000
        ExpiresByType video/mp4 A31536000
        ExpiresByType video/mpeg A31536000
        ExpiresByType application/vnd.ms-project A31536000
        ExpiresByType application/x-font-otf A31536000
        ExpiresByType application/vnd.oasis.opendocument.database A31536000
        ExpiresByType application/vnd.oasis.opendocument.chart A31536000
        ExpiresByType application/vnd.oasis.opendocument.formula A31536000
        ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
        ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
        ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
        ExpiresByType application/vnd.oasis.opendocument.text A31536000
        ExpiresByType audio/ogg A31536000
        ExpiresByType application/pdf A31536000
        ExpiresByType image/png A31536000
        ExpiresByType application/vnd.ms-powerpoint A31536000
        ExpiresByType audio/x-realaudio A31536000
        ExpiresByType image/svg+xml A31536000
        ExpiresByType application/x-shockwave-flash A31536000
        ExpiresByType application/x-tar A31536000
        ExpiresByType image/tiff A31536000
        ExpiresByType application/x-font-ttf A31536000
        ExpiresByType audio/wav A31536000
        ExpiresByType audio/wma A31536000
        ExpiresByType application/vnd.ms-write A31536000
        ExpiresByType application/vnd.ms-excel A31536000
        ExpiresByType application/zip A31536000
    </IfModule>
    <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>
    <FilesMatch "\.(css|htc|js|js2|js3|js4|CSS|HTC|JS|JS2|JS3|JS4)$">
        FileETag MTime Size
        <IfModule mod_headers.c>
            Header set Pragma "public"
            Header set Cache-Control "public"
             Header set X-Powered-By "W3 Total Cache/0.9.2.7"
        </IfModule>
    </FilesMatch>
    <FilesMatch "\.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$">
        FileETag MTime Size
        <IfModule mod_headers.c>
            Header set Pragma "public"
            Header set Cache-Control "public"
             Header set X-Powered-By "W3 Total Cache/0.9.2.7"
        </IfModule>
    </FilesMatch>
    <FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
        FileETag MTime Size
        <IfModule mod_headers.c>
            Header set Pragma "public"
            Header set Cache-Control "public"
             Header set X-Powered-By "W3 Total Cache/0.9.2.7"
        </IfModule>
    </FilesMatch>
    # END W3TC Browser Cache

    [Moderator note: In future, please wrap code in backticks]

    I added this code to the top of the .htaccess file

    After making these changes I logged out of admin and back in: still some errors as before (although less)

    Unfortunately we're not able to create folders and files or write to them to complete the installation for you automatically. Please enter FTP details below to complete the setup

    I de-activated the W3 Total cache plugin and re-activated it but same errors exist

    Finally uninstalled the plugin and re-installed but same errors are visible in dashboard

    I will leave the plugin de-activated for now.

    Thanks for all the sterling effort you have and continue to put into W3 Total Cache, I hope this detailed explanation is helpful in discerning the problems.

    Thanks once again

  2. pamamo
    Member
    Posted 1 year ago #

    I have exactly the same problem! Tried everything you did, but indeed, it doesn't work. I hope there will be a fix available soon! Deactivated the plugin for now..

  3. Josť Freitas
    Member
    Posted 1 year ago #

    I had the "The directory w3tc can be deleted. (...) However, do not remove the w3tc-config directory".
    With the plugin activated the site is white, without the content.
    Deactivated, for now.

  4. RA_NPL
    Member
    Posted 1 year ago #

    Yep, exactly the same on my site after updating to 0.9.2.7. Hoping for a quick fix by the developers.

  5. c-r-u-x
    Member
    Posted 1 year ago #

    Same problem on installing (minus the De-activate the plugin, remove the file, then activate the plugin again. parts since I activated the plugin for the first time).

  6. Lord_Mord
    Member
    Posted 1 year ago #

    Same problem here.

  7. pilot911
    Member
    Posted 1 year ago #

    Upgraded to 0.9.2.8 appears to be working ok. Had to change a few folder permissions as advised by the plugin but all seems ok.

  8. Lord_Mord
    Member
    Posted 1 year ago #

    I upgraded too and it works now.

  9. woodsandhillsplc
    Member
    Posted 1 year ago #

    Same problem. Really struggling with the total cache since the update.

Topic Closed

This topic has been closed to new replies.

About this Topic