-
AuthorPosts
-
April 16, 2013 at 2:00 pm #186809
to admin here note in FTP/SSH is the first set of login and password for the site for the popup login window.
Hi my friends.
I have a problem with JA-S3. I have not started using the cron job. Going to wait with that until I get this running without it.
the problem:
I choos the files to upload from my eadamopro profile and everything looks like its going to work and I get no errors until in the end when I get the message undefined.The sync does not complete. I have tried with just one file and it did also not work.
Let me know if you need any more imformation from me regarding this issue.
Regards
RĂșnar Sigurdsson
eadamo.comThanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
April 17, 2013 at 10:45 am #490166Hello Bjatti,
I have checked your site, and I faced some issue with uploading progress bar.
The cause of this issue might be conflict with javascript library of JomSocial component, since JomSocial add its script in all page. To resolve this issue, please try open the fileplugins/system/jomsocialupdate/jomsocialupdate.php
Find the below code snippet:[PHP]
private function _loadScript()
{
$document = JFactory::getDocument();
$task = JRequest::getCmd( ‘task’ , ” );[/PHP]and replace it with:
[PHP]private function _loadScript()
{
$document = JFactory::getDocument();
$task = JRequest::getCmd( ‘task’ , ” );$option = JRequest::getVar(‘option’);
$app = JFactory::getApplication();
if($app->isAdmin() && $option == ‘com_jaamazons3’) {
return;
}[/PHP]FYI: I have upload all files in eadamopro profile to S3 server, you can see they are loaded from S3 server on front-end now.
April 23, 2013 at 3:48 pm #490845I am unable to do the same and some of the files are not linking to amazon.
What we want to be able to do is to
1. upload all the files from images to S3 and remove them from our server.
2. we want to do this with a cron job.
3. If you fix this I will need to know what you did to fix it.ps. is there a manual way to move the files to s3 and then upload the links?
Regards
RunarThanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
April 24, 2013 at 4:20 am #490876Hello Bjatti,
Regarding your question
<blockquote>1. upload all the files from images to S3 and remove them from our server.</blockquote>
=> if you upload file manually in back-end, we have provided option to delete files from your server after they are uploaded to s3<blockquote>2. we want to do this with a cron job.</blockquote>
=> you can setup cron tab to do it automatically. For setting up cron tab, you can follow up user guide here. You can get cron url for special folder in “local file manger” pageIn cron mode, your local file will be kept after it is upload to S3. For deleting it, you need open the file
administrator/components/com_jaamazons3/cron.phpFind the following code snippet;
[PHP]$ctrlRepo->_upload($uploadToken, $profile, $uploadFolder, 2);//upload new file or updated file[/PHP]And replace it with:
[PHP]$ctrlRepo->_upload($uploadToken, $profile, $uploadFolder, 3);//upload new file or updated file[/PHP]<blockquote>3. If you fix this I will need to know what you did to fix it.</blockquote>
Let me know if you have any problems with the above tasks
April 24, 2013 at 11:27 am #490928Hi and thank you for fast replies
hi I still get most of my images as http://eadamo.com/images/photos/411913/31/thumb_b0288873238f7b2d26faceb8.jpg and not http://eadamo.s3.amazonaws.com/woman-reading-1022-275_0.jpg?javer=1304240424. That is why I do not delete the files yet. And I still get undefined when trying to enable and upload. Its like they dont get enabled.
Regards
RunarThanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
April 25, 2013 at 9:41 am #491024Please send me FTP account via PM for further checking, as I could not edit files using ext explorer component in back-end.
April 26, 2013 at 7:16 pm #491169hi just wanted to know if you got my ftp imformation.
Regards
RunarThanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
May 2, 2013 at 2:30 am #491601<em>@bjatti 370616 wrote:</em><blockquote>hi just wanted to know if you got my ftp imformation.
Regards
Runar</blockquote>Hello Runar,
I’m sorry for late response. We have just came back from holiday.
Yes, I got your FTP account. I’m checking your issue and I’ll get back to you, when i find the cause of this bug.Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
May 2, 2013 at 5:03 am #491613Hello Runar,
We are facing the same issue with this one that describe in this thread
http://stackoverflow.com/questions/8917052/ajax-call-wont-complete-until-previous-ajax-call-is-completeAjax request for updating status bar is not completed until the call to upload files is finish, that’s why you do not see what is working.
Normally, it will work like it is described in this video
http://youtu.be/dtknH2ljq5Q?t=5m12sDoes your server has any limitation of connection?
If yes, please try to update it to large value for resolving this issueMay 3, 2013 at 12:18 pm #491808Do you know where I can set the per user tcp connection? Is this a part of apache or is this a part of the linux system it self?
Regards
Runarps I am using a EC2 server instance from Amazon it is a medium size wich is quite large.
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
May 4, 2013 at 2:49 am #491845I have asked our server & network administrator about this issue, but he is not sure which setting should be updated if only checking in joomla back-end.
He suggest that you should raise ticket to Amazon EC2 support team to resolve this issue.
May 5, 2013 at 7:33 pm #491939I the connections have been set to a huga number and still no change.
rg
RunarThanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
May 6, 2013 at 4:43 am #491960Hello Runar,
I have checked your server setting on system information page in back-end (tab PHP Information).
administrator/index.php?option=com_admin&view=sysinfoAnd I see that keep-alive option is off.
Max Requests Per Child: 5000 – Keep Alive: off – Max Per Connection: 100
You need turn on it to resolve this issue
<blockquote>The Keep-Alive extension to HTTP/1.0 and the persistent connection feature of HTTP/1.1 provide long-lived HTTP sessions which allow multiple requests to be sent over the same TCP connection.</blockquote>
-
AuthorPosts
This topic contains 13 replies, has 2 voices, and was last updated by Thanh Nguyen Viet 11 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum