This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
3 years ago
6
Topic

Hello

Hi, is it possible according to you to create a fieldX on a date field ? 

When I enter a value and save the content I get an error message: "You either used wrong format or locale set by language file is not supported on your server - fr_FR.utf8" (but I know locales are set).

thanks

cyril

Get a VIP membership
4229 Posts
Kadministrator
3 years ago
1
Level 1

It should work with latest Seblod unless you are using one of unsupported formats with day or month names.

3 years ago
0
Level 2

Hi Klas

Unfortunately even with the latest joomla and seblod and with a Y-m-d format, it is not working or I missed something

thanks

cyril

4229 Posts
Kadministrator
3 years ago
3
Level 1

Works fine for me, I tested with French and Y-m-d H:i:s format and calendar selector (no manual input)

3 years ago
2
Level 2

Hi Klas

Here is what I did:

1- in a content type admin form  I created a calendar field with the standard Y-m-d format : actually I changed nothing. I discarted the field and created a fieldx that takes the first calendar field. again I left the standard parameters (storage)

2- in the admin I create a new content from this content type. In the fieldX I just entered one date (clicking on the caledar icon). When I save the content it crashes with the error

I reproduce the error on two debian servers

thanks

cyril

4229 Posts
Kadministrator
3 years ago
1
Level 3

You should not use default storages for field x - use Custom-Article-parentname for parent and Custom-Article-parentname[childname] for child. None for child should also work but in reality you can get some problems when searching etc (None is offically recommended by Seblod...)

3 years ago
0
Level 4

Yes Klas I know this too and tested as you wrote since this is the seblod recommended way for fieldX and GroupX but this is not working

Get a Book for SEBLOD