Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

W3 Total Cache - Error after fresh installation

YmpkerYmpker Veteran

Ive been using W3TC with all my wp installs so far and this is the first time I am getting this error after fresh installation.

Any ideas how to fix this? Ive already amended those lines to wp-config.php but Im still getting that error message..

«1

Comments

  • johnnymattjohnnymatt Member
    edited March 2017

    t's a simple permission problem.

  • YmpkerYmpker Veteran

    @johnnymatt said:
    t's a simple permission problem.

    Which permissions would you suppose to change then? For testing purposes Ive already 777 wp-config.php without success :/

  • quickquick Member
    edited March 2017

    @Ympker said:

    @johnnymatt said:
    t's a simple permission problem.

    Which permissions would you suppose to change then? For testing purposes Ive already 777 wp-config.php without success :/

    restart the webserver after the change

  • Do not > @Ympker said:

    @johnnymatt said:
    t's a simple permission problem.

    Which permissions would you suppose to change then? For testing purposes Ive already 777 wp-config.php without success :/

    Really? It means you are allowing everyone to read/write on most important file of WordPress. All you have to do is:

    chown -R user:group /location_to_public_html/
    

    Change user:group and location according and make sure to change permission of wp-config.php back otherwise it would be a huge security issue.

    Thanked by 1johnnymatt
  • @Ympker look at wp-rocket. W3TC is overkill imho.

  • YmpkerYmpker Veteran
    edited March 2017

    @quick said:

    @Ympker said:

    @johnnymatt said:
    t's a simple permission problem.

    Which permissions would you suppose to change then? For testing purposes Ive already 777 wp-config.php without success :/

    restart the webserver after the change

    In fact I was going to (to force a refresh of the file) however I am in a shared hosting environment without any means to do so.

    @jetchirag said:
    Do not > @Ympker said:

    @johnnymatt said:
    t's a simple permission problem.

    Which permissions would you suppose to change then? For testing purposes Ive already 777 wp-config.php without success :/

    Really? It means you are allowing everyone to read/write on most important file of WordPress. All you have to do is:

    chown -R user:group /location_to_public_html/
    

    Change user:group and location according and make sure to change permission of wp-config.php back otherwise it would be a huge security issue.

    Woah hold your horses mate. I am very well aware of what 777 is permission whise which is exactly why I have only changed the file to 777 for a matter of seconds to test that.

    @pcfreak30 said:
    @Ympker look at wp-rocket. W3TC is overkill imho.

    I know about wp rocket but I was not looking for a paid plugin :P Furthermore I have been very happy with W3TC throughout the years.

  • I tkink its a permissions error
    But try this mate https://srd.wordpress.org/plugins/wp-super-cache/

    Thanked by 1Ympker
  • YmpkerYmpker Veteran

    @Jorbox said:
    I tkink its a permissions error
    But try this mate https://srd.wordpress.org/plugins/wp-super-cache/

    Yeah that would have been my second option but Id prefer W3TC :P
    Thanks buddy :)

    However rn I am wondering if I actually need a caching plugin at all. The webserver is situated in Germany and my site loads in 782ms from Sweden with a Google Pagespeed rank of A (98). Assuming it loads even faster from Germany I guess enabling the plugin alone would cause more pageload than what it's worth.

  • JorboxJorbox Member
    edited March 2017

    @Ympker said:

    @Jorbox said:
    I tkink its a permissions error
    But try this mate https://srd.wordpress.org/plugins/wp-super-cache/

    Yeah that would have been my second option but Id prefer W3TC :P
    Thanks buddy :)

    However rn I am wondering if I actually need a caching plugin at all. The webserver is situated in Germany and my site loads in 782ms from Sweden with a Google Pagespeed rank of A (98). Assuming it loads even faster from Germany I guess enabling the plugin alone would cause more pageload than what it's worth.

    Caching is important for heavy websites, wordpress with +15 plugins, but for fast websites may result the same

    Thanked by 1Ympker
  • YmpkerYmpker Veteran

    @Jorbox said:

    @Ympker said:

    @Jorbox said:
    I tkink its a permissions error
    But try this mate https://srd.wordpress.org/plugins/wp-super-cache/

    Yeah that would have been my second option but Id prefer W3TC :P
    Thanks buddy :)

    However rn I am wondering if I actually need a caching plugin at all. The webserver is situated in Germany and my site loads in 782ms from Sweden with a Google Pagespeed rank of A (98). Assuming it loads even faster from Germany I guess enabling the plugin alone would cause more pageload than what it's worth.

    Caching is important for heavy websites, wordpress with +15 plugins, but for fast websites may result the same

    Exactly and I have about 2-3 active plugins + 5 medium sized images. The whole site equals a couple of mb :P

  • Caching is important for heavy websites, wordpress with +15 plugins, but for fast websites may result the same

    really ? are you sure ? you have just said a "blasphemy" :) try to do some tests only with and without opcache. After that tell me the difference ...

  • YmpkerYmpker Veteran

    @johnnymatt said:

    Caching is important for heavy websites, wordpress with +15 plugins, but for fast websites may result the same

    really ? are you sure ? you have just said a "blasphemy" :) try to do some tests only with and without opcache. After that tell me the difference ...

    My website size equals a mere 500kb and loads at 800ms. At this rate any caching plugin Ive enabled has increased load time to 2 seconds which is why I disabled it again.

  • FalzoFalzo Veteran

    if it's a small site and even on shared hosting go without. you never know what things maybe already implemented on the host, like reverse caching proxy, php opcache or even mod_pagespeed ... sometime too much things will mess with another and just make things worse.

    Thanked by 1Ympker
  • johnnymattjohnnymatt Member
    edited March 2017

    Ympker said: My website size equals a mere 500kb and loads at 800ms. At this rate any caching plugin Ive enabled has increased load time to 2 seconds which is why I disabled it again.

    :/ opcache just work as soon as you enable it > you dont need wordpress plugins

    https://www.sitepoint.com/understanding-opcache/

  • YmpkerYmpker Veteran

    @johnnymatt said:

    Ympker said: My website size equals a mere 500kb and loads at 800ms. At this rate any caching plugin Ive enabled has increased load time to 2 seconds which is why I disabled it again.

    :/ opcache just work as soon as you enable it > you dont need wordpress plugins

    https://www.sitepoint.com/understanding-opcache/

    Im on shared hosting though :)

  • Sry i didnt understand that :) My apologies :)

    Thanked by 1Ympker
  • YmpkerYmpker Veteran

    @johnnymatt said:
    Sry i didnt understand that :) My apologies :)

    I wasnt precise either :P

  • @Ympker https://github.com/wp-media/wp-rocket code is on github and if you pm me, can give you a free version. I can give a setup anyways that performs better as well, consider some of the plugins I wrote.

  • YmpkerYmpker Veteran

    @pcfreak30 said:
    @Ympker https://github.com/wp-media/wp-rocket code is on github and if you pm me, can give you a free version. I can give a setup anyways that performs better as well, consider some of the plugins I wrote.

    Haha thanks mate but in fact I think Im just fine with how the website pageload is rn :)
    800ms cant complain^^

  • @Ympker whats the URL. Server response is only one part of speed, there are many others.

  • YmpkerYmpker Veteran

    @pcfreak30 said:
    @Ympker whats the URL. Server response is only one part of speed, there are many others.

    nicolas-loew.de still WIP though

  • pcfreak30pcfreak30 Member
    edited March 2017

    @Ympker https://gtmetrix.com/reports/nicolas-loew.de/TO4v6W68 still has a lot that can be improved.

  • YmpkerYmpker Veteran

    @pcfreak30 said:
    @Ympker https://gtmetrix.com/reports/nicolas-loew.de/TO4v6W68 still has a lot that can be improved.

    Yeah as I said it's WIP :) Just was gonna say Im not really looking to install a caching plugin?

  • FalzoFalzo Veteran
    edited March 2017

    @pcfreak30 said:
    @Ympker https://gtmetrix.com/reports/nicolas-loew.de/TO4v6W68 still has a lot that can be improved.

    not really. most of that YSlow score malus relates to the version tags of css/js which causes expire header/Etags not set correctly...

    you can remove those easily by adding some lines to functions.php - https://www.codementor.io/tips/8369241717/remove-version-number-from-css-js-in-wordpress-theme

    no need to do much more, and even this is more of a cosmetic change, as it only may help to cache the css/js properly on the client - shouldn't have a big impact on that small site anyways.

    Thanked by 2Ympker WSS
  • @Falzo said:

    @pcfreak30 said:
    @Ympker https://gtmetrix.com/reports/nicolas-loew.de/TO4v6W68 still has a lot that can be improved.

    not really. most of that YSlow score malus relates to the version tags of css/js which causes expire header/Etags not set correctly...

    you can remove those easily by adding some lines to functions.php - https://www.codementor.io/tips/8369241717/remove-version-number-from-css-js-in-wordpress-theme

    no need to do much more, and even this is more of a cosmetic change, as it only may help to cache the css/js properly on the client - shouldn't have a big impact on that small site anyways.

    Speed matters and I can tell the site needs work speed wise. It's a speciality of mine, and I can tell it's not at a standard I would deem acceptable, no matter the size of the site. Just giving out my advisement.

  • FalzoFalzo Veteran

    @pcfreak30 said:

    Speed matters and I can tell the site needs work speed wise. It's a speciality of mine, and I can tell it's not at a standard I would deem acceptable, no matter the size of the site. Just giving out my advisement.

    I call bullshit. :-P

    Thanked by 2Junkless boernd
  • Typically, most WordPress documents have permission for reading only 444. Here, you need to change the document permission to 644. Now just refresh a page, there is no awful notice. Everything goes easily.

    To change the permission, you can use cPanel or FileZilla or another FTP customer.

  • pcfreak30pcfreak30 Member
    edited March 2017

    @Falzo said:

    @pcfreak30 said:

    Speed matters and I can tell the site needs work speed wise. It's a speciality of mine, and I can tell it's not at a standard I would deem acceptable, no matter the size of the site. Just giving out my advisement.

    I call bullshit. :-P

    What's the problem? I speed up wordpress sites on a near weekly basis now and have results to show for that. @Falzo's site speed AND rating is bad, and @Falzo's call if they want to accept that for their users.

  • FalzoFalzo Veteran

    pcfreak30 said: I speed up wordpress sites on a near weekly basis now and have results to show for that.

    then go ahead and show us.

    curious what site you are talking about...

Sign In or Register to comment.