Error - Flexi Content Error storing item

More
7 years 3 months ago #68513 by ggppdk
Hello

Joomla 3.7.0+ will not allow bad JSON strings in Database

This will cause error in some code ofsome extensions

- we have added checks in some places for bad JSON string to catch it, and disgard the bad string


Now about which code of which extension is doing this, we cannot know

you may try to do this, so maybe we can find the actual file :

Please (temporarily) edit file
error.php of your Joomla template and add printing of line and filename

templates/protostar/error.php
or
administrator/templates/isis/error.php

Change code like:
Code:
<blockquote> <span class="label label-inverse"><?php echo $this->error->getCode(); ?></span> <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8');?> </blockquote>


to be:
Code:
<blockquote> <span class="label label-inverse"><?php echo $this->error->getCode(); ?></span> <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8');?> <br/> <span class="label label-inverse"><?php echo $this->error->getLine(); ?></span> <?php echo htmlspecialchars($this->error->getCode(), ENT_QUOTES, 'UTF-8');?> </blockquote>


-- 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
7 years 3 months ago #68515 by ASSL
Hi,

Ok will try.

Thanks

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

More
7 years 3 months ago #68540 by ASSL
Hi,

I am getting this error.
Notice: Undefined offset: 0 in /var/www/html/administrator/components/com_flexicontent/views/items/tmpl/default.phpon line 1024
and when i delete categories, it still shows up in the selection. Can categories be permanently deleted?

Thanks

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

More
7 years 3 months ago - 7 years 3 months ago #68570 by ggppdk
Hello

please first upgrade to v3.2.0-rc2
github.com/FLEXIcontent/flexicontent-cck/releases
and then post the new line number for this PHP notice


-- 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...
Last edit: 7 years 3 months ago by ggppdk.

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

More
7 years 3 months ago #68577 by ASSL
Hi,

I have updated to the new version. But is there a way that deleted categories are not selectable when creating an article since categories cannot be permanently deleted?

Thanks

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

More
7 years 3 months ago #68579 by ggppdk
Hello

Go to filters and filter by "Trashed" state

Then the "Delete" button and also "Trashed" state categories will be shown


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

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