wp super cache problem
-
When I do wpupgrade, I'm able to activate the plugin through its setting, but when I click again on the setting page, it goes back to OFF and wouldn't stay enabled.
When I do wpsafe back, it won't let me access the plugin's setting page saying that the folder isn't writable
I followed the tutorial step by step and even tried doing another fresh install and yet again, same problem.
Thank you
Posted 1 year ago # -
hi Dan, good point .. you'll need to allow for an extra permission with caching plugins.
"When I do wpsafe back, it won't let me access the plugin's setting page saying that the folder isn't writable"
what does the message say? let me kow and I'll build an extra parameter into those shortcut commands.
Posted 1 year ago # -
Error: Your cache directory (/home/USERNAME/public_html/domain.com/wp-content/cache/) or /home/USERNAME/public_html/domain.com/wp-content need to be writable for this plugin to work. Double-check it.
Cannot continue... fix previous problems and retry.Should be same error except that I don't have files in public folder.
Also, what can be done if the plugin turns off after refreshing even in wpupgrade mode?
Posted 1 year ago # -
k Dan, just build what that says into the existing command ..
[both commands as they stand, but adding ..] && chown webmasters:webmasters /home/USERNAME/public_html/domain.com/wp-content/cache/
(swap USERNAME!)
.. you shouldn't need to add both the above path and the wp-content directory.
the other problem should be resolved with this.
Posted 1 year ago # -
That didn't work so I tried && chown -R webmasters:webmasters /home/USERNAME/public_html/DOMAINwp-content/cache/
Then the plugin remained ON, however, when I did wpsafe back, it wouldn't let me access the option page even though cache folder should still be writable. Have you gotten the plugin to work for yourself? I thought you had it working fine with your tutorial but it hasn't been going too well...
Posted 1 year ago # -
bit strange Dan .. one thing you could try ..
goto plugin admin page, then at terminal:-
sudo chmod 777 /home/public_html/vpsbible.com/public/wp-content
refresh plugin page and then revert to safe permissions:-
sudo chmod 755 /home/public_html/vpsbible.com/public/wp-content
then refresh plugin page again
.. any joy?
anyone else with problems like this???!!!
Posted 1 year ago # -
I'm sorry to bother you so much guv but this permission issue with nginx is driving me nuts and getting me frustrated :(
Now when I try wpupgrade and safe, it's giving me chown: invalid user: `webmasters:webmasters'
from the extra command that you told me to add, and now the plugin won't remain on. It got all screwy and now the main page won't update even if I disable the plugin.
Sorry for the hassle but can you please try to get the plugin working with a wordpress on your own? I'm sort of missing apache for all these issues happening. Like there are problems saying "Cannot modify header information - headers already sent by" when I'm trying to migrate another site. Sigh.
Posted 1 year ago # -
Oh guv, I did "reboot" and now it seems to work with your original tutorial commands. Just that I won't be able to access the cache option page after wpsafe.
Is there a way to keep it enabled while enabling ftp editing as well? Like, just permanently use wpupgrade and what not. Also, that "Cannot modify header information - headers already sent by" issue on nginx, if you know anything about it
Posted 1 year ago # -
hey Dan .. odd that, what provider are you with, maybe some specific issue you had there?
anyway, yes you can expand permissions to sort this caching issue once and for all but I recommend only escalating privileges to the least possible number of folders/files.
when you go to the plugin page now, what's the error message?
.. actually, it should tell you the path to the problem file, something like:-
/home/USER/public_html/yoursite.com/public/wp-content/someCacheFile
or
/home/USER/public_html/yoursite.com/public/wp-content/plugins/wpsupercache
just take those paths and append them to the command:-
sudo chown 775 .......
*never* do 777 (well, last resort, for 5 minutes then reverting is OK.)
otherwise, your SFTP (don't use FTP .. see FileZilla tut) should work with user:you and group:webmasters.
Posted 1 year ago # -
Sorry for not replying in 2 weeks.
I'm with Linode, I followed your tutorial step by step, but would you please tell me one and simple way to allow plugins to work fine without doing wpupgrade / wpsafe etc? This permission issue's quite troublesome, and even though I somehow got wp super cache to work, none of the setting can be changed and I cannot delete the cache either.
Posted 1 year ago # -
the_guv?
Posted 1 year ago # -
Hi Dan, sorry, check this ..
http://vpsbible.com/forums/topic/cant-upload-in-wordpress
.. remember, "convenience" isn't a friend of security ..
if you can put up with this solution for now, I promise i will relive this issue and try to improve on a solution for WP types.
Posted 1 year ago # -
Hey Guv,
I'm coming across this problem as well. I've installed server by hand ie not the stackscripts.
I Copy in wordpress files into html folder, go through the setup via web browser. change ownership to www-data to deal with plugins.
Basically I'm seeing that the wp-super-cache plugin doesn't work right, won't switch on then after server reboot its on?? but can't switch it off lol.
I'm playing around with it, if I figure it out I'll let you know... if you don't hear from me in a week, send for the men in white coats.
Posted 1 year ago # -
A quick, but maybe early update. Noticed your php-fpm from repo' tutorial. Lucky I used Paco to install from source ;o)
Uninstalled the manual version of php-fpm (from source) using paco. Installed the repo/auto version in that tutorial.
The wp-super-cache seems to be responding to changes in settings now YAY! Seem to be able to deactivate and reactivate with no problems.
Either way I'll let you know later if it is still working or not. On a side note I found this interesting article:
http://www.tutorial9.net/web-tutorials/wordpress-caching-whats-the-best-caching-plugin/
Keep up the good work, I'm impressed by your work/commitment and yet, I'm glad I'm not in your shoes lol.
Posted 1 year ago # -
Quick update, since updating php-fpm from manual/compiled build to the repo' version in your new tutorial wp-super-cache is still behaving itself.
Posted 1 year ago # -
hey Bob .. white coats R us :)
you upgraded WPSuperCrash .. new version may help .. has had a major overhaul.
Posted 1 year ago # -
Strange, my last post only shows up when I'm logged in. Got it sorted, dumped my compiled php-fpm for the repo version you suggested recently. It still seems to be working fine.
I might as well have a white coat, though I tend to break things before I fix em ;o) Just wondering if there is a way to get hyper cache on nginx, though just read on here that W3 Total Cache planning on custom support for nginx so gonna look into that.
Posted 1 year ago # -
Hello, I am having the exact same problem. Any fix for this?
Posted 1 year ago # -
Hi Baldwin, this may be a permissions issue .. see here:-
http://vpsbible.com/forums/topic/cannot-upgrade-to-wp-301?replies=2#post-1620
otherwise, bear in mind that WP Super Cache wants specific permissions for the cache folder .. I can't remember off-hand but on the plugin page if there's a problem it tells you and gives you the code to fix the permission to what it wants.
Posted 1 year ago # -
I got it to work but I have one question. I noticed in the wpmu setup you do not call the super cache file the we created. In the single site setup you include in nginx:
include /usr/local/nginx/conf/wordpress_params.super_cache;
But this is not called in the wpmu setup. Should I add this to my nginx setup or is it fine without it?
Posted 1 year ago # -
SO, in place of WP Super Cache, should we use wordpress ultimate cache, as some folks suggest it is better one.
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
