Menu

Site is currently unavailable

Help
2009-12-08
2013-05-30
  • Klaus Baerthel

    Klaus Baerthel - 2009-12-08

    During installation (after creating config), the error "Site is currently unavailable" appears.
    Does anyone know what can be wrong?
    There where no errors before?

    That looks very like another issue which was locked by Jan on 2009-02-28. I have found these notes but I couldn't see a solution. Sorry.

    Details: Windows XP, Apache server; PHP 5.3, PHP is running
    My only presumption: there is something wrong with the file permission since I haven't understand section B of the installation description "Required  File Permissions" and did nothing here.

    Could anyone help, please?

     
  • Mark Hattam

    Mark Hattam - 2009-12-08

    Permissions in XP are a little different to those in Unix.

    You are progressing through the install by clicking the bottom right hand corner "next" button, and not using the 1, 2, 3, 4, … list down the left hand side, aren't you?

    Mark

     
  • Greg Roach

    Greg Roach - 2009-12-08

    The error means that PGV cannot contact the database.

    During install/config, it connects using the settings you type in to the form.

    These are saved to the config.php (in step 6).

    Once you finish config, and try to do anything else, the db connection settings are read from config.php.

    My guess is that the install failed to write to config.php.  Check that this file is writable (writable by your web-server, not necessarily by you).

    If all else fails, you can edit the config.php file using notepad.  Most of the settings are self-explanitory.  However, you may then run in to the same file-permissions problems when PGV needs to write files in your index/ directory.

     
  • Greg Roach

    Greg Roach - 2009-12-08

    Actually, on second thoughts.

    If you're seeing the "site unavailable" message, it means that PGV must have written config.php at least once (to set the $SCONFIGURED setting to true).

    I'd suggest you edit the config.php file in notepad, and check the DB connection settings.

     
  • Klaus Baerthel

    Klaus Baerthel - 2009-12-09

    Many thanks to all of you. It's very good to see there are some they really support people like with many gaps of knowledge.

    Now it works. What I did? I tried a lot but the following approach was successful:

    I have deleted the whole PGV folder and have created a new one. But **before** I have started the configuration I have created a MySQL table called phpGedView using the root user for MySQL. After that I could do the PGV configuration without any issue.
    I haven't any explanation to but it works.

    Many thanks
    Klaus

     
  • Anonymous

    Anonymous - 2009-12-09

    Klaus

    Good that you have it working now.

    I'm sure that if you check the install instructions you will find they do say that a MySQL database is required BEFORE you install PGV.

     
  • Klaus Baerthel

    Klaus Baerthel - 2009-12-09

    Yes, I have overlooked that small sentence. Sorry for all that trouble.

    Regards & Thanks
    Klaus

     

Log in to post a comment.