Hello,
I upgraded Jomsocial to the latest 3.1.1 version (It was running 3.0.1.4). All other site components have not changed and are running latest versions.
Joomla! 2.5.19
There was no config changes - it was intended to be a simple upgrade but as soon as the upgrade was done, I checked the community page and most all groups and members profile images no longer work. (It was working just before as I checked).
Some newer avatars are working but they are being pulled locally and not from Amazon. I did confirm all images still seem to be on Amazon - I thought the update may have wiped them by they are there,
Not sure what to do since all the settings are the same and should be working.
Site information included.
Hi, Scott.
Please read this topic:
www.jomsocial.com/forum/installation/150...ges-dissapears#76370
Hi Michal,
I follow instruction and applied the fix:
(I got the correct path from the last link which he corrected himself)OK, here is the quick fix, open this file components/com_community/libraries/storage/s3.php , find this code :
s3.amazonaws.com/' . $this->bucket . '/' . $item->resource_path;
replace to :
' . $this->bucket . '/s3.amazonaws.com/' . $item->resource_path;
Hi, Scott.
Ok, try to do something like this: in Configuration > Remote Storage change for Avatars from Amazon S3 to Local... check if avatars return... than again change to Amazon S3.
For some reason I can't reach your backend... even if I use password you provided (in Miscellaneous)...
Hello,
I tried the suggestion. I switched to local storage - ran Cron. Then switched back to S3 storage and ran cron.
This message came up so I was hopeful:
<message>5 avatar file(s) transferred.</message>
But when I looked at the community page, now the recent avatars that were working (although hosted locally) are no longer working. It seems the upload to S3 works but the Jomsocial links for the thumbnails keep pointing to the local file which obviously no longer exist.
I re-tested the login info I provided and it works for me - what problem are you having getting to the backend?
Hi, Scott.
It seams that cron transfer files to S3 storage but links for images are not updated... I checked also for photos in albums... image is missing too.
This issue is fixed in JS 3.2 (but not upgrade to that version on your production site!) but I assign developer to this thread.
Hi,
please check again, I just fix this.. your modification code here
www.jomsocial.com/forum/installation/152...rage-amazon-s3#76778
was not correct, so I fix it to be like this :
if ($uri->isSSL()) {
return 'https://'. $this->bucket . '.s3.amazonaws.com/' . $item->resource_path;
} else {
return 'http://'.$this->bucket . '.s3.amazonaws.com/' . $item->resource_path;
}