benjaone1
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Site waits when loadingThanks 🙂
Forum: Fixing WordPress
In reply to: Error establishing a database connection on second virtual hostThank you very much!
Forum: Fixing WordPress
In reply to: Error establishing a database connection on second virtual hostHi Mateus,
Thanks so much for your help !!!
I had the second site up and running a-c-d.net
Then I changed the site url from WordPress Dashboard to http://www.a-c-d.net since this is the url I want. And now I can’t access the site.
I had similar issues on my first virtual host and learned to redirect from wp-config.php and phpmyadmin.
Problem is those tricks doesn’t work on second virtual host.
This is my second virtual host:
<VirtualHost *:80>
ServerName a-c-d.net
DocumentRoot /var/www/html/a-c-d.net/public_html
</VirtualHost>
<VirtualHost *:80>
ServerName http://www.a-c-d.net
</VirtualHost>How do I get http://www.a-c-d.net to direct to my site, thank you very much!
Forum: Plugins
In reply to: [WP Super Cache] Cache plugins not working after enabling SSL-certificateStill same warnings…
Thank you for your help, much appreciated!
Changed folder owners and it works now! 🙂
Forum: Plugins
In reply to: [WP Super Cache] Cache plugins not working after enabling SSL-certificateHi Saša,
Thanks for helping me.
I just tried what you suggested. Unfortunally I still get the same warnings:
Warning! Could not update /var/www/html/wp-config.php! WPCACHEHOME must be set in config file.
Warning! /var/www/html/wp-content/advanced-cache.php does not exist or cannot be updated.
If it already exists, please delete the file first.
Make /var/www/html/wp-content writable using the chmod command through your ftp or server software. (chmod 777 /var/www/html/wp-content) and refresh this page. This is only a temporary measure and you’ll have to make it read only afterwards again. (Change 777 to 755 in the previous command)
Refresh this page to update /var/www/html/wp-content/advanced-cache.php
If that doesn’t work, make sure the file /var/www/html/wp-content/advanced-cache.php doesn’t exist:
Open /var/www/html/wp-content/plugins/wp-super-cache/advanced-cache.php in a text editor.
Change the text CACHEHOME to /var/www/html/wp-content/plugins/wp-super-cache/
Save the file and copy it to /var/www/html/wp-content/advanced-cache.php and refresh this page.Thanks
I have created the folders /var/www/html/wp-content/cache and /var/www/html/wp-content/cache/all and given them permission 755. I have also given /var/www/html/wp-content permission 755.
But still Super cache gives me the samme message:
– /wp-content/cache/ permission has to be 755
– /wp-content/cache/all/ permission has to be 755Thanks
I have Digital Ocean and run my own VPS.
I have changed permission: 755 /var/www/html/wp-content/
And still get no such file or directory when:
755 /var/www/html/wp-content/cache
755 /var/www/html/wp-content/cache/allHow so?
Thanks
I get no such file or directory
And WP fastest cache generates this error:
– /wp-content/cache/ is needed to be created
– /wp-content/cache/all/ is needed to be createdThanks!