I think there is a bug when enabling Amazon S3 as remote storage in Ireland region.
I enabled it, run the cron manually, photos were uploaded successfully, but the url generated when displaying the picture had a small misconfiguration.
The url was: http://.s3-eu-west-1.amazonaws.com/........../media/com_easysocial/avatars/users/12695/d70397ab5e4b02661c1217b92b49d3b7_medium.jpg
That dot just before the beginning of the url made photos broken.
After a lot of search I found the file administrator\components\com_easysocial\includes\storage\adapters\amazon\amazon.php and around line 117 in function getPermalink I changed this
Can you please verify me if this is the right solution and if there was actually an issue?
Also, I have set up the cron to run automatically every 5 minutes and although I'm getting email notification that it is running, it doesn't seem to run as no pictures are uploaded to S3 and no emails are sent.
When I run the cron manually (having enabled secure cron job) it is working.
In server cron job, do I have to enter the cron url with the secure phrase or without it? (having tried with both although and didn't work)
I enabled it, run the cron manually, photos were uploaded successfully, but the url generated when displaying the picture had a small misconfiguration.
The url was: http://.s3-eu-west-1.amazonaws.com/........../media/com_easysocial/avatars/users/12695/d70397ab5e4b02661c1217b92b49d3b7_medium.jpg
That dot just before the beginning of the url made photos broken.
After a lot of search I found the file administrator\components\com_easysocial\includes\storage\adapters\amazon\amazon.php and around line 117 in function getPermalink I changed this
$url = 'http://' . $base . '.' . $this->region . '/';
to this $url = 'http://' . $base . $this->region . '/';
and worked fine.Can you please verify me if this is the right solution and if there was actually an issue?
Also, I have set up the cron to run automatically every 5 minutes and although I'm getting email notification that it is running, it doesn't seem to run as no pictures are uploaded to S3 and no emails are sent.
When I run the cron manually (having enabled secure cron job) it is working.
In server cron job, do I have to enter the cron url with the secure phrase or without it? (having tried with both although and didn't work)