Menu

No emails sent and no internal messages either.

Help
Ricardo B
2018-04-17
2018-04-20
  • Ricardo B

    Ricardo B - 2018-04-17

    I am using PHPgedView 4.2.4 PHP 5.3 (there is available 5.4, 5.6 and 7.0). My host provider have a free account, which is enoght for my needs, but, now they have cut out the hability to send emails, so, can I use an gmail account to send my emails? If so, how can I do that? Also, the internal message are not working, where can I check to vfy the problem.

     
  • Rod McInnes

    Rod McInnes - 2018-04-17

    I can't comment on Gmail, but I lost the ability to send internal messages and e-mails with 4.2.4 , just prior to one of my sites stopping altogether. I just upgraded that site to the latest version of phpgedview and all works again. My second site, which was okay, is now showing errors so I'll have to upgrade that one too.

     

    Last edit: Rod McInnes 2018-04-17
  • Ricardo B

    Ricardo B - 2018-04-19

    I did the update to v 4.3.0, now I cant reach anything, I get this message:
    Fatal error: Uncaught exception 'PDOException' with message 'No Connection Established' in /home/u617863746/public_html/PhpGedView/includes/classes/class_pgv_db.php:717 Stack trace: #0 /home/u617863746/public_html/PhpGedView/includes/functions/functions_db.php(2632): PGV_DB::prepare('SELECT setting_...') #1 /home/u617863746/public_html/PhpGedView/includes/session.php(537): get_user_setting('1', 'language') #2 /home/u617863746/public_html/PhpGedView/config.php(83): require_once('/home/u61786374...') #3 /home/u617863746/public_html/PhpGedView/install.php(43): require_once('/home/u61786374...') #4 {main} thrown in /home/u617863746/public_html/PhpGedView/includes/classes/class_pgv_db.php on line 717

    Now I have no ideia what to do. I do not know any code/programing, all I did was transfer via stp client to the file PhpGedView, so, now what do I do?

     
  • Gerry Kroll

    Gerry Kroll - 2018-04-19

    Your configuration is bad. The database connection parameters are either missing or incorrect.

    You can either manually edit the file "config.php" or you can replace that config.php file with a copy of the "config.dist" file, but renamed to "config.php".

    This will reset your installation to the initial state. Enter the correct database connection information, and you should then be OK to go.

    Just out of interest:
    Did you follow the published upgrade instructions that tell you to delete everything in the PhpGedView directory except the file "config.php" and the directories "index" and "media", and to then copy the new set of files to that same PhpGedView directory?

     
  • Ricardo B

    Ricardo B - 2018-04-20

    No, I did not delete anything. As for editing the file "config.php", how do I do that, and what should I edit?

     
  • Gerry Kroll

    Gerry Kroll - 2018-04-20

    Please e-mail me directly at gkroll (at) keldine (dot) ca

    I would like to examine the installation, using FTP. I'll need the FTP information -- Host address or URL, FTP userid, FTP password.

    For obvious reasons, this information must not be posted on this site.

     
  • Gerry Kroll

    Gerry Kroll - 2018-04-20

    It's possible that you're trying to use a PHP version that's too old.

    Since you have installed PhpGedView version 4.3.0, you can safely begin using PHP version 7. It's possible that this change will cure your PDO problem.

    However, there are a few minor problems with PhpGedView version 4.3.0 that have been fixed in the "SVN" version. The most obvious one is that thumbnails created automatically by PhpGedView version 4.3.0 when you upload JPG images have very poor image quality. There's a patch file that specifically addresses this problem. I suggest that you install this patch file and wait for the rest of the version 4.3.1 updates, to be published later. For your convenience, I have attached the file "includes/functions/functions_mediadb.php" that addresses this problem and another one that only occurs in PHP versions 7.2 or higher.

    To install this patch, copy the attached file to the "includes/functions directory" of your PhpGedView 4.3.0 installation on the server.

    If you wish, you can download the entire "SVN" version as a snapshot of the SVN repository, and install the whole works to replace the existing 4.3.0 installation. As recommended previously, you can either just overwrite everything or you can preserve the "config.php" file and the "index" and "media" directories before deleting everything else and then copying the whole works to the server. Either method will work, but the first (just overwriting) will allow a couple of files that aren't used by 4.3.1 (the "SVN" version) to stick around. They won't do any harm.

     

Log in to post a comment.