• Welcome to KonaKart Community Forum. Please login or sign up.
 
April 29, 2024, 03:29:46 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 - Brian

16
Hi,

I'm not sure if there's much we can do to resolve that as it seems to be a problem with the browsers on the Mac.

A few things you could do to try/investigate:

Have you tried modifying the encoding settings on the browser? 

You could use a Developer mode on the browser to see what is being sent

You could enable the logging in Solr to see what the differences are between when it works and when it doesn't work?

Is it every single Mac that has this problem?  Have you tried others that may have different configurations?

Can you get any clues from Mac/Safari forms?


17
What is the significance of you reporting that your client was using a Mac for this?  Does it work if you use a browser on a Windows machine?

More importantly, did you check the solr log that the error message refers to?  You should find useful information there.   You could also check the tomcat log for any problems at or before the time of the failure.


18
The easiest way is to enable the log4j2 logging in the konakart-logging.xml file.

In webapps/konakart/WEB-INF/classes/konakart-logging.xml you'll find:

        <!-- KonaKart Persistence layer - Set to INFO to see the SQL (Set to TRACE to see more detail) -->
        <Logger name="com.konakart.db" level="WARN" additivity="false">
            <AppenderRef ref="STDOUT"/>
            <!-- KonaKart File Logger
            <AppenderRef ref="FILE"/>
            End of KonaKart File Logger -->
        </Logger>


As the comment there states....   Set the level to "INFO" to see the SQL.

By default the server will monitor the changes to konakart-logging.xml and load the new configuration (the monitor frequency is defined at the top of that logging file - the number is in seconds) but in development it's often quicker just to restart tomcat (or whatever you use).







19
Yes, there is a simple way to create an Eclipse project for developing the storefront in Eclipse.

First open a command window in the custom directory of your installation:

(Showing the example on Windows where KonaKart is installed at C:\KonaKart which is the default):

You will see there are actually two Eclipse projects that can be created:

PS C:\KonaKart\custom> .\bin\kkant -p | findstr Eclipse
make_eclipse_project                     Create an Eclipse Project for Developing the Struts-2 Storefront
make_eclipse_wizard_project              Create an Eclipse Project for Developing the Product Creation Wizard


For developing the storefront you need to run the make_eclipse_project target

When you run the make_eclipse_project target note the additional comments displayed at the end:

PS C:\KonaKart\custom> .\bin\kkant make_eclipse_project
Buildfile: C:\KonaKart\custom\build.xml
Trying to override old definition of task javac

make_eclipse_project:
     [echo] Create an Eclipse Project for Developing the Struts-2 Storefront
    [mkdir] Created dir: C:\KonaKart\custom\appEngEE\src
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\src
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\build\classes
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\licenses
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\resources
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\WebContent
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\src\com\konakart\bl\modules\others
    [mkdir] Created dir: C:\KonaKart\custom\kkeclipse\src\com\konakartadmin\modules\others
     [copy] Copying 2 files to C:\KonaKart\custom\kkeclipse
     [copy] Copying 581 files to C:\KonaKart\custom\kkeclipse\src
     [copy] Copying 28 files to C:\KonaKart\custom\kkeclipse\resources
     [copy] Copying 1 file to C:\KonaKart\custom\kkeclipse\licenses
     [copy] Copying 1551 files to C:\KonaKart\custom\kkeclipse\WebContent
     [echo] -----------------------------------------------------------------------------------
     [echo] Eclipse Project Created on disk - called kkeclipse
     [echo] Start Eclipse
     [echo] Create a tomcat server (see 'Servers' in Eclipse)
     [echo] Move the kkeclipse directory to another location for development if you wish
     [echo] Import the kkeclipse project using 'Import existing projects into Workspace'
     [echo] Assign a server for kkeclipse to use (define server under Project Properties)
     [echo] Edit, Debug and Run the KonaKart Storefront in Eclipse!
     [echo] -----------------------------------------------------------------------------------

BUILD SUCCESSFUL


The numbers of files copied shown in the output will differ depending on the version of KonaKart.



20
You don't see that view logs button enabled because of a new default level of security introduced in v8.8.0.0.

There are other features disabled by default after the installation and a way to define "permitted locations" for file uploads.  These were all introduced to tighten security.

Take a look at the https://www.konakart.com/docs/AdminAndConfiguration.html#AdmininstrationAppStartingLockdown for details.

For the View logs button to become enabled you would have to set:

konakart.api.getFileContents.enabled = true

(in webapps/konakartadmin/WEB-INF/classes/konakartadmin.properties)

21
Programming of KonaKart / Re: Best APIs to use?
June 13, 2018, 12:58:33 pm
Just in case you were unaware....   We also provide the same APIs through JAXWS  - this is in addition to the Axis 1.4 SOAP APIs.

Nowadays it seems that the JSON APIs are the most popular for the remote calls.
22
Installation of KonaKart / Re: Picture Upload
November 08, 2017, 07:54:36 am
I don't know why you get a 404?  It's as if the image URL isn't set correctly?   You could try enabling the developer's tools on the browser to see if you can get any clues from any (javascript?) errors that might be shown.  Does it happen with all image types?  Does it happen only on one browser type or on all browsers?
23
Hi Rashed,

QuoteSome hints for starting up setting these modules would be really helpful


Please note the earlier advice about copying existing modules and referencing the User Guide.

24
I'm not sure what the problem is there.  Is it OK if you log out of Liferay / refresh the browser and Log in again?

You may want to increase the session timeout period in konakartadmin.properties to keep it from expiring.  (It might make sense to match the Liferay session duration, whatever that is):

# -----------------------------------------------------------------------------------
# Security Information for the Admin App. After konakart.login.attempts
# to login, the user will be blocked out for konakart.login.blockedmins minutes.

konakart.session.durationMinutes               = 120

25
Hello Rashed,

Status Page:    It will use the birtviewer wepapp which may not be installed and running in Liferay.  In your case it's probably working because you have the birtviewer webapp running in a standalone system outside Liferay and that is what it's referencing from the KonaKart Admin Console in Liferay.

Payment Module:     I don't know anything about iPay88 but we haven't encountered a payment module that can't be integrated with KonaKart yet so you should have no problems.

Malaysian Shipping Module:    As with the Payment Module:  not a problem.  Just follow the examples of the existing modules and follow the advice in the User Guide.

Storefront SSO with Liferay:  If you want SSO on the storefront you should install the Liferay SSO module (Enterprise version) and follow the instructions in the LiferayPortletInstallation.pdf document.



26
In the configuration table set the configuration_value in the row with configuration_key = 'API_CALL_SECURITY' to false.
27
With KonaKart you can design whatever storefront design you like so I'm not sure I understand your question.
28
I don't think you'll notice any difference.   I'm not sure where you're calling it but it's normally an admin function anyway so it's not going to affect any response times to users.


29
First of all I recommend you instantiate your engine this way:

KKAdminIf adminEng = new KKWSAdmin(adminEngineConfig);



I think you may be running into a problem in sendTemplatEmailToCustomers1 that was fixed in April - and will be available in the v8.7.0.0 release.

As a workaround for now, can you instead use sendTemplateEmailToCustomers1WithOptions and set Synchronousity in the AdminEmailOptions parameter to KKConstants.EMAIL_SYNCHRONOUS (value is 2).



30
Multi-Vendor is available only in the Enterprise version : http://www.konakart.com/product/community-or-enterprise/