JomSocial,
I am going to start off with stating that the video uploads, when using Zencoder enabled with S3, functions properly. The video uploads, trans-codes, and is successfully deposited onto S3 where I can view it from my site. However, now onto the problem...
When I switch the remote integration setting from Local to Amazon S3 the Cron URL begins returning an "Unable to reach host 500 error." As a result all of the files continue to upload to the Local instead of being directed to Amazon S3. However the unique part is that even when the Cron is returning a 500 error I am still able to upload videos and they are processed every time the Cron is scheduled. As a result the Cron does not appear completely unresponsive.
If you will provide me assistance with resolving this problem it will be greatly appreciated.
Thank you,
Steven Dunn
Hi Steve,
Just replicated it and seemw working fine
saviorconnect.com/saviorconnect/973-joms...videos/video/44-test
Please you wait a bit after cron job processed, it will work fine then
Dimas,
The video is pulling properly from Amazon S3. However the images on the site are not being forwarded to Amazon S3 even after attempting to run the cron job multiple times. As long as it is set on Amazon S3 for images I receive a 500 error when attempting to process the cron and the images are being stored and loaded locally.
I appreciate your assistance.
-Steven
Oh ya I found the bug.. I get this error :
Fatal error: Call to undefined function mime_content_type() in /home/saviorcn/public_html/components/com_community/libraries/storage/s3_lib.php on line 1818
Dimas,
I have installed Mime Magic via EasyApache and verified that it is enabled in the PHP settings. Additionally I am now receiving the following error on the Remote Storage page in JomSocial. This was not happening previously.
Notice: Undefined index: in /home/saviorcn/public_html/administrator/templates/isis/html/message.php on line 24
Please advise.
Thank you,
Steven Dunn
This error Notice: Undefined index: in /home/saviorcn/public_html/administrator/templates/isis/html/message.php on line 24 is different issue, this is joomla issue and alrady fixed by them.. github.com/joomla/joomla-cms/pull/2421
Dimas,
I am already running the latest version of Joomla and this issue did not appear until just two days ago. I request that you provide assistance in resolving this problem.
I appreciate your time working on these issues.
-Steven
have you contacted the joomla developer/forum for this, because the isis template issue is not from jomsocial side.
Dimas,
I have now changed my administrator template to "Hathor" and the previous error message is no longer appearing when attempting to run the cron job. However, I now have a different error.
Fatal error: Call to undefined function mime_content_type() in /home/saviorcn/public_html/components/com_community/libraries/storage/s3_lib.php on line 1818
If you wanna use S3 feature you need enable mime library in your php config, I suggest you contact your hosting provide for this,
Dimas,
As per the following article mime has been removed as of PHP 5.3. The use of any older version of PHP is a security risk.
www.php.net/manual/en/mime-magic.installation.php
Please advise.
-Steven Dunn
I aware with this issue... and already talked to our dev, we need change the mime function to the similiar function which supported with php > 5.3
But for time being can you need make sure you can install this php library : mod_mime_magic, mod_mime