• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 04, 2024, 07:01:06 pm

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 - David

2
Hi,

I'm developing a web with konakart 2.2.0.7 and I need to see some files before I start doing changes. Is possible to download that version of konakart anywhere?

Regards

David
3
ok, thanks for all your support, I'll do some tricks for the meantime  ;D
4
Hi,

thanks for your answer ryan, I was trying to add 2 addresses from an external application, one Shipping Address and one Billing Address and then load them when my customers checkout

Do you know if this option will be a new feature of the App API soon?

Regards

David
5
Hi,

I tried to get the customer from KonaKart, and fill it with the new directions, but only the default address works. I'm doing something like this:

Quotecustomer = conKK.getCustomerForId( ... );

customer.setDefaultAddr(myDefaultAddress);
customer.setAddresses(myOtherAddresses);

conKK.updateCustomer( ... );


maybe I should use another function, I'm not sure, but I don't see any error

Regards

David
6
ok, I found it  ;D

In LoginSubmitAction.java the user seems to be connected, here I can check him and then I disconect his account with: kkAppEng.getCustomerMgr().logout();
7
Hi,

thanks for your answer, but I'd prefer don't do it from the AdminApp. I`m doing this checking an external aplication so I have to allow the user to login, check him and then do a logout if he has no privileges to login.

I'm doing this in the LoginSubmitAction.java, but I don't know how can I disconnect the user from konakart ¿?

Again, thanks for your help...

David
8
Programming of KonaKart / Avoid login from some users
January 29, 2008, 09:33:01 am
Hi

I want to avoid login from some users (like those who don't pay). I do this checking a custom field. how can I do this?? I supose I have to modify LoginSubmitAction.java, but I'm a bit lost

thanks in advance

David
9
Miscellaneous / Re: problem with Internet Explorer
January 16, 2008, 07:35:28 pm
Hi

finally I solve this. If I can help somebody, here is what I did to center my shop in all navigators

in MainLayout.jsp
Quote
...
      <link type="text/css" rel="stylesheet" href="styles/stylesheet.css" />
      <style type="text/css">
         html{margin:0;padding:0;}
         body{margin:auto;padding:0;}
         #contenido{width:750px;border:0px solid #000;margin:auto}
            
      </style>
   </head>

   <body>
      <div id="contenido" align="center">
...


and in stylesheet.css:
Quote
...
BODY {
  width: 750;
  background: #FFFFFF;
  color: #000000;
  margin: 0 auto;
  text-align:center
}
...


PD: Thanks for putting gdOnline in your"Live Sites"  ;)
10
Eureka!!

I found the problem. The SQL Server doesn't admit numbers with more precision than 38, finally I only had to do a .setScale(35, RoundingMode.HALF_UP) to the BigDecimal before saving it. It's like a job, I spent a lot of days with this thing but now it works  ;D

A lot of thanks for your help

David
11
Ok, I`ll try to insert the data using SQL, anyway I'm sure my database supports rollbacks because another application is using it and it uses rollbacks to do a lot of operations.

Thanks for all your support

David
12
Hi again,

I'm thinking that this problem could be with the database because i'm still getting this error when I do the order:

QuoteERROR (Transaction.java:rollback:193) An attempt was made to rollback a transaction but the database did not allow the operation to be rolled back.
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]The DBMS returned an unspecified error.


I`m using SQLServer 2000 with this driver: SQL Server 2000 Driver for JDBC Service Pack 3, is this configuration compatible with KonaKart?

I also checked what you said,

op.getOrderId() returns 0

and also attach a piece of the the log with the error in the database

I don't know what happens, maybe I'll try to run it with MySQL, I'm running out of ideas  ;D
13
Ok, this is the OrderProduct:

id = 0
productId = 13
model = 28099
name = Toner para Epson FX300 cambiada descripcion
price = 23.87
finalPriceExTax = 23.87
finalPriceIncTax = 23.87
taxRate = 0
tax = 0.00
quantity = 1
type = 0

maybe the taxRate is needed??
14
Miscellaneous / problem with Internet Explorer
January 04, 2008, 03:50:48 pm
Hi,

I'm finishing my first shop with KonaKart (the second will be soon), but I have a big problem with internet explorer.

My shop have a fixed width, everything is ok if you see it with mozilla, but with internet explorer it's a little mess  >:(

I tried some things I saw in Internet but it still failing.

By the way, this is my shop, it's not the best but here it is: www.gdonline.es

I hope you like it  ;D
15
Hi,

I still don't understand this error, in other computer (with a different configuration, but the same sources) I don't have any error, I'm trying now with SQL Server, maybe this can be the problem ¿?

I tried to do a .toString() of the OrderProducts, and I've got similar information in both PCs, but I'm thinking that I'm doing something wrong.

I do this in CheckoutConfirmationSubmit.java:

QuotecheckoutOrder.getNumProducts() -> 0 returned ¿?
checkoutOrder.getOrderProducts().toString() -> [Lcom.konakart.app.OrderProduct;@4e37fb


I also have this error in the console:
QuoteERROR (Transaction.java:rollback:193) An attempt was made to rollback a transaction but the database did not allow the operation to be rolled back.
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]The DBMS returned an unspecified error.
   at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
   at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
   at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
   at com.microsoft.jdbc.sqlserver.tds.TDSExecuteRequest.processReplyToken(Unknown Source)
   at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
   at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.rollbackTransaction(Unknown Source)
   at com.microsoft.jdbc.base.BaseConnection.rollback(Unknown Source)
   at org.apache.commons.dbcp.cpdsadapter.ConnectionImpl.rollback(ConnectionImpl.java:315)
   at org.apache.torque.util.Transaction.rollback(Transaction.java:187)
   at org.apache.torque.util.Transaction.safeRollback(Transaction.java:223)
   at com.konakart.bl.OrderMgr.saveOrder(OrderMgr.java:399)
   at com.konakart.app.KKEng.saveOrder(KKEng.java:1397)
   at com.konakart.al.OrderMgr.saveOrder(OrderMgr.java:301)
   at com.imatia.elastic.clienteTV.actions.CheckoutConfirmationSubmitAction.execute(CheckoutConfirmationSubmitAction.java:307)
   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)


any idea??