Nov 04
Re: Wordpress Error: Unable to create directory /wp-content/uploads/
To resolve errors uploading to WordPress eg. new themes, please try the following steps:
- In WordPress Settings/Media (or Settings/Miscellaneus depending on your version) change upload folder from “/wp-content/uploads” to “wp-content/uploads” – ie. remove the leading forward slash.
- Set wp-content to 775
- Set wp-content/uploads to 777
That should solve the problem.
Sep 18
Some applications require open_basedir to be “loosened” a little, if you are installing an application such as ClickCart Pro then the open_basedir will need to be changed so that the installation can create the required sub directories and then complete.
Let’s assume your domain name is domain.com (no such luck, I know!)
# vi /var/www/vhosts/domain.com/vhost.conf
Add the following lines:
<Directory /var/www/vhosts/domain.com/httpdocs>
php_admin_value open_basedir “/var/www/vhosts/domain.com”
php_admin_flag safe_mode off
</Directory>
Now we need to rebuild the apache configuration:
# /usr/local/psa/admin/sbin/websrvmng -u –vhost-name=domain.com
Job done, your open_basdir setting has been moved up one level (from /httpdocs to /) within your domain name sub folder.
Aug 18
Have you logged into WordPress and you get the message “WordPress update available, click here to upgrade”, you click “here”, wait and then the upgrade fails?
This is a common problem so we would like to post the solution for our clients:
1) Ensure that your FTP user is the owner of your WordPress install directory, this is most likely not the problem unless you have your own dedicated server and installed WordPress using root user.
2) Ensure that your WordPress directory has the correct permissions, it should be 755. This is the most probable problem. Change the permissions to 755 and then try the WordPress upgrade again.
If your FTP user is not the owner of your WordPress directory OR your WordPress directory has permissions other than 755, your WordPress install/upgrade will fail with the message “Could not copy file: /var/www/wordpress/wp-activate.php”.
Apr 27
As you are reading this, you are probably unaware of how easy it really is to install a web application such as WordPress. It really is just a few button clicks with Plesk.
- Login to the Plesk Control Panel
- Click on “web hosting”
- Make sure “php safe mode” is OFF
- Click on “Web Applications”
- Click “Install Web Application”
- Type “wordpress” and press “Search”
- Click “Install”
- Agree to the WordPress user license
- Select “document root” if you dont want wordpress in a sub directory
- Set the WordPress database password
- Set the WordPress admin password
- Enter your email address for admin notifications
- Enter your wordpress page title (can be changed later)
- Click “install”
- WordPress is now installed!
Ok, so there are 15 items in the list – really, it would have taken you longer to read the list than to install WordPress. Install WordPress now and see how easy it is, you can just delete it afterwards – and that’s just as easy as pressing one button!
For more information about installing web applications see our Hosting FAQ entry “How to Install and Manage Web Applications” or, watch our short video “How to install a Web Application in Plesk”.