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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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
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.
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
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
Thank you. I will try this and see what happens. Will post the results. Thanks!
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