Re: Sorry, the page (process) was not found

David Christensen <[email protected]> Mon, 9 Apr 2018 20:19:10 -0500
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
> On Apr 9, 2018, at 3:00 PM, Davideth <[email protected]> wrote:
> 
> In one of our carts ( recently set up ), when clicked on [Checkout Now] or when doing admin/login, I am getting a "Sorry, the page (process) was not found" . This is actually occuring whenever the process is called on such as Remove an item.
> 
> It is working fine in one cart but not in the other?
> 
> Any hints as to where to look. I assume it is a permissions error and we have had to fix a number of those.


That error can happen when there are no mv_action or other action (mv_todo, mv_check, etc) variables to tell the process action map what to do; a couple ideas:

- check for http redirects that are not preserving CGI vars; this could be http -> https, POST -> GET, etc
- session-less state (either the robots.txt not assigning a session or using caching so you’re not assigned a real session), where a specific page does not have the form profile contents inside the session.  You’d want to check for where the ‘Remove an item’ or whatever is defined; it should be something like:

[set Remove an item]
…
[/set]

- hitting a page which has not defined the form profile yet, basically the same reason as above.

In the strap catalog, you can see an example of the in-page form profiles defined in include/login_form:

[set Log In]
  mv_nextpage=@@MV_PAGE@@
[/set]

<form action="[process secure=1]" method="POST" class="form-inline alert alert-info">
<fieldset>
[form-session-id]
<input type="hidden" name="mv_todo"     value="return">
<input type="hidden" name="mv_nextpage" value="ord/checkout">
<input type="hidden" name="mv_check"    value="Log In">
<input type="hidden" name="mv_click"    value="Login">

…

Here, the mv_todo and mv_check variables define how the process action map should handle things, so the “mv_check” will have it make sure the in-session-defined scratch variable of the same name will have its checks run.

See more of the docs here:

http://interchange.rtfm.info/icdocs/Interchange_form_actions.html <http://interchange.rtfm.info/icdocs/Interchange_form_actions.html>

Best,

David
--
David Christensen
End Point Corporation
[email protected]
785-727-1171

_______________________________________________
interchange-users mailing list
[email protected]
http://www.icdevgroup.org/mailman/listinfo/interchange-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECKA1l4YEfF4eK4/eN0ojyd+bZbgFAlrMEQ4ACgkQN0ojyd+b
Zbgv/g//czyXByGGf9/3l1Yey20sr2Fqk5YGdJUpvAqTponc6sViSr6CBOAjL9iU
t0H0eYOFAzYCdUGdK1Gw1rJu/ETUzli02h4Nmnx5YYBiTJCVbCLybbMaLojU0XSJ
0AMRBFffn8fl5vQcQ6y7r0w5md+Z4owrsDDWxManAw257fF14xeih4lpHwdjL1+j
QkDhuxBLAGk00posZUTlqKrJlWJOqUrFQ4DmA5KRrXVO1DHaYeevszfUvF4J5Q+2
3M4FkK7tgYpHqBNlKQ1ezezij5ayHMZLCQ5JjIQcUPPAsM/tx/fb7bblYfZqLZzK
qn2IbRpQmGt6+6fCLz384kWHwSB7Uwl4qFaZvUgm8j7vVmjwQ6efrPCfgrJeFcdN
7j7yUV5vr8JoXV775UH3GEZUj4+uBzUaSYKqReg+3SrZixbKSe5WbCg2GRtNlxHE
k9k6HYnOmmxk7s/CSmIkO59hQFHL3vxQiUsEdo+sqjxdafZTuDwUGEI+HXcwVBHK
H2ausYqEZ6RODXMpfiZqObwaDpQDKDGrBFO9DrJ88nAwqOZMAf/+YvC2UYH2bZbE
UT5K6Ub2Q3TTwkK15Y5CvGWOtBcwzfGvlcdb2/QkQFgFm/EXFdBw4NumSWHWkxQk
/M+++WiBeCK9K0gIXk4WN3VvJfWLXSHnC7fvHNIdsBXBy5+Ncck=
=U5v/
-----END PGP SIGNATURE-----