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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
kbaer
take a look at this very recent thread. It is imperative that permissions be properly set or your site will not work.
https://sourceforge.net/projects/phpgedview/forums/forum/185166/topic/3480454
stephen
: https://sourceforge.net/projects/phpgedview/forums/forum/185166/topic/3480454
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
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.
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.
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
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.
Yes, I have overlooked that small sentence. Sorry for all that trouble.
Regards & Thanks
Klaus