BUG that breaks the entir website :/

More
14 years 2 months ago #20265 by igcorreia
This has never happen to us, only with LOGGED IN users is that this happens in the public area it does not.
Code:
Cannot load FC Field: $fieldname\n Please correct field name

Any ideas?
[attachment=0:131n19n7]<!-- ia0 -->bug.PNG<!-- ia0 -->[/attachment:131n19n7]

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

More
14 years 2 months ago #20266 by micker
at first verfie your name field

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
14 years 2 months ago #20267 by igcorreia
But from which field?

The title field?

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

More
14 years 2 months ago #20268 by igcorreia
But is can be from any field any article right?

The $fieldname is the general variable name for any field.

just for you to know we have 50 fields :/

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

More
14 years 2 months ago #20269 by igcorreia
this is the version: fc é: 1.5.6 beta2 (r955)

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

More
14 years 2 months ago #20275 by ggppdk
The fieldname is not printed because of a bug, we used '...' instead of "..."
In file: components/com_flexicontent/classes/flexicontent.helper.php
replace (about line 1706):
Code:
$jAp->enqueueMessage(nl2br('Cannot load FC Field: $fieldname\n Please correct field name'),'error');
with
Code:
$jAp->enqueueMessage(nl2br("Cannot load FC Field: $fieldname\n Please correct field name"),'error');
If the plugin file for flexicontent field is not foynd then this message is printed.

After making the change we will now what is the fieldname and maybe it will be easier to know why it is happening.

I will include fix for '...' to v1.5.6

Regards


-- 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 review. Thanks!

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

More
14 years 2 months ago #20276 by scorpion_pt
Sorry but I don't see any difference between the two lines of code.

:(

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

More
14 years 2 months ago #20277 by ggppdk
One is included inside '...' thus the PHP variable are not evaluated and the other is inside "..." which allow PHP variable to be evaluated.


-- 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 review. Thanks!

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

More
14 years 2 months ago #20278 by scorpion_pt
Tx, but unfortunately we do not see the field name.

MSG:
Cannot load FC Field:
Please correct field name

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

More
14 years 2 months ago #20281 by ggppdk
Yes but now the code that prints the fieldname works !!!
and we can see that the fieldname is empty !!!

And the fieldname is empty because of this topic:
www.flexicontent.org/forum/index ... =viewtopic
Please apply the fix in the above topic


-- 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
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
Save