Return Pages to List Page does not work

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mobhar
User
Posts: 11726

Return Pages to List Page does not work

Post by mobhar »

It seems the Return Pages to the List Page does not work for "After add" and "After edit".

Please do the following steps to reproduce the issue:

1. Open the demo project by using PHPMaker v2021,
2. Click on the "suppliers" table from "Database" pane,
3. Click on "Table" tab setup,
4. Go to "Table Options" -> "Return Pages" -> and then choose "List Page" both for "After add" and "After edit",
5. Re-generate ALL the script files,
6. Run the generated web application via browser and login using username/password: admin/master,
7. Click on "OTHER TABLES" -> "suppliers" menu on sidebar,
8. Add a new record (will open Add Page) and then save it, now you will be redirected to the "views/SuppliersList.php" URL which will raise 404 Not Found error,
9. The same issue also happened when you edit a record using Edit Page and then save it.

I am using PHPMaker v2021.0.2 with template date = "2020/10/09" and version="17.0.2.3".

Webmaster
User
Posts: 9427

Post by Webmaster »

Please update to the latest template (Tools -> Update Template) and try again.

mobhar
User
Posts: 11726

Post by mobhar »

After updating to the latest template, now it works properly. Thank you.

Niijimasama
User
Posts: 85

Post by Niijimasama »

Webmaster wrote:
> Please update to the latest template (Tools -> Update Template) and try again.
Works for me too.

Post Reply