Menu

homepage updated, cannot access phpgedview

Help
2010-02-05
2013-05-30
  • marie bacchus

    marie bacchus - 2010-02-05

    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.

     
  • Greg Roach

    Greg Roach - 2010-02-05

    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…..

     
  • Mark Hattam

    Mark Hattam - 2010-02-05

    Also … what version of phpGedView are you using?

     
  • marie bacchus

    marie bacchus - 2010-02-05

    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.

     
  • Greg Roach

    Greg Roach - 2010-02-05

    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

     
  • marie bacchus

    marie bacchus - 2010-02-06

    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?

     
  • roland_l

    roland_l - 2010-02-06

    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

     
  • marie bacchus

    marie bacchus - 2010-02-07

    file phpinfo.php is now on my server, containing
    <?php
    phpinfo();
    Hope I did it right. Many thanls  for helping me.

     
  • Greg Roach

    Greg Roach - 2010-02-07

    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.

     
  • marie bacchus

    marie bacchus - 2010-02-07

    Tried again, now there is a file called phpinfo.php with the required text in it. Wrote that in notepad

     
  • Greg Roach

    Greg Roach - 2010-02-07

    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.

     
  • marie bacchus

    marie bacchus - 2010-02-08

    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?

     
  • Greg Roach

    Greg Roach - 2010-02-08

    <<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.

     
  • marie bacchus

    marie bacchus - 2010-02-08

    Reading  Upgrading… Before you start it seems like you have to do the upgrading from the Admin page which I can not access,.

     
  • Greg Roach

    Greg Roach - 2010-02-08

    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).

     
  • Greg Roach

    Greg Roach - 2010-02-08

    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)

     
  • marie bacchus

    marie bacchus - 2010-02-14

    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.

     
  • Greg Roach

    Greg Roach - 2010-02-14

    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
    
     

Log in to post a comment.