Menu

Installation Issue

Help
2010-08-20
2013-05-30
  • Gregory Reher

    Gregory Reher - 2010-08-20

    I am new to PhpGedView, so please bear with me.  I installed the most recent version of the program on my site yesterday (http://familytree.gregoryreher.com/phpgedview/) and when attempting to open it the following error is displayed in the browser:

    Parse error: syntax error, unexpected '{' in /nfs/c04/h04/mnt/84327/domains/familytree.gregoryreher.com/html/phpgedview/includes/session.php on line 273

    Any help would be greatly appreciated.
    Thanks,
    Greg

     
  • Stephen Arnold

    Stephen Arnold - 2010-08-20

    Greg
    What version did you install? PGV v4.2.3+ SVN from a tarball, or the v4.2.3 release from last December (ancient)?

    My sessions.php has line 273 as

    * Cleanup some variables

    and nothing with a "{" character above or below one line.

    You may be able to substitute the most recent version (there have been many changes) without conflict if there were no interdependencies in the file changes, although normally I would not recommend this. The most recent version can be downloaded via this link:
    http://phpgedview.svn.sourceforge.net/viewvc/phpgedview/trunk/phpGedView/includes/session.php?revision=6950

    -Stephen

     
  • Gregory Reher

    Gregory Reher - 2010-08-20

    I installed 4.2.3 (the latest download) but it was from the source ZIP file PhpGedView-all-4.2.3.zip, not the tarball.  I'll try downloading the one from the link and replacing it to see what happens.

     
  • Gregory Reher

    Gregory Reher - 2010-08-20

    Downloaded the updated session.php file and still have the error, but now on another line.  Will delete install, start over with updated tarball and see what happens.

    Parse error: syntax error, unexpected '{' in /nfs/c04/h04/mnt/84327/domains/familytree.gregoryreher.com/html/phpgedview/includes/session.php on line 316

     
  • Stephen Arnold

    Stephen Arnold - 2010-08-20

    Greg
    there are dozens of minor bug fixes in the SVN, which has only one major EDIT FAMILY bug at this time - otherwise very stable. I certainly would, as I have previously, recommend this over the old release version.
    -Stephen

     
  • Gregory Reher

    Gregory Reher - 2010-08-20

    Thank you.  I will try this and see what happens.  Will post the results.  Thanks!

     
  • Stephen Arnold

    Stephen Arnold - 2010-08-20

    BTW, this is the DB connection section of sessions.php. It is trying to escape the PW and check schema updates. You may have incorrectly installed PGV. A full copy and replace may help, but you may need to return to the CONFIG.PHP (accessed via Install.php script). It may be necessary to replace the CONFIG.PHP with a virgin copy and start your setup again.
    -Stephen

     

Log in to post a comment.