Technote Details :: Redirect to page after transaction executes issue

Issue

After loading a page with an Insert or Update transaction, and executing it, instead of being redirected to the page specified when applying the wizard, I get a 404 Page not found error. The page specified in the redirect field exists in the folder specified.

  • Products: All InterAKT products that use redirects.

  • Operating System: All.

  • Server Models: All.

  • Dreamweaver version: any.

Reason

This happens because the path to the page to open after the transaction is completed is relative to the site root, instead of it being relative to the current document. More exactly, when specifying the page to open, the folder containing it was added to the path.

Solution

In order to correct this problem and make the redirect to page after transaction executes work, you must edit the server behaviors added by each wizard, and instead of site root relative paths, use document relative paths (e.g. for the Insert form on the insert.php page in the tests folder, which should open the index.php page situated in the same folder, you must not enter as redirect to path: test/index.php, but simply index.php).


Home > Support > Knowledge Base > Technote Details
Search the Knowledge Base
© Adobe Systems Romania. All rights reserved.