• Welcome to KonaKart Community Forum. Please login or sign up.
 
October 27, 2021, 04:13:38 am

Recent posts

Pages1 2 3 ... 10
1
Programming of KonaKart / Re: Error by uploading product...
Last post by marco - January 25, 2021, 04:35:33 pm
Hello,

since you changed the default installation path, I think you'll need to fix the relevant web.xml.

For example, for the admin app, you should edit the file:

\webapps\konakartadmin\WEB-INF\web.xml

Changing this code:


...
 <param-name>permittedLocations</param-name>
 <param-value>
 .*/[Kk]ona[Kk]art/data/.*,
 .*/[Kk]ona[Kk]art/digitalDownload/.*,
 .*/[Kk]ona[Kk]art/pdf/.*,
 .*/[Kk]ona[Kk]art/.*/reports/.*/.*rptdesign,
 .*/[Kk]ona[Kk]art/webapps/konakart/images/.*
 </param-value>
 ...

into something like this:

...
 <param-name>permittedLocations</param-name>
 <param-value>
 .*/myshop/webapps/[Kk]ona[Kk]art/data/.*,
 .*/myshop/webapps/[Kk]ona[Kk]art/digitalDownload/.*,
 .*/myshop/webapps/[Kk]ona[Kk]art/pdf/.*,
 .*/myshop/webapps/[Kk]ona[Kk]art/.*/reports/.*/.*rptdesign,
 .*/myshop/webapps/[Kk]ona[Kk]art/webapps/konakart/images/.*
 </param-value>
 ...


Hope this helps.

marco
2
Programming of KonaKart / Error by uploading product ima...
Last post by kameraad759 - January 20, 2021, 07:51:52 am
Hello,

I get the following error, when uploading a product image.

There has been a problem with the upload
Exception Message = Access to file:/E:/myshop/webapps/konakart/images/prod/F/F/2/5/FF252FEA-5071-4812-BFD0-D1AC66606F1D_1_UPLOADED.jpg is not permitted [9.4.0.0]

My DB is named myshop and also the base directory is myshop. The rest is default

What can I do?

Thanks
3
Feature Requests / Sort order on content
Last post by tms - January 19, 2021, 11:34:58 am
Hi!

It would be great if you could define sort order for content in Konakart, or sort content by some field.

Example:
When fetching content by type all content which match the type would be returned sorted in the order which is defined by a "sort order" field on content (similar to the modules sorting)

or

ContentSearchIf would give the option to sort by custom field, or some other field.

I would prefer adding a "sort order" field on all content  :)
4
Configuration of KonaKart / Re: Removing 'Konakart' from U...
Last post by kameraad759 - January 13, 2021, 03:07:10 am
Its a long time ago, I hop you read this post.

But can you tell me how web.xml is like and the config file? Like this:

<filter>
  <filter-name>RedirectFilter</filter-name>
  <filter-class>com.cj.redirect.RedirectFilter</filter-class>
  <init-param>
    <param-name>config</param-name>
    <param-value>E:\Konakart\conf\config.txt</param-value>
  </init-param>
</filter>

<filter-mapping>
  <filter-name>RedirectFilter</filter-name>
  <url-pattern>/konakart/*.jsp</url-pattern>
</filter-mapping>

and the config.txt like:

/konakart/*=http://www.xyz.com

I have no succes with it, but I think I made a mistake.

Thanks
Hans
5
Programming of KonaKart / Hide konakart in URL link
Last post by kameraad759 - January 11, 2021, 01:47:12 am
Hello,

When I use Store front, I see always something like this:

http://www.website.us/konakart/Electronics.......

I do not want to see konakart. I want like this:

http://www.website.us/Electronics.......

Just this seems to be the root of the website.

How can I configure this? Maybe with a hide a part of the link. Can you help me?

Thank
Hans
6
Programming of KonaKart / Re: Currencies.value field too...
Last post by kameraad759 - December 31, 2020, 02:06:08 am
Anyone? Somebody? Marco? Brian?

Just a simple answer. In wich class and method is the rounding of the value of the currency, before saving in database. The current rounding is 5 before and 5 after the decimal point. I am interested in the rounding after the decimal point. Where is it?
7
Programming of KonaKart / Re: Currencies.value field too...
Last post by kameraad759 - December 26, 2020, 08:20:39 am
Hello,

In which (konakartadmin) class is the format of the currency (eq. 15,6) defined. I changed the field for the currency value in the database from 15,6 to 15,10, but in the admin app , there is a rounding of 5 digits after the point.

Example: In the Admin APP Currencies. I give 1.123456789, but it is rounded to 1.12346. Still 5 digits (not even 6!). Where in a class is defined there is a rounding for 5 digits for the currencies?

Thanks in advance for helping or given me a hint.
Hans
8
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 23, 2020, 05:25:54 am
I see and get it. Thanks
9
Programming of KonaKart / Re: Change content in aboutus,...
Last post by Brian - December 23, 2020, 05:15:19 am
Quoting from the link I sent you earlier:


Notice that the default build target compiles all the source files and creates the jars. It doesn't move the jars or create any wars.

If after building the jars you wish to move these to your webapp lib directories you should use the "copy_jars" target.
10
Programming of KonaKart / Re: Change content in aboutus,...
Last post by kameraad759 - December 23, 2020, 04:15:57 am
Wich cteated jars?
Pages1 2 3 ... 10