Troubleshooting

Blank page (Frontdesk)

A blank page usually indicates a configuration error has occurred. Frontdesk is set up to hide errors from your members, so a blank page is displayed instead.

To view the error, check your site's error log - More details can usually be found there.

If you don't have easy access to your error log, you can set up Frontdesk to display the error in your web browser. To do so, add the following lines...

error_reporting(E_ALL);
ini_set('display_errors', 1);

...after this line...

<?php

...in /frontdesk/app/frontdesk.php.

500 Internal Server Error (Password Robot, Password Administrator)

  • Check your site's error log. More details can usually be found there.
  • Make sure each .cgi file has 755 permissions set on them.
  • If you're still getting the error, you can set up PR or PA display error details in your web browser. To do so, add the following lines...

    use CGI;
    use CGI::Carp qw(warningsToBrowser fatalsToBrowser);

    ...after this line...

    #!/usr/bin/perl

    ...in /cgi-bin/pa/pa.cgi, /cgi-bin/pa/pa4.cgi, or /cgi-bin/pr/pr.cgi.

  • Backup

    Here we'll use an FTP client (like CuteFTP) to download a copy of the app and data from your server.

    And if you're running Password Robot or Frontdesk, you'll use a database manager (phpMyAdmin) to export (save a copy of) the program's MySQL database.

    Frontdesk

    1. Download the /frontdesk folder.
    2. Download the .htaccess file from your password protected directory.
    3. Use phpMyAdmin to save a copy of the Frontdesk database table.

    Password Robot

    1. Download the /cgi-bin/pa and /pa4 folder.
    2. Download the .htaccess file from your password protected directory.
    3. Use phpMyAdmin to save a copy of the Password Robot database table.

    Password Administrator

    1. Download the /cgi-bin/pa and /pa folders.
    2. Download the .htaccess file from your password protected directory.

    Restore

    Re-install using the backup created above. You can find more information on the installation process in the docs linked at the bottom of this page.

    Frontdesk

    1. Update the MySQL database settings in /frontdesk/app/frontdesk.ini as necessary.
    2. Upload the files.
    3. Use phpMyAdmin to import the Frontdesk database table.
    4. Test.

    Password Robot

    1. Update the MySQL database and file location path settings in /cgi-bin/pr/pr_config.cgi as necessary.
    2. Upload the files.
    3. Set 755 permissions on the .cgi files, 666 permissions on the .txt files and pr_config.cgi.
    4. Use phpMyAdmin to import the Password Robot database table.
    5. Test.
    6. Try setting (more secure) 600 permissions on the .txt files and test again.

    Password Administrator

    1. Update the file location path settings in /cgi-bin/pa/pa_config.cgi as necessary.
    2. Upload the files.
    3. Set 755 permissions on the .cgi files, 666 permissions on the .txt files and pa_config.cgi.
    4. Test.
    5. Try setting (more secure) 600 permissions on the .txt files and test again.