[solved] Cannot load FC Field: .. Please correct field name

More
11 years 5 months ago - 11 years 5 months ago #29095 by mornsen
Hello,
I am currently trying to write a field plugin for flexicontent. I developed, installed and uninstalled a first version of it on my local host, where everything works as expected. when I want to install it on my online-live version of the page I get this error in item view:

Cannot load FC Field: getUserList
Please correct field name


I searched through the forum, but unfortunately, I could not find a satisfying description.

What is causing this error and how can i fix it? is my question.

Thank you for your time
greeting
M.
Last edit: 11 years 5 months ago by mornsen.

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

More
11 years 5 months ago #29102 by ggppdk
It is what says, the fieldname does not exist in the database

do you have a field with name (not type i mean name) getUserList ?


-- 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
11 years 5 months ago #29120 by mornsen
hi, and thanks for your help.

i checked my joomla database the j17_extensions table. The line for the getuserlist reads :

extension_id: 10136 | name: FLEXIcontent - Get User List | type: plugin | element: getUserList | folder: flexicontent_fields

When I check the field page in Flexi content the line reads:
Title : Users | Name: getUserList | Fieldtype: getUserList - Get User List -

So you mean I have to change the name in the _extension table to match it the field page ?
Or am I total wrong ?! I am sorry - as I said I am still learning :)

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

More
11 years 5 months ago #29121 by ggppdk
the name of the joomla plugin is the "field type" of the FLEXIcontent field

e.g. it like you have an image field (which has field type "image") and then you have 2 image fields with names "primary_photo", "secondary_photo"

you should try to display the fields "primary_photo", "secondary_photo"
and not the field "image" ...


-- 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
11 years 5 months ago #29132 by mornsen
ok I figured it out now. I think the problem was Letter capitalization. I used getUserList for names in xml file. I changed it now to getuserlist - no more errors

thanks M.

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

More
11 years 3 weeks ago #33988 by hero87
I get the same error :(

When i open the category page, it says
Cannot load FC Field:
Please correct field name
Cannot load FC Field:
Please correct field name
Cannot load FC Field:
Please correct field name
Cannot load FC Field:

Could you help me.

Joomla! 1.7.5 Stable
FLEXIcontent version 2.0.0 RC9a (r1549)

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.287 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