By Robgunner on Tuesday, 26 February 2019
Posted in General Issues
Likes 0
Views 685
Votes 0
Hi Guys

It seems the image upload on comments is still playing up
I am on 3.03

Kind regards
Rob
Hi Rob,

Can you provide us the access to your site so we can do some testing? The access on file does not seem to work.
·
Wednesday, 27 February 2019 14:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

I have updated the deatils

Kind Regards
Rob
·
Wednesday, 27 February 2019 15:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rob,

It appears I'm hardly able to reproduce the issue on your site with an older phone. Not able to do so on our local instance. Can you provide us the ftp access to the site so we can try something out?

Let us know, thanks.
·
Wednesday, 27 February 2019 17:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

Thanks for your time on this, not sure why plays up for members.
It never happens for me, only if I add 2 or more images to comment, only shows one.
Ftp credentials updated.

Kind regards
Rob
·
Wednesday, 27 February 2019 17:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

Could it be permissions?

Kind regards
Rob
·
Wednesday, 27 February 2019 18:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rob,

We are not about yet since we are still testing some scenarios and investigating.

It appears that the backend cannot be accessed due to the 1st layer access(https://take.ms/3QqTM). Please advice.

Can you also provide us your cloudflare access because we need to clear the cache several times after making changes so we can properly test.
·
Wednesday, 27 February 2019 19:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

Ill update and turn on admin access on once home.
I would like to run a backup too as live site, can we carry this on tomorrow.
Thanks for your time on this.

Kind regards
Rob
·
Wednesday, 27 February 2019 20:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

Also sorry I don't have the cloudflare access as that's included in 1and1 cdn.
·
Wednesday, 27 February 2019 20:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

I have updated the details, run a backup.
I dont have access to the cloudflare area as part of my cdn package with 1and1 and I login to their panel but no cdn cache clear etc.

Kind Regards
Rob
·
Thursday, 28 February 2019 16:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rob,

We have spent quite some time testing the issue on the site and noticed that the issue seems to be only occurring on slower performance phones(although it still rarely occurs). May I know whether only certain users in particular experience this? And what device were they using specifically when the issue occurred?

I will log this issue in our tracker so we can devise some other method to approach this elusive issue.

In the meantime, I have helped you apply a minor change in the following file to the after-upload delay so that users won't be able to submit the comment very quickly in case the image have not been completely uploaded.
JoomlaFolder/media/com_easysocial/scripts/site-3.0.3.min.js

Can you continue to monitor this again and let us know the requested details. Thanks.
·
Thursday, 28 February 2019 19:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

Thank you for all your time on this.

Yes I will get some details on mobiles etc, Can I update to Es 3.0.4 now or will that override the change?

I will keep you updated on this.

Kind Regards
Rob
·
Thursday, 28 February 2019 19:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rob,

The new version will override the change. Perhaps you can update EasySocial first, then let us know so we can apply the change again.
·
Thursday, 28 February 2019 19:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rob,

I have attached the related file below, which you can apply to the following directory AFTER updating EasySocial to 3.0.4.

JoomlaFolder/media/com_easysocial/scripts/site-3.0.4.min.js

Remember to backup the original file beforehand.
·
Thursday, 28 February 2019 20:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

Brill thanks and will update, backup file, upload the file with fix.
I will keep you updated.
Really appreciate your time on this.

Kind regards
Rob
·
Thursday, 28 February 2019 20:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

Es 3.0.4 updated, fix applied,the imags seem to upload on but multiple images together don't screenshot below shows selecting images and they show before submit, after submit not showing

Kind regards
Rob
·
Thursday, 28 February 2019 21:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Mobile was my HTC 650 on chrome
·
Thursday, 28 February 2019 21:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Test on mobile using camera, my HTC 650
·
Thursday, 28 February 2019 22:01
·
0 Likes
·
0 Votes
·
0 Comments
·
User was iPhone se camera test

Mine was camera test 2 on HTC 650 mine uploaded and showed image, clicked submit no image
·
Thursday, 28 February 2019 22:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Forgot other screenshot
·
Thursday, 28 February 2019 22:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Another member on iPhone 8

She has same issue on conversation too, I have had the issue on conversation too
·
Thursday, 28 February 2019 23:47
·
0 Likes
·
0 Votes
·
0 Comments
·
My phone HTC 650 on chrome browser, images upload, click submit they don't show
·
Friday, 01 March 2019 00:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rob,

Thanks for the information. We are still troubleshooting this and will require more information.

Can you provide us your backend access(currently it appears the user does not have admin access), and also your database access?

Let us know, thanks.
·
Friday, 01 March 2019 14:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

I have enabled admin access on your account.

I dont have the access to the db externally, all controlled through the 1and1 control panel, they have their own phpadmin console accessible from the control panel

Kind Regards
Rob
·
Friday, 01 March 2019 15:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Its not an issue with my php version, im on 7.2.15, should I be on 7.3 yet?
·
Friday, 01 March 2019 15:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

DB info on site details under additional info, thanks again for your time on this.

Kind Regards
Rob
·
Friday, 01 March 2019 16:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rob,

After experimenting and investigating for some time, we have finally found a definite way to reproduce the issue. If I'm not mistaken, after uploading the images, wait a while, then press the submit button.

The reason the images do not exist is because the data from the table #__social_uploader is deleted before the submit button is pressed. Now this does not happen immediately after the image is uploaded, which is why I mentioned waiting a while before pressing submit. https://take.ms/ibWGS

However, we are not sure what is deleting the data in that table. In our local instance, the data is not deleted until after we press the submit button. Do you recall or know of any php script doing this? Or if you have some other suspicions, let us know.
·
Friday, 01 March 2019 17:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

Thanks for all your time on this, I have no idea of a script that would do that, I only have ES and Akeeba admin/backup installed on top or fresh joomla.
I am on the latest joomla, ES etc.
Is there a way to fix it? do I have a corrupt script?

Kind Regards
Rob
·
Friday, 01 March 2019 17:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

The post/stream photo upload works fine, just comment and conversations has this issue, do I just have a corrput script somehow?

Kind Regards
Rob
·
Friday, 01 March 2019 18:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Does the scripts not get updated with latest ES version update?
·
Friday, 01 March 2019 18:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rob,

I suspect that the cronjob is running a bit too frequent, which may be the reason why the contents in the social_uploader table is cleared out before the comment is submitted. May I know how often do you currently set the cronjob to run?

As for the attempt to address this issue, I have applied a fix on the following file to make sure that however frequent the cronjob runs, the contents in the social_uploader table is deleted only when the content has been created 1 hour ago.
JoomlaFolder/administrator/components/com_easysocial/includes/maintenance/maintenance.php

Can you help us monitor the issue again and let us know how it goes? You can also try uploading files in comments and wait for a couple of minutes, then submitting them.
·
Friday, 01 March 2019 20:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

Thank you so much for your time on this, below is my cron job should I increase?

*/1 * * * * wget -O /dev/null 2>&1 "https://mydomain.com/index.php?option=com_easysocial&;cron=1"

I will keep testing and keep you updated, thank you for the fix and sorry you spent a lot of time on this

Kind Regards
Rob
·
Friday, 01 March 2019 20:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

I will keep on testing but since fix on maitenance.php all seems fine, it works on uploading and submit straight away and waiting before submit

I will keep testing and keep you updated.

Have a great day

Thanks Rob
·
Friday, 01 March 2019 20:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rob,

No worries and you're most welcome.

I believe you can retain the cron configuration for now since we have already applied a fix which allows the cron to execute the deletion of data 1 hour from the time of the file's creation.

All you have to do now is monitor the images in comments for a couple of days and let us know how it goes.
·
Friday, 01 March 2019 20:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

Brill thank you and I will leave as is.
I will test the images and let you know next week, have a great weekend

Thanks
Rob
·
Friday, 01 March 2019 21:11
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome, keep us update then.
·
Friday, 01 March 2019 23:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond

All seems fine over the weekend, no issues myself or reports from users.

Kind regards
Rob
·
Monday, 04 March 2019 18:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating us on the issue Rob. I will close the thread now.

If you experience the issue again. Feel free to start a new thread so we can assist you.

Regards.
·
Monday, 04 March 2019 19:36
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post