UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Amazon S3 Ireland wrong url

Mario · ·
9:31 AM Tuesday, 18 February 2014
None
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
$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)
The replies under this section are restricted to logged in users or users with an active subscription with us