my host one.com upgraded my page to php 5.3, only problem the php gedview that I access from that page only shows warnings. How can I access my gedview so that I can update it, which must be the problem? I am only a user, no programming skills.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
URL http://www.thebacchus.eu/phpgedview/ I´m not sure but it was the latest when I made the page in April 2009, I just need to be able to access the page to find that out so I know how to upgrade.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, the good news is that underneath all the errors, your site appears to be OK.
You are using PGV4.2.1, which uses the Pear::DB library. It looks as if there is a mis-match in this library. i.e. it could be using some files from one version of Pear::DB and some other files from a different version.
Can you create a file called phpinfo.php containing the following two lines, and upload it to the server.
<?php
phpinfo();
This will give me some diagnostic information about your server, and help me to decide what to do next.
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just remember to save your file with the "dot-php" extension and you should be fine. As long as it has the right name as Greg indicated, it should work when you upload it to your webspace.
Good Luck and Welcome to PGV !
RL
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your Pear::DB library appears to be broken. If you have PHP/PDO enabled, then the simplest solution is to upgrade to the latest PhpGedView. If you don't, then you need to keep your current version of PhpGedView and get your Pear::DB library fixed. This will be a job for your server's administrator.
Without the output from the phpinfo(); script, it is hard to make this decision.
Try again, but this time don't use open office. Use a text editor, such as notepad.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thirdly the bit about making backups is important. Please do it. The upgrade process is normally reliable, but without a backup, it is hard to fix things that may have gone wrong.
Fourthly, if you don't understand anything in the upgrade procedure, please stop and ask here before proceeding.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for that, will do, but now I´m trying to figure out how to access the admin user page so that I can upgrade. How do I get beyond the errors and warnings?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
<<I´m trying to figure out how to access the admin user page so that I can upgrade. How do I get beyond the errors and warnings? >>
You can't - and you don't need to. The steps about disabling interactive edits, etc., aren't really applicable, as you can be pretty sure nobody will be logged in and editing, etc.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Upgrading, at its simplest, involves deleting most of the files on your server, and uploading new ones to replace them.
Since your current installation is badly broken, you cannot perform the compatibility checks - but I have done this for you (with the phpinfo.php script).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Upgraded and did some sanitary check, was at the admin configuration page, not changing anything just looking at t it and clicked one of the next buttons and then it was "error" page, not like before, some ten lines, like a text. I closed and opened PGV again. It has the "site currently unavailable". I must have missed something because that probably means that the configuration is not OK.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The database connection parameters in your config.php file do not correspond to a working/accessible database. Look at your config.php file, and review the following parameters:
$DBTYPE="mysql";//-- type of database to connect when using the PHP/PDO$DBHOST="localhost";//-- Host where MySQL database is kept$DBPORT="";//-- Database port, leave blank for default$DBUSER="root";//-- MySQL database User Name$DBPASS="";//-- MySQL database User Password$DBNAME="phpgedview";//-- The MySQL database name where you want PHPGedView to build its tables
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
my host one.com upgraded my page to php 5.3, only problem the php gedview that I access from that page only shows warnings. How can I access my gedview so that I can update it, which must be the problem? I am only a user, no programming skills.
Well, marbacc, you'll need to either tell us what the errors are - or better still post the URL so we can see them ourselves…..
Also … what version of phpGedView are you using?
URL http://www.thebacchus.eu/phpgedview/ I´m not sure but it was the latest when I made the page in April 2009, I just need to be able to access the page to find that out so I know how to upgrade.
Well, the good news is that underneath all the errors, your site appears to be OK.
You are using PGV4.2.1, which uses the Pear::DB library. It looks as if there is a mis-match in this library. i.e. it could be using some files from one version of Pear::DB and some other files from a different version.
Can you create a file called phpinfo.php containing the following two lines, and upload it to the server.
<?php
phpinfo();
This will give me some diagnostic information about your server, and help me to decide what to do next.
Greg
I´m kind of an idiot at this, have tried to find file-converter for .doc or .odt to .php. Downloaded DocConverter but no .php? any suggestions?
Hello marbacc -
Many budding "webmasters" recommend Notepad-Plus found right here at Sourceforge: https://sourceforge.net/projects/notepad-plus/
Just remember to save your file with the "dot-php" extension and you should be fine. As long as it has the right name as Greg indicated, it should work when you upload it to your webspace.
Good Luck and Welcome to PGV !
RL
file phpinfo.php is now on my server, containing
<?php
phpinfo();
Hope I did it right. Many thanls for helping me.
I don't know what you did, but it hasn't worked.
Your Pear::DB library appears to be broken. If you have PHP/PDO enabled, then the simplest solution is to upgrade to the latest PhpGedView. If you don't, then you need to keep your current version of PhpGedView and get your Pear::DB library fixed. This will be a job for your server's administrator.
Without the output from the phpinfo(); script, it is hard to make this decision.
Try again, but this time don't use open office. Use a text editor, such as notepad.
Tried again, now there is a file called phpinfo.php with the required text in it. Wrote that in notepad
This time you created a folder called phpinfo.php, and put the file (of the same name) inside the folder. But I managed to work it out….
Yes - you do have PHP/PDO for MySQL enabled - which means you can upgrade from PhpGedView 4.2.1 to the latest version 4.2.3.
PGV4.2.3 does not have a dependency on your misconfigured Pear::DB library, and should fix all these problems.
Firstly, delete this phpinfo.php file/folder you just created. It is no longer needed.
Secondly, there are detailed upgrade instructions at http://wiki.phpgedview.net/en/index.php?title=Upgrading
Thirdly the bit about making backups is important. Please do it. The upgrade process is normally reliable, but without a backup, it is hard to fix things that may have gone wrong.
Fourthly, if you don't understand anything in the upgrade procedure, please stop and ask here before proceeding.
Thanks for that, will do, but now I´m trying to figure out how to access the admin user page so that I can upgrade. How do I get beyond the errors and warnings?
<<I´m trying to figure out how to access the admin user page so that I can upgrade. How do I get beyond the errors and warnings? >>
You can't - and you don't need to. The steps about disabling interactive edits, etc., aren't really applicable, as you can be pretty sure nobody will be logged in and editing, etc.
Reading Upgrading… Before you start it seems like you have to do the upgrading from the Admin page which I can not access,.
Upgrading, at its simplest, involves deleting most of the files on your server, and uploading new ones to replace them.
Since your current installation is badly broken, you cannot perform the compatibility checks - but I have done this for you (with the phpinfo.php script).
One final thing. After the upgrade you are asked to re-import each of your gedcoms. Before doing this, click the "export" link for each of them.
(This step may not be necessary, but will fix any issues caused by your DB and filesystem being out of sync)
Upgraded and did some sanitary check, was at the admin configuration page, not changing anything just looking at t it and clicked one of the next buttons and then it was "error" page, not like before, some ten lines, like a text. I closed and opened PGV again. It has the "site currently unavailable". I must have missed something because that probably means that the configuration is not OK.
The database connection parameters in your config.php file do not correspond to a working/accessible database. Look at your config.php file, and review the following parameters: