Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Someone reported @ https://www.blesta.com/forums/index.php?/topic/10591-user-signup-gives-error-no-input-file-specified/
Apparently an error "No input file specified" can be encountered after someone signs up via a Registration order form, but no other order forms exist. The user identified this to be caused be the redirect in /order/controllers/signup.php:
$this->redirect($this->base_uri . 'order/checkout/index/' . $this->order_form->label);
Apparently redirecting to /order/checkout/index/ when no other order form exists can lead to this issue. We should attempt to duplicate and devise a solution.
signup/index redirects to checkout/index on success, which redirects to main/index since there is an empty cart, which redirects to config/preconfig. That calls OrderTypeRegistration::handleRequest which redirects to the portal.