Error in field: LIEU_PTF (TextSelect with custom SQL query)

More
5 years 2 weeks ago - 5 years 2 weeks ago #77661 by smilecollector
Bonjour
j'ai ce message d'erreur et j'avoue ne pas comprendre ce aue je dois chercher - du coup un coup de main serait le bienvenue

Error in field: LIEU_PTF while splitting element: SELECT value, value as text FROM #__flexicontent_fields_item_relations WHERE field_id='{field->id}' AND value != '' GROUP BY value properties needed: 2 properties found: 1

je me dis qu'il y a une relation avec l'image 2 mais... je sèche... je ne me souviens pas avoir vu ce message d'erreur avant...



pour info, l'affichage sur le site est correct...
Attachments:
Last edit: 5 years 2 weeks ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
5 years 2 weeks ago #77665 by ggppdk
Hello

seeing a picture in French is difficult

but i see that you have selected to use
"Existing Values + Custom Elements"

thus the code expects a list of elements , it does not expect an SQL query !

Fix:
you need to click the "list of elements" parameter and --remove-- sql query
and in there use elements instead of an SQL query !


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
5 years 2 weeks ago #77666 by smilecollector
Hello
thanks for your answer :)
I don't really understand as, as far I can see, I did not select SQL...
Which "Element Mode" am I supposed to select to have the list of previous location (this field is containing some town for instance) keeping the possibility to add one when creating the article...
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 1 week ago #77671 by ggppdk
Hello

The parameter elements fields
has (default value) an SQL query in it

when you changed parameter "Element Mode" to "Existing values + Custom Elements"
then you need to enter custom elements into elements fields or at least clear it


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
5 years 1 week ago #77672 by smilecollector
ah OK - I've got it
thanks a lot

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.929 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline