Years ago, when I first installed WordPress on my Plesk-based server I had some problems with file permission issues. I could not upload images and WordPress could not edit the .htaccess file. The best solution to this issues was to use a few command lines to set the ftp username for the domain to the correct group. Here’s the magic code:
cd /var/www/vhosts/[domain.com]
chown -R [username]:psacln httpdocs
chmod -R g+w httpdocs
find httpdocs -type d -exec chmod g+s {} \;
And here’s what not to do:
When I first encountered this problem I would edit .htaccess manually to enable permalinks
Credit for this goes to Bryan T. He had the good advice to first make sure PHP safe mode is off before trying these troubleshooting techniques. Another advanced possible step: Change the umask in ‘/etc/proftpd.conf’ to ’002′ and add the ‘apache’ user to the ‘psacln’ group. Then, update the directory permissions:
cd /home/httpd/vhosts/[domain.com]
chown -R [username]:psacln httpdocs
chmod -R g+w httpdocs
find httpdocs -type d -exec chmod g+s {} \;He explained that Joomla also complains about some PHP settings, sometimes including not being able to write to ‘/var/lib/php/session’. To fix the issues, make some adjustments to the vhost.conf for the domain:
<Directory /home/httpd/vhosts/[domain]/httpdocs>
php_admin_flag magic_quotes_gpc on
php_admin_flag display_errors on
php_admin_value session.save_path /tmp
</Directory>If the vhost.conf is brand new, then run:
/usr/local/psa/admin/bin/websrvmng -avMake sure Apache runs with your new configuration:
# httpd -t (check your work)
# /etc/init.d/httpd reload
via Joomla and Plesk permissions | Racker Hacker.







Gravity Forms vs. Wufoo for WordPress
Gravity Forms just updated to version 1.5. So it’s a good time for me to talk about how much I love this tool. It’s got tons of features and can get really complex but also allows for a quick and robust simple contact form.
One of the key features that puts it above the rest is the fact that entries are saved in your WordPress database and are viewable within the WP admin area. Email is great but having a record of all entries in one place makes this a really powerful tool that is one giant step ahead of the competition. And you can export entries as well as edit and add notes to them.
The other key feature is the slick and clean interface. I have had numerous clients who get so excited when they see this and instantly “get it”. Gravity Forms reveals it power very quickly once you start playing with it.
Some new features in 1.5:
Pricing Fields allow you to create quotes and order forms. It features integrated pricing calculations and is compatible with the Gravity Forms PayPal Add-On. Pricing Fields consist of a Product Field, Option Field, Quantity Field, Shipping Field, Donation Field and Total Field. They allow you to easily turn your form into an order form and collect payments when combined with the PayPal Add-On.
Textarea Character Counter: Easily limit the number of characters entered into a textarea and include a visual character counter that lets them know how many characters are allowed and how many characters have been entered.
CSS Ready Classes: multi-column layouts using built in CSS classes.
Default Notification: Gravity Forms will now automatically setup an Admin Notification that uses the WordPress Admin email as the Send To and includes all submitted form fields when a new form is created. A big time-saver.
Other nifties:
Visit rocketgenius.com and check out Gravity Forms. It’s not expensive to use on a single site but I have a Developers License so if you are already a client (or want to become a WordPress client) you can have it for free.
Flip side: The article below explains how to use Wufoo and WordPress together. I have little experience with Wufoo but it does seem easy to use. He notes that Wufoo is able to take cc transactions – but the new Gravity Forms 1.5 integrates easily with PayPal. He mentions there is a good reporting feature set that wufoo offers (data visualization). His main concern with gravity forms is about support but I have had fantastic support from them. Read How to combine Wufoo and WordPress for easy custom web forms | Out:think.
There are a couple other WordPress form building plugin options but each has issues—and neither actually stores the data submitted into the WordPress database.