Menu

#2898 PGV not working in PHP 5.4.0

v4.3.0
closed-fixed
None
9
2012-09-20
2012-09-19
miron
No

PGV 4.3.0 (SVN) doesn't support PHP 5.4. In particular, import_request_variables() is used in editconfig_gedcom.php and uploadgedcom.php, was removed in PHP 5.4 (and deprecated in 5.3). This result in blank white pages when trying to upload/add/create GEDCOM file after the initial configuration is completed.

Discussion

  • Gerry Kroll

    Gerry Kroll - 2012-09-20
    • priority: 5 --> 9
    • assigned_to: nobody --> canajun2eh
    • summary: PHP 5.4 Support --> PGV not working in PHP 5.4.0
     
  • Gerry Kroll

    Gerry Kroll - 2012-09-20
    • status: open --> closed-fixed
     
  • Gerry Kroll

    Gerry Kroll - 2012-09-20

    Fixed in SVN 7075.

    Replaced the calls to the function import_request_variables() with calls to a roll-your-own function import_req_variables().

    Affected scripts: editconfig_gedcom.php, uploadgedcom.php, and includes/functions/functions_import.php

     
  • Gerry Kroll

    Gerry Kroll - 2012-09-25

    See bug report 3571316 (just above this one) for a downloadable patch file to fix this problem.

    Download the ZIP file, expand it on yourlocalPC, and then copy the result (4 files, one of which is in directory "includes/functions") to the server directory where PhpGedView is installed.

     

Log in to post a comment.