7 years ago
7
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 Book for SEBLOD
4229 Posts
Kadministrator
7 years ago
1
Level 1

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

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

7 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
7 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...)

7 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

6 Posts
AlbertoV
3 years ago
0
Level 1

Hi Cyril and hi Klas,

I have the same problem. If I use the Calendar field all date formats is ok. But if I set the Calendar field as "Field" in FieldX, when I press the submit button, the browser load this message:

0 You either used wrong format or locale set by language file is not supported on your server - it_IT.utf8

This is my Calendar field settings:

and this is my Fieldx field settings:

Do you have any suggestion?

Thanks

AlbertoV

PS: I opened a ticket to my host but seem the server settings are ok.

Get a VIP membership