Moving programming environment fra Win10 PC to Win11 PC.
PhpMaker v2023 works as expected on new PC but v2020 cannot generate scripts but ends with below errors.
Needless to say, exact same project generates correctly on old PC.Tried reinstalling v2020, but no change.Errors:
…
Generating ewcfg.php…
undefined:4
^
TypeError: Cannot read properties of undefined (reading ‘DBID’)What could be wrong here?tia
For the best experiences, try to always use the latest version as possible.
If I were you, I will never used the older versions anymore. Even using v2022, I never used it anymore.
I always use the latest version, as of today is v2023.
I agree.But PHPMaker v2021 changed to use tunnel.php instead of phpmaker.php to syncronize with remote database and for some reasom this does not work with the hosting provider I am forced to use.So the only reason I need v2020 is to get possible changes in database structure into the v2020 project file, and I then manually modify the v2023 project file.I just have too many project running in this environment.sigh…
You better make the plan to migrate to v2023 for all of your web application, just like I did for most of my generated web application that use the older versions of PHPMaker. I strongly recommend you not to continue using v2020 anymore.There are too many possibilities and causes why v2020 won’t work anymore. It could be caused by the different version of node that used by it, maybe. It could be caused by the different Composer version, maybe, and so forth, and so forth.