-
AuthorPosts
-
December 31, 2012 at 12:14 pm #183540
Hi,
yesterday the upload cron job i start from another script started returning error ‘255’exec(‘/usr/bin/php -q /var/www/html/administrator/components/com_jaamazons3/cron.php’,$output, $return);
so i entered the admin to see whats going on.
when trying to use the “files browser” from the bucket manager (using this link :
administrator/index.php?option=com_jaamazons3&view=repo&bucket_id=1)i get this error:
Fatal error: Uncaught exception ‘RequestCore_Exception’ with message ‘cURL resource: Resource id #199 cURL error: Couldn’t resolve host ‘xxx.s3.amazonaws.com’ (6)’ in /var/www/html/administrator/components/com_jaamazons3/lib/cloudfusion.2.6/lib/requestcore/requestcore.class.php:797 Stack trace: #0 /var/www/html/administrator/components/com_jaamazons3/lib/cloudfusion.2.6/services/s3.class.php(709): RequestCore->send_request() #1 /var/www/html/administrator/components/com_jaamazons3/lib/cloudfusion.2.6/services/s3.class.php(1369): AmazonS3->authenticate(‘xxx’, Array) #2 /var/www/html/administrator/components/com_jaamazons3/models/repo.php(214): AmazonS3->list_objects(‘xxx’, Array) #3 /var/www/html/libraries/joomla/application/component/view.php(364): jaAmazonS3ModelRepo->getFolderTree() #4 /var/www/html/administrator/components/com_jaamazons3/views/repo/view.html.php(89): JView->get(‘folderTree’) #5 /var/www/html/administrator/components/com_jaamazons3/controllers/repo.php(97): jaAmazonS3ViewRepo->display() #6 in /var/www/html/administrator/components/com_jaamazons3/lib/cloudfusion.2.6/lib/requestcore/requestcore.class.php on line 797
same when trying to edit the bucket, i get this error:
Fatal error: Uncaught exception ‘RequestCore_Exception’ with message ‘cURL resource: Resource id #200 cURL error: Couldn’t resolve host ‘xxx.s3.amazonaws.com’ (6)’ in /var/www/html/administrator/components/com_jaamazons3/lib/cloudfusion.2.6/lib/requestcore/requestcore.class.php:797 Stack trace: #0
what could this be ? is it related to the cron job not working ?
ThanksThanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
January 3, 2013 at 2:28 am #478186Hello buzibuzi,
I’m sorry for late response.
You should use url instead of path to cron.php file. You can get cron URL for specific folder in S3 back-end >> Viewing Local file page.So your cron job command should update like below:
wget -q -O /dev/null "http://yoursiteurl/administrator/components/com_jaamazons3/cron.php?key=....."
replacing for existing one:
exec('/usr/bin/php -q /var/www/html/administrator/components/com_jaamazons3/cron.php',$output, $return);
-
AuthorPosts
This topic contains 2 replies, has 2 voices, and was last updated by Thanh Nguyen Viet 11 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum