Article ID: 120630, created on Mar 20, 2014, last review on May 10, 2014

  • Applies to:
  • Plesk 11.0 for Linux


A site cannot be opened in Web Presence Builder. The following error appears in log file /var/log/sw-cp-server/error_log:

PHP Fatal error:  Call to undefined method ProtDirUser::getPassword() in /usr/local/psa/admin/plib/class.ProtDir.php on line 677


The root directory of the domain assigned to a Web Presence Builder (WPB) site is password protected.


  1. Find protected directory on Plesk domain assigned to the WPB site:

    mysql> select as domain, pd.path as "protected directory" from psa.protected_dirs pd, d where;
    | domain | protected directory |
    | %domain.tld% | %pd_name% |

  2. Delete the password protection for the directory:

    ~# /usr/local/psa/bin/protdir --remove %pd_name% -domain %domain.tld%

Search Words

Call to undefined method ProtDirUser


Call to undefined method ProtDirUser::getPassword() in /usr/local/psa/admin/plib/class.ProtDir.php


cannot open a site in WPB


a site cannot be opened

web pressence builder

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838 aea4cd7bfd353ad7a1341a257ad4724a 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF