Menu

Fatal error after re-install

Help
Anonymous
2010-10-10
2013-05-30
  • Anonymous

    Anonymous - 2010-10-10

    I had PGV working on my new domain (new ISP). After adding the Google Analytics and a later change to my gedcom-administration, I received error-messages on the pages.
    My plan was to make a complete new start. I have therefore the complete map with the pgv-files deleted, as well as the database.

    After a fresh update off all the files from the PhpGedView-basic-4.2.3.zip I receive the following message from the page install.php:

    Fatal error: Uncaught exception 'PDOException' with message 'No Connection Established' in /data/home/elz24eu/domains/den-elzen.net/public_html/pgv/includes/classes/class_pgv_db.php:699 Stack trace: #0 /data/home/elz24eu/domains/den-elzen.net/public_html/pgv/includes/functions/functions_db.php(2698): PGV_DB::prepare('UPDATE pgv_user…') #1 /data/home/elz24eu/domains/den-elzen.net/public_html/pgv/includes/authentication.php(125): set_user_setting() #2 /data/home/elz24eu/domains/den-elzen.net/public_html/pgv/includes/session.php(658): userUpdateLogin('ron', 'sessiontime', 1286714147) #3 /data/home/elz24eu/domains/den-elzen.net/public_html/pgv/config.php(75): require_once('/data/home/elz2…') #4 /data/home/elz24eu/domains/den-elzen.net/public_html/pgv/install.php(42): require_once('/data/home/elz2…') #5 {main} thrown in /data/home/elz24eu/domains/den-elzen.net/public_html/pgv/includes/classes/class_pgv_db.php on line 699

    Does anybody have an idea what went wrong?

     
  • Anonymous

    Anonymous - 2010-10-10

    I tried the same, but now with the complete package; PhpGedView-all-4.2.3.zip.
    The result unfortunatly is the same error message.

    The message is speaking about PDO. I have however no PDO dll-file deleted, just as mentioned before the map pgv and the database. A new database is already created, but I'm still receiving the error.

    Please advice

     
  • Anonymous

    Anonymous - 2010-10-10

    With PhpMyAdmin I can reach the (empty) database

     
  • Stephen Arnold

    Stephen Arnold - 2010-10-10

    Ron
    First, I would not recommend using 4.2.3 from Dec 2009 as there have been more than several bug fixes in the SVN code and one rather serious privacy fix. Use the SVN tarball.

    Second, when you said you have PGV working, what version? 4.2.3? Is not, it may be that you do not have the PDO extension activated in your MySQL database. You are using MySQL aren't you?  You will need to be sure, using a phptest.php file, that your configuration includes PDO-MySQL and that it is active.
    Fatal error: Uncaught exception 'PDOException' with message 'No Connection Established'
    -Stephen

     
  • Anonymous

    Anonymous - 2010-10-10

    I've got it working. I created a new folder (with a different name) and added the PGV-files. The installation worked further as expected.

    Okbigkid, thanks for your advice.

     

Log in to post a comment.