Following the upgrade instructions in the readme.txt.
Step 4 gives the following error in the browser when accessing upgrade.php page:
Warning: Undefined variable: PGV_MEMORY_LIMIT in /var/www/phpGedView/session.php on line 114
Fatal error: Allowed memory size of 0 bytes exhausted (tried to allocate 84 bytes) in /var/www/phpGedView/session.php on line 117
This is caused by the missing config values in the config.php from 2.65 (manually adding this one works, but then next missing value shows up). Shouldn't the upgrade.php first 'upgrade' the old config file before using it or maybe use some default values if these values don't exist?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The PGV_MEMORY_LIMIT variable was added in version 2.65.3. I will update the code to set a default value so that it will work in versions of 2.65.x prior to 2.65.3.
--John
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Following the upgrade instructions in the readme.txt.
Step 4 gives the following error in the browser when accessing upgrade.php page:
Warning: Undefined variable: PGV_MEMORY_LIMIT in /var/www/phpGedView/session.php on line 114
Fatal error: Allowed memory size of 0 bytes exhausted (tried to allocate 84 bytes) in /var/www/phpGedView/session.php on line 117
This is caused by the missing config values in the config.php from 2.65 (manually adding this one works, but then next missing value shows up). Shouldn't the upgrade.php first 'upgrade' the old config file before using it or maybe use some default values if these values don't exist?
Hi Hans,
Thank you for reporting this.
The PGV_MEMORY_LIMIT variable was added in version 2.65.3. I will update the code to set a default value so that it will work in versions of 2.65.x prior to 2.65.3.
--John