[Solved] Simple Image Gallery Uploader Problem

More
11 years 10 months ago - 11 years 2 months ago #26354 by victorio404
Since FC r1316 the field plugin "FLEXicontent - Simple Image Gallery Uploader" stopped working - there is no error displayed when saving, but the field is no longer uploading the zip file and not creating the folder as before.
I know it is a 3-rd party plugin and the developer site is no longer there, but can you help me make the plugin work again please?
There should be some change in r1316 that makes the difference.

Attached the plugin below.
Attachments:
Last edit: 11 years 2 months ago by victorio404.

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

More
11 years 10 months ago #26376 by ggppdk
Will look into this


-- 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 10 months ago #26441 by ggppdk
In your administrator/components/com_flexicontent/models/parentitemclass.php
Replace:
Code:
$result = FLEXIUtilities::call_FC_Field_Func($fieldname, 'onAfterSaveField', array( $field, &$postvalue, &$files[$field->name] ));
with
Code:
$result = FLEXIUtilities::call_FC_Field_Func($fieldname, 'onAfterSaveField', array( $field, &$postdata[$field->name], &$files[$field->name] ));

AND use these update files:[attachment=0:hsenifhh]<!-- ia0 -->sigalleryuploader.zip<!-- ia0 -->[/attachment:hsenifhh]


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

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

More
11 years 10 months ago #26512 by victorio404
After i have made the changes - now on Save Item there is an error: "Please set a gallery name for field: Upload More Photos Archive file was not extracted".
The gallery name is set, but it seems it is not being processed...

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

More
11 years 10 months ago #26564 by victorio404
I have just tested on a test installment and it seems to work. Even gives me confirmation on upload: "FIELD Upload Photos: Extracted 5 image files into gallery folder images/stories/001
Item saved"
So far everything else is working ok. :)
Thanks!

PS: is it normal to have this warning on first save on each item after the update: "Original content item was IGNORED and RESET because item language is site's default language"?
It's showing only on first save and doesn't seem to changes anything.

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

More
11 years 9 months ago #26570 by ggppdk

"Original content item was IGNORED and RESET because item language is site's default language"

This should appear only if you set this form field,

You say it appears on first save, it poses no problem but it should not appear because this case is checked (id = 0)

Have you modified any core files?
Is it in front-end and you have an override of the item edit form?


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