• I just updated to the latest version and when I now try and go to the WordPress backend I get the following error:

    Fatal error : Uncaught exception 'FileOperationException' with message '/home/kevi7793/public_html/RefuGeeks/wp-content/w3tc-config/master.php could not be created, please run following command:
    chmod 777 /home/kevi7793/public_html/RefuGeeks/wp-content/w3tc-config' in /home/kevi7793/public_html/RefuGeeks/wp-content/plugins/w3-total-cache/inc/functions/activation.php:117 Stack trace: #0 /home/kevi7793/public_html/RefuGeeks/wp-content/plugins/w3-total-cache/lib/W3/ConfigWriter.php(159): w3_throw_on_write_error('/home/kevi7793/...') #1 /home/kevi7793/public_html/RefuGeeks/wp-content/plugins/w3-total-cache/lib/W3/ConfigWriter.php(421): W3_ConfigWriter->save() #2 /home/kevi7793/public_html/RefuGeeks/wp-content/plugins/w3-total-cache/inc/functions/update.php(58): W3_ConfigWriter->import_legacy_config_and_save() #3 /home/kevi7793/public_html/RefuGeeks/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCacheAdmin.php(298): w3_run_legacy_update() #4 /home/kevi7793/public in /home/kevi7793/public_html/RefuGeeks/wp-content/plugins/w3-total-cache/inc/functions/activation.php on line 117

    I’ve reset the permissions to the whole w3-cache folder to 777 and I’m still getting this error. My site is still up but I currently can’t manage a thing at the back end. This is very urgent.

    Thanks

    Kev

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 15 replies - 16 through 30 (of 33 total)
  • Thread Starter Kev

    (@kevquirk)

    You’ve put the master file in the wrong location. Read my post above for the path.

    Thread Starter Kev

    (@kevquirk)

    There’s w3tc and w3tc-config. It needs to be the latter.

    Ahhhhh…..

    sorry….I supposed that it must be under /plugins etc…..
    Now I found it and I am back again:-))))..

    THANK YOU, KEV!

    What should I do now? Delete it completely or does it work from now on??

    Thanks so much!
    K.

    Thread Starter Kev

    (@kevquirk)

    Just leave it as it is now. Everything is fixed.

    No problem, happy to help πŸ™‚

    GREAT HELP!

    Is it possible to explain in a few words what the master.php does now? I mean…is it a holy grail of wordpress programming?:-))

    Thread Starter Kev

    (@kevquirk)

    I don’t know to be honest with you. Like you, I’m a WordPress user. I’m not one of the developers. I am technical however so myfix was just an educated guess really.

    I imagine that the master.php file is a configuration file for this plugin. It’s not part of WordPress as a whole, just this plugin. The error I was getting was that the file couldn’t be created and that the plugin doesn’t have the correct permissions to create the file.

    I tried editing the permissions but this didn’t work so I thought that creating the file and uploading myself should do the trick as creating the file and writing into it are two different permissions. This obviously worked. I’ve just checked the master.php file and there has been some version information written into the file as well as an “ID”. So it looks like everything is working fine.

    Hope this answers some questions. The developers will probably be able to give a much better explanation that I have. πŸ™‚

    Spent the last week or more getting ver 9.2.5 to work & finally got it done about an hour ago and then saw an update to 9.2.6 & nearly poo’ed myself when the same happen!!! πŸ™‚

    @kev, thanks for the fix instructions! I think you might’ve saved my life (and Thomas for helping setup 9.2.5)

    For anybody else experiencing this after kev’s fix I got the following error message:

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/34/5314834/html/wp-content/w3tc-config/master.php:10) in /home/content/34/5314834/html/wp-includes/pluggable.php on line 876

    Refreshed a few times and back up!!!

    *insert sigh of relief here* ( and clean undies)

    ONLY PROBLEM IS: I LOST ALL MY PREVIOUS CDN SETTINGS … back to the drawing board…and not sure where to now!

    My question is what functionality of the plugin is now broken until a new release is made.

    @joseph> everything seems fine once you upload the master.php file in kev’s 2nd post up there. (don’t forget to refresh a few times)

    Though I have to setup EVERYTHING from scratch. Not sure if anybody else had to as well…(?)

    That is what I was afraid of….serves me right to not make a config backup. IF anybody knows where the config data is hidden let us know. (In my defense it is a new site and configuring W3tc was about the only thing I did.) Good thing I didn’t apply updates to m other sites yet.

    Not sure if anybody else also has this error, but I attempted to put in my CDN credentials. It said that my bucket didn’t exist. Then I went to create a bucket and it said my bucket was taken…..which it is….by me….
    EDIT: Deleting my buckets and distributions then re-setting up corrected the problem….

    UPDATE (after seeing early-thread fix re: uploading a blank master.php file)

    OMG – KEV, THANK YOU! Your fix worked perfectly.
    ________________________________________________________

    Updated, and it totally broke my site. I cannot log in to Dashboard AT ALL – here’s what I get when I try (see below). Anyone know how to fix this? Thanks!

    Fatal error: Uncaught exception ‘FileOperationException’ with message ‘/home/stillriv/public_html/wp/wp-content/w3tc-config/master-admin.php
    blah, blah, blah…

    Thread Starter Kev

    (@kevquirk)

    Dude, read the thread! The answers are all there…

    Looking at your error, you need to make “master-admin.php”, not “master.php”.

    > Dude, read the thread! The answers are all there…

    Yup. Many thanks.

    Plugin Contributor Frederick Townes

    (@fredericktownes)

    I really appreciate everyone helping each other here. I really want to make your sites faster so WordPress can continue to lead the web. Anyone seeing a slow down since the update or anyone with other concerns, please submit a bug submission form from the support tab of the plugin.

Viewing 15 replies - 16 through 30 (of 33 total)
  • The topic ‘everything is broke’ is closed to new replies.