• Welcome to KonaKart Community Forum. Please login or sign up.
 
December 22, 2024, 04:17:50 am

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - deligeer

1
Hi Brian,

Yes, i had perform some customisations to adapt to chinese language.

create the Messages_zh.properties(which includeing utf chinese code and converted by nativa2asciiConvert)
after that the problem appear whenever i select any product under chinese language.

Regards
deligeer
2
Hi,

Does anyone known,How to solve following error, after select one product?

"org.apache.jasper.JasperException: /WEB-INF/jsp/ProductDetailsBody.jsp(37,4) Acc
ording to TLD, tag html:hidden must be empty, but is not"

Regards

deligeer
3
Programming of KonaKart / Re: about chinese language id
October 31, 2007, 08:42:28 am
Hi julie,

thanks the problem solved.

Regards

deligeer
4
Programming of KonaKart / Re: about chinese language id
October 31, 2007, 06:56:26 am
Hi julie,

Yes, i does insert the sorder order=4 ,as spelled  in last post sort id =4 .
5
i just write build.xml file to run and compile the examples insertorder.java
and get the following error?

run:
     [java] 31-十月 14:11:51 INFO  (KKEng.java:init:129) Finished Initialising L
og4j
     [java] 31-十月 14:11:51 INFO  (KKEng.java:init:136) Initialising Torque wit
h the file : file:/D:/FashionChina/examples/konakart_java_api_examples/build/jar
/InsertOrder.jar!/konakart.properties
     [java] 31-十月 14:11:51 INFO  (KKTorque.java:init:53) Initialising KonaKart
-Torque for org.apache.torque.adapter.DBMM
     [java] 31-十月 14:11:51 INFO  (KKEng.java:init:144) Finished Initialising T
orque
     [java] 31-十月 14:11:51 INFO  (KKEng.java:init:150) Initialising konakart w
ith the file : konakart.properties
     [java] 31-十月 14:11:51 INFO  (KKEng.java:initKonakart:253) KonaKart V2.2.0
.7 built 10:57AM 22-Oct-2007 BST
     [java] 31-十月 14:11:51 INFO  (KKEng.java:init:152) Finished Initialising k
onakart
     [java] java.lang.NullPointerException
     [java]     at com.konakart.apiexamples.InsertOrder.main(Unknown Source)


what does this error means at com.konakart.apiexamples.InsertOrder.main(Unknown Source)?

Regards

deligeer
6
Programming of KonaKart / Re: about chinese language id
October 31, 2007, 02:08:23 am
Hi julie,
I had reinstall the konakart application, and repeat all my language modifications to the new installation.
1)insert language logo, to LanguagesTile.jsp,
2)insert
      <action path="/SetLocale_zh_CN" type="com.konakart.actions.SetLocaleAction" parameter="zh_CN">
         <forward name="SetLocale" path="/CatalogMainPage.do"/>
      </action>
to struts-config.xml
3) recreate all necessary *.properties, modify language.dir=zh_CH, create images directories and so on.
4) recreate and reconfigure the chinese language, set the chinese language as default, sort id =4 in konakart admin app,

to be telling the truth, there are only once the order confirmation for chinese language will works, and after that no more working any more.

"at com.konakart.bl.EmailMgr.sendOrderConfirmationEmail(EmailMgr.java:792)
at com.konakart.app.KKEng.sendOrderConfirmationEmail(KKEng.java:1497)
at com.konakart.al.OrderMgr.sendOrderConfirmationEmail(OrderMgr.java:323)
at com.konakart.al.OrderMgr.saveOrder(OrderMgr.java:309)
at com.konakart.actions.CheckoutConfirmationSubmitAction.execute(CheckoutConfirmationSubmitAction.java:160)"

from the error messages and with the source code published,
i can figure out the code is block at save order.

                // Save the order
                int orderId = kkAppEng.getOrderMgr().saveOrder(/* sendEmail */true); line160

Is it possible for you, to looking for the source code of  The EmailMgr.java on line 792,
to help me figure out what kind of resource is missing during my chinese language modifcation.

regards

deligeer
7
Yes the order does exist inside mysql database.
and i just thinking ,the konakart server still not support the chinese language problem. i am trying use the insertorder example console program to discover the problem, and i find that the sendOrderConfirmationEmail function works fine when the language id is set to -1 (english) and not work when the language id is set to 2052(simple chinese).
8
Programming of KonaKart / about chinese language id
October 30, 2007, 08:23:36 am
does the konakart server support chinese charactor?

If does, which language id number i shall set in the sendOrderConfirmationEmail function?

For my application, i set the language id to 2052, in the insertorder tutorial application,


"30-╩«╘┬ 16:09:50 INFO  (KKEng.java:init:153) Finished Initialising konakart
30-╩«╘┬ 16:09:51 INFO  (OrderIntegrationMgr.java:saveOrder:29) The order with id
= 52 has just been saved
send confirmation email
com.konakart.app.KKException: Cannot find order for Id = 52
        at com.konakart.bl.EmailMgr.sendOrderConfirmationEmail(EmailMgr.java:695
)
        at com.konakart.app.KKEng.sendOrderConfirmationEmail(KKEng.java:1464)
        at com.konakart.apiexamples.InsertOrder.main(Unknown Source)
Press any key to continue . . ."

while i change the language id =-1
there will no such problem.
and by checking mysql database the orderid 52 does exist.

Any help will be appreciate.
Yours
Deligeer

9
but julie,

For the question about "order confirmation", the problem still does not solved.

The modification i had change in my konakart and konakartadmin is only to add chinese language.

when i select the product add by my self under english language and perform "order confirmation" every works fine, konakart will reply "Your Order has been processed!" without problem.

While when i  perform the same action under chinese language, i will get the "Unfortunately we have encountered a malfunction." response described before.

This there more debug options for us to make more deep inside analysis?

Best Regards

deligeer
10
Hi julie,
Now the email function start works, after enable the debug radio button, and after set up an valid Email Address and Email from item under Konakartadmin-> configuration->Store configuration page.

Thanks.

Deligeer
11
Hello,

I add some chinese character products into the database in konakartadmin, and arrived at "order confirmation" step in konakart. while after clicked "confirm order" button,
in the CheckoutConfirmationSubmit.do page,  I got the following error messages:

"Unfortunately we have encountered a malfunction.
Please contact the system administrator.
Click to Show Details >> Click to Hide Details <<
The details of the malfunction are :

Exception Name = com.konakart.app.KKException
Exception Message = Cannot find order for Id = 14
Exception Stack Trace =
at com.konakart.bl.EmailMgr.sendOrderConfirmationEmail(EmailMgr.java:792)
at com.konakart.app.KKEng.sendOrderConfirmationEmail(KKEng.java:1497)
at com.konakart.al.OrderMgr.sendOrderConfirmationEmail(OrderMgr.java:323)
at com.konakart.al.OrderMgr.saveOrder(OrderMgr.java:309)
at com.konakart.actions.CheckoutConfirmationSubmitAction.execute(CheckoutConfirmationSubmitAction.java:160)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595) "

and at the same time i got the following messages from Tomcat

"29-╩«╘┬ 23:47:39 INFO  (KKAdmin.java:testDB:395) Accessing database 'oscommerce'
with User 'root'
29-╩«╘┬ 23:47:52 WARN  (AdminSecurityMgr.java:login:137) User 'admin@konakart.co
m' has just logged in to the Admin App
29-╩«╘┬ 23:49:26 INFO  (AdminOrderIntegrationMgr.java:changeOrderStatus:28) Admi
n: The order with id = 6 has just changed state from stateId = 1 to stateId = 3
29-╩«╘┬ 23:49:27 INFO  (AdminEmailMgr.java:send:483) Error sending email - Sendi
ng failed;
  nested exception is:
        javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        javax.mail.SendFailedException: 553 sorry, relay is not allowed.Please s
ee help on http://support.eqmail.com.(#5.1.7)

javax.mail.SendFailedException: Sending failed;
  nested exception is:
        javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        javax.mail.SendFailedException: 553 sorry, relay is not allowed.Please s
ee help on http://support.eqmail.com.(#5.1.7)

        at javax.mail.Transport.send0(Transport.java:218)
        at javax.mail.Transport.send(Transport.java:80)
        at com.konakartadmin.bl.AdminEmailMgr.send(AdminEmailMgr.java:478)
        at com.konakartadmin.bl.AdminEmailSender.run(AdminEmailSender.java:42)
        at java.lang.Thread.run(Thread.java:595)
"

What's run with my product and/or email configuration inside the database or any suggestion  else?

Regards

Deligeer