DB Helper

Hi

Recently moved from 2017 to 2020 slowly sorting things - I do get this error on a custom page

Warning: include_once(ewdbhelper12.php): failed to open stream: No such file or directory in /var/www…

The file does not exist

If I remove the line myself the error goes away but when I generate the files in PHPMaker it gets put back


Regards
John B

  1. Read https://discourse.hkvstore.com/t/migrating-to-v2022/655/1 first.
  2. You can safely remove it, DB helper is not required any more. New version does not include any old files. You may double check your server events and make sure you don’t include it yourself. Do not try to use any old template or old extensions with new version.

You may refer to the demo project that related to v2020; see the code in “home.php” custom file.