Image field problem with image field is new and in DB mode

More
7 years 2 months ago - 7 years 2 months ago #69179 by Natwork
Hi,

since J3.7.5 / FC 3.2.0.1 update, my image field isn't working very well.
I got 2 new problems :
- When clicking on [My files] button on Reusable DB mode, i got this error message
Code:
''You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND secure = 1 ORDER BY f.uploaded DESC, f.filename LIMIT 0, 20' at line 1"
- When using Item+Specific folder mode, the upload button seems to work correctly (i got image preview), but when i save my item, nothing is saved at all. It works fine if i use [My files] button (with specific upload options in modal window).

I'm also using PHP 7.1.7 and 5.5.52-MariaDB ; Should I use older versions ?
Last edit: 7 years 2 months ago by ggppdk.

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

More
7 years 2 months ago - 7 years 2 months ago #69182 by ggppdk
Hello

already fixed it

it happens when you have
- new image-gallery fields
- in DB mode
- parameter use images assigned to other items via this Field

Fix is already here
github.com/FLEXIcontent/flexicontent-cck...ive/3.2.x-stable.zip

also i am made and now testing a fix for the re-order on uploader it will be respected in the next version


-- 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 2 months ago by ggppdk.

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

More
7 years 2 months ago #69199 by Natwork
Thanks, I knew you where quick to answer but this time you already fixed the problem before the question ;)

I looked on GitHub but didn't see the issue...
I'll try to enhance image.php file to get a better usage of jce mediabox soon, but I need to test my work first.

Thanks again for your work/reactivity

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

More
7 years 2 months ago - 7 years 2 months ago #69201 by ggppdk
Hello

> I'll try to enhance image.php file to get a better usage of jce mediabox soon, but I need to test my work first.

you could also try to make a PR in github too

it is easy to make a PR from the Github UI
just click to edit the file , save changes and then click to make a PR


-- 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 2 months ago by ggppdk.

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

More
7 years 2 months ago #69256 by Natwork
Hello,

ggppdk wrote:
you could also try to make a PR in github too

it is easy to make a PR from the Github UI
just click to edit the file , save changes and then click to make a PR


Done ;)

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

More
7 years 2 months ago - 7 years 2 months ago #69258 by ggppdk
Hello


merged, will be included in next release

Looks good on code review,

i see new format is to use a single TAG parameter:

data-mediabox="attr_name1[attr_value1]; attr_name2[attr_value2]"

i guess it will not work with old versions JCEMedia box
but anyone with older JCEMedia box should upgrade


-- 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 2 months ago by ggppdk.

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

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