Article ID: 113171, created on Jan 17, 2012, last review on Aug 12, 2014

  • Applies to:
  • Web Presence Builder
  • Plesk 10.4 for Linux/Unix
  • Plesk Sitebuilder for Linux/Unix

Symptoms

This is about Parallels Plesk Panel 10.4 and Web Presence Builder 10.4.

Create a site with module "Contact Form". In Parallels Plesk Panel set PHP run as "FastCGI application":

Websites & Domains > plesk104.domain.tld > Web Scripting and Statistics
--->8---
PHP support (run as [FastCGI application])
---8<---


Publish the site and try using the "Contact From". Complete required fields: Name*, E-Mail*, Message* and fill in Captcha, click "Send e-mail". The following notification is shown even the Captcha was correct:

--->8---
The text you entered does not match the text provided in the picture.
---8<---


Here is error in domain's log file:

/var/www/vhosts/plesk104.domain.tld/statistics/logs/error_log
--->8---
[Tue Jan 17 06:29:12 2012] [warn] [client 192.168.34.170] mod_fcgid: stderr: PHP Warning:  session_start(): open(/var/lib/php/session/sess_kl37i6qr4hcn9ubas8d7ocu482, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/plesk104.domain.tld/httpdocs/modules/contact/send.php on line 3, referer: http://plesk104.domain.tld/home/
[Tue Jan 17 06:29:12 2012] [warn] [client 192.168.34.170] mod_fcgid: stderr: PHP Notice:  Undefined index: captcha_keystring in /var/www/vhosts/plesk104.domain.tld/httpdocs/modules/contact/send.php on line 8, referer: http://plesk104.domain.tld/home/
[Tue Jan 17 06:29:13 2012] [warn] [client 192.168.34.170] mod_fcgid: stderr: PHP Warning:  Unknown: open(/var/lib/php/session/sess_kl37i6qr4hcn9ubas8d7ocu482, O_RDWR) failed: Permission denied (13) in Unknown on line 0, referer: http://plesk104.domain.tld/home/
[Tue Jan 17 06:29:13 2012] [warn] [client 192.168.34.170] mod_fcgid: stderr: PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0, referer: http://plesk104.domain.tld/home/
---8<---

Resolution

The problem will be fixed in future update of Parallels Plesk Panel that will be released after 10.4.4.
Hotfix for version 10.4.4 is attached. It allows using the "Contact Form" module when PHP runs as “FastCGI application".

Download the archive and install it to Parallels Plesk Panel 10.4 server using the following command:

~# unzip -f wpb_10.4.4_patch_93746.zip -d /usr/local/sb

NOTE: the hotfix resolves the issue for new sites. To apply the fix to published site you should remove file *_publication_list.xml from site's publishing location and publish the site again.
Since the site is published to Plesk domain, the file is located in domain's virtual host directory. Use the following command to remove the file:

~# rm -f /var/www/vhosts/plesk104.domain.tld/httpdocs/*_publication_list.xml

Remember to publish the site through Wizard: click button "Publish" in top right corner of the main Web Presence Builder menu.

Attachments

e8756e9388aeca36710ac39e739b2b37 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040 d055be4fdc562a8ecb8e6d0bf419f946 fad6dc0c8e983c17ae70a51ac7952cd0 9305481d3bd31663b68451e3bfdec5a5 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF