Error with custsettings.ftl on "Checkout Without Login"

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

Error with custsettings.ftl on "Checkout Without Login"

rhodebump
On the checkout, under the  "Checkout Without Login", clicking the checkout button, I get an error.  Full text of error is below.  I tried refreshing custsettings.ftl from svn, but there were no updates.  No error occurs when I do the same thing on http://demo.hotwaxmedia.com/ecommerce/control/main

The url on the browser when I get the error is "/ecommerce/control/setCustomer"

org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/OrderScreens.xml#custsettings]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/OrderScreens.xml#anonymousCheckoutDecorator]: org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: java.lang.RuntimeException: Error rendering included template at location [component://ecommerce/webapp/ecommerce/order/custsettings.ftl]: freemarker.core.ParseException: Encountered ")" at line 87, column 48.
Was expecting:
...

I tried counting/matching parenthesis to no avail.


Appreciate any help.
Phillip
Reply | Threaded
Open this post in threaded view
|

Re: Error with custsettings.ftl on "Checkout Without Login"

Jacques Le Roux
Administrator
Did you solve this issue ? Have you customised this file or some others related ?

Jacques

PS : I have no problems either

De : "Phillip Rhodes" <[hidden email]>
> On the checkout, under the  "Checkout Without Login", clicking the checkout button, I get an error.  Full text of error is below.
I tried refreshing custsettings.ftl from svn, but there were no updates.  No error occurs when I do the same thing on
http://demo.hotwaxmedia.com/ecommerce/control/main
>
> The url on the browser when I get the error is "/ecommerce/control/setCustomer"
>
> org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/OrderScreens.xml#custsettings]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/OrderScreens.xml#anonymousCheckoutDecorator]: org.ofbiz.base.util.GeneralException: Error rendering
screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: java.lang.RuntimeException: Error rendering included
template at location [component://ecommerce/webapp/ecommerce/order/custsettings.ftl]: freemarker.core.ParseException: Encountered
")" at line 87, column 48.
> Was expecting:
> ...
>
> I tried counting/matching parenthesis to no avail.
>
>
> Appreciate any help.
> Phillip
>

Reply | Threaded
Open this post in threaded view
|

Re: Error with custsettings.ftl on "Checkout Without Login"

rhodebump
I finally figured out how to get around the error:

In custsettings.ftl:

Replaced:
                    <#if (((parameters.homeSol?)!"") == "Y")><option value="Y">${uiLabelMap.CommonY}</option></#if>
                    <#if (((parameters.homeSol?)!"") == "N")><option value="N">${uiLabelMap.CommonN}</option></#if>

With
                    <#if ((parameters.homeSol)!"" == "Y")><option value="test">${uiLabelMap.CommonY}</option></#if>
                    <#if ((parameters.homeSol)!"" == "N")><option value="N">${uiLabelMap.CommonN}</option></#if>

My ofbiz was using freemarker-2.3.8.jar

It's wierd that noone else reported this has a problem.

Phillip


----- Original Message -----
From: "Jacques Le Roux" <[hidden email]>
To: [hidden email]
Sent: Saturday, September 29, 2007 4:54:08 PM (GMT-0500) America/New_York
Subject: Re: Error with custsettings.ftl on "Checkout Without Login"

Did you solve this issue ? Have you customised this file or some others related ?

Jacques

PS : I have no problems either

De : "Phillip Rhodes" <[hidden email]>
> On the checkout, under the  "Checkout Without Login", clicking the checkout button, I get an error.  Full text of error is below.
I tried refreshing custsettings.ftl from svn, but there were no updates.  No error occurs when I do the same thing on
http://demo.hotwaxmedia.com/ecommerce/control/main
>
> The url on the browser when I get the error is "/ecommerce/control/setCustomer"
>
> org.ofbiz.base.util.GeneralException: Error rendering screen [component://ecommerce/widget/OrderScreens.xml#custsettings]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://ecommerce/widget/OrderScreens.xml#anonymousCheckoutDecorator]: org.ofbiz.base.util.GeneralException: Error rendering
screen [component://ecommerce/widget/CommonScreens.xml#main-decorator]: java.lang.RuntimeException: Error rendering included
template at location [component://ecommerce/webapp/ecommerce/order/custsettings.ftl]: freemarker.core.ParseException: Encountered
")" at line 87, column 48.
> Was expecting:
> ...
>
> I tried counting/matching parenthesis to no avail.
>
>
> Appreciate any help.
> Phillip
>