Older url does not work?

I’ve downloaded the latest and greatest PHPmaker as of 21st Sept and set up an older project from the 2020 version of PHPM. After uploading the usual url doesn’t work. Everything worked fine with PHPMaker 2020 (last year’s). It generates OK, uploads OK and is up on the server ok - but I cannot access it. Installed Composer and it’s working, have the latest PHP etc. Any ideas would be appreciated!

Read Migrating to v2021: https://phpmaker.dev/doc/migrate2021.htm, see the “Routing” section:

If you have any code that specifies a URL (e.g. pageRedirecting server event), you need to update it. In general, simply remove “.php” and the parameter names for the primary key fields, and separate them by “/”, e.g. change carsview.php?ID=1&foo=bar to carsview/1?foo=bar.

To setup URL Rewrite, see: https://discourse.hkvstore.com/t/migrating-to-v2022/655/1

You may check the Start Page first, if you specify, for example, “mypage.php”, you should update it to “/mypage”.

To debug, you may click Tools → Advanced Settings, enable Debug, generate config.php and run your scripts again. Check the error log under log folder (e.g “log”) you specified under the PHP → General Options → Audit Trail tab in the UI.

You better post the exact error message and the source code around the error line so other users here can try to help.

Cured - it was the Rewrite Base box and a URL needed to be inserted in advanced settings.

Thanks Arbei.