#1088 Posted in ‘Showtime Image Gallery’

Latest post by Lefteris Kavadas on Thursday, 16 May 2024 15:23 EEST

Ronny Buelund
 So now my customer lost all his work again upon saving an article with images in a custom field with Showtime Image gallery. Both fields went empty upon saving the article !!??? What is going on here. I can see that the galleries are still there, BUT! The relation from the article to the gallery is gone in the fields_values table - how can this happen ??? How to recreate theese relations again ? Is it just adding new rows to the fields_values table or will this break something elsewhere ? Can you please fix this issue asap !!!

Lefteris Kavadas
Hi Ronny,

I am unable to reproduce this issue. Can you please provide more information? You mentioned that there are two custom fields. Do those galleries have a lot of images?
The fact that this issue occurs only sometimes and not on every save indicates a server setup issue.
Probably your web server hits some limits and the save process is not completed.
Try to navigate to "System" -> "System Information" -> "PHP Information" and look for the following values:
  • max_input_vars
    post_max_size

Please write down the values of those settings and then ask your hosting provider to increase them. .
In the meantime, I will try again to reproduce this issue just in case it's something else.

Finally, regarding the relation, the fields_values table holds the gallery id in the value field.

Regards

Ronny Buelund
When it happened the first time i raised max_input_vars to 20000 and the post_max_size has been 128M all the time.

Yes there are 5 Showtime Image gallery fields with images in this article. One with 12 images, one with 28 images, one with 6 images, one with 2 images and one with 12 images.

It is only the custom fields relation for showtime image gallery that are removed by this error, the other custom fields in the article are not affected.

Lefteris Kavadas
Showtime Image Gallery has several inputs for each image you add. So it can't be compared with a single text custom field.
Your setup with max_input_vars should be adequate for the fields you describe. However, as I wrote before, since I cannot reproduce the issue, and since the issue occurs in random, I am pretty sure that this is a server limitation.
So, until I find out what is causing this, I recommend again to raise the max_input_vars and also ask your customer some questions.
Is the save process completed when the issue occurs?
Does he get the "Article Saved" message or a server error?
Is there any special in those articles when compared with articles where the issue does not occur?

If it's possible, create a new private ticket and provide administrator credentials. I would like to create an unpublished article and try several things until I find what's causing this issue.

Regards

Ronny Buelund
Now this just happened again! Please see theese screen shots of the db table com_fields_values. The ID's 11,4,6,9 and 12 are all Showtime Image Galleries

Before saving article:



After saving article:



Why are the relations removed and an "ok" inserted instead ??

Lefteris Kavadas
Hi Ronny,

Which Joomla version are you using?

Ronny Buelund
Joomla 5.1.0, PHP 8.2.16, MySQL 8.0.36

It just happened again today on another article. No error message. Fields are just filled with "ok" !!

Lefteris Kavadas
I think that finally I have found what's causing the issue. I think it's happening when save as copy is used. I am working on a fix. An update will come out in a couple of days.
Thank you very much for the feedback you have provided.

Ronny Buelund
The client did NOT use save as copy. They used save and close.

Ronny Buelund

And now it happened again - my client is getting a bit impationt now - could you please fix this ??

Lefteris Kavadas

Hi Ronny,

 

We have just released Showtime Image Gallery version 1.6.0 which fixes several issues and improves compatibility with Joomla 5.1. 

This release should also fix the issue you are facing. If not please create a new private ticket and provide FTP access to your site so I can troubleshoot this in depth.

 

Regards

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review