OFBiz 9.04 demo 'Checkout' doesn't work

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

OFBiz 9.04 demo 'Checkout' doesn't work

Mike Z
I was trying to test the behavior of my test platform against 9.04, so
I went to ofbiz.apache.org, went to 'stable' frontend, added a product
to cart, went to checkout and the theme changed to what appears to be
11.04, and an empty cart.

When clicking checkout on 9.04, the system redirects to:

https://demo-old.ofbiz.apache.org:8443/ecommerce/control/checkoutoptions

Which Is somehow re-directed to 11.04/trunk, and not 9.04.

If you take out the 8443 out of the 9.04 url:

https://demo-old.ofbiz.apache.org/ecommerce/control/checkoutoptions

It works.  At the end of the checkout process where it asks "Continue
Shopping", it redirects to 8080, which is trunk/1104.

I believe the problem is probably
framework/webapp/config/url.properties.  It is needlessly tacking on
the 8443 and 8080 to the 9.04 URLs.
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz 9.04 demo 'Checkout' doesn't work

Jacques Le Roux
Administrator
Thanks for the detailled explanation Mike,

Indeed, it seems something has been messed up since r1129045. But reverting will not be enough. I guess some setting on the server
has been changed as well. So it maybe simply misses a little change there, could you please have a look Christian?

TIA

Jacques

From: "Mike" <[hidden email]>

>I was trying to test the behavior of my test platform against 9.04, so
> I went to ofbiz.apache.org, went to 'stable' frontend, added a product
> to cart, went to checkout and the theme changed to what appears to be
> 11.04, and an empty cart.
>
> When clicking checkout on 9.04, the system redirects to:
>
> https://demo-old.ofbiz.apache.org:8443/ecommerce/control/checkoutoptions
>
> Which Is somehow re-directed to 11.04/trunk, and not 9.04.
>
> If you take out the 8443 out of the 9.04 url:
>
> https://demo-old.ofbiz.apache.org/ecommerce/control/checkoutoptions
>
> It works.  At the end of the checkout process where it asks "Continue
> Shopping", it redirects to 8080, which is trunk/1104.
>
> I believe the problem is probably
> framework/webapp/config/url.properties.  It is needlessly tacking on
> the 8443 and 8080 to the 9.04 URLs.
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz 9.04 demo 'Checkout' doesn't work

Christian Geisert
Jacques Le Roux schrieb:
> Thanks for the detailled explanation Mike,
>
> Indeed, it seems something has been messed up since r1129045. But
> reverting will not be enough. I guess some setting on the server has
> been changed as well. So it maybe simply misses a little change there,
> could you please have a look Christian?

I'll have a look at it.

Christian

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz 9.04 demo 'Checkout' doesn't work

Jacques Le Roux
Administrator
Thanks Christian,

BTW it could be out of our VM also (redirection?)

Jacques

From: "Christian Geisert" <[hidden email]>

> Jacques Le Roux schrieb:
>> Thanks for the detailled explanation Mike,
>>
>> Indeed, it seems something has been messed up since r1129045. But
>> reverting will not be enough. I guess some setting on the server has
>> been changed as well. So it maybe simply misses a little change there,
>> could you please have a look Christian?
>
> I'll have a look at it.
>
> Christian
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz 9.04 demo 'Checkout' doesn't work

Christian Geisert
In reply to this post by Mike Z
Mike schrieb:

> I was trying to test the behavior of my test platform against 9.04, so
> I went to ofbiz.apache.org, went to 'stable' frontend, added a product
> to cart, went to checkout and the theme changed to what appears to be
> 11.04, and an empty cart.
>
> When clicking checkout on 9.04, the system redirects to:
>
> https://demo-old.ofbiz.apache.org:8443/ecommerce/control/checkoutoptions
>
> Which Is somehow re-directed to 11.04/trunk, and not 9.04.
>
> If you take out the 8443 out of the 9.04 url:
>
> https://demo-old.ofbiz.apache.org/ecommerce/control/checkoutoptions
>
> It works.  At the end of the checkout process where it asks "Continue
> Shopping", it redirects to 8080, which is trunk/1104.
>
> I believe the problem is probably
> framework/webapp/config/url.properties.  It is needlessly tacking on
> the 8443 and 8080 to the 9.04 URLs.

Yes, this was the problem, I've made the following changes:

-------------------------------------------------------------------
Index: framework/webapp/config/url.properties
===================================================================
--- framework/webapp/config/url.properties      (revision 1203499)
+++ framework/webapp/config/url.properties      (working copy)
@@ -22,11 +22,11 @@

  # HTTPS Port (Secure port)
  port.https.enabled=Y
-port.https=8443
+port.https=443
  force.https.host=

  # HTTP Port (Not Secure port)
-port.http=8080
+port.http=80
  force.http.host=
-------------------------------------------------------------------

Thanks for reporting

Christian
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz 9.04 demo 'Checkout' doesn't work

Mike Z
Glad it works now.  It has been broken for a long time.

On Mon, Nov 21, 2011 at 6:43 AM, Christian Geisert
<[hidden email]> wrote:

> Mike schrieb:
>>
>> I was trying to test the behavior of my test platform against 9.04, so
>> I went to ofbiz.apache.org, went to 'stable' frontend, added a product
>> to cart, went to checkout and the theme changed to what appears to be
>> 11.04, and an empty cart.
>>
>> When clicking checkout on 9.04, the system redirects to:
>>
>> https://demo-old.ofbiz.apache.org:8443/ecommerce/control/checkoutoptions
>>
>> Which Is somehow re-directed to 11.04/trunk, and not 9.04.
>>
>> If you take out the 8443 out of the 9.04 url:
>>
>> https://demo-old.ofbiz.apache.org/ecommerce/control/checkoutoptions
>>
>> It works.  At the end of the checkout process where it asks "Continue
>> Shopping", it redirects to 8080, which is trunk/1104.
>>
>> I believe the problem is probably
>> framework/webapp/config/url.properties.  It is needlessly tacking on
>> the 8443 and 8080 to the 9.04 URLs.
>
> Yes, this was the problem, I've made the following changes:
>
> -------------------------------------------------------------------
> Index: framework/webapp/config/url.properties
> ===================================================================
> --- framework/webapp/config/url.properties      (revision 1203499)
> +++ framework/webapp/config/url.properties      (working copy)
> @@ -22,11 +22,11 @@
>
>  # HTTPS Port (Secure port)
>  port.https.enabled=Y
> -port.https=8443
> +port.https=443
>  force.https.host=
>
>  # HTTP Port (Not Secure port)
> -port.http=8080
> +port.http=80
>  force.http.host=
> -------------------------------------------------------------------
>
> Thanks for reporting
>
> Christian
>