Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • bjatti Friend
    #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.com

    Thanh Nguyen Viet Friend
    #490166

    Hello 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 file

    plugins/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.

    bjatti Friend
    #490845

    I 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
    Runar

    Thanh Nguyen Viet Friend
    #490876

    Hello 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” page

    In 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.php

    Find 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

    bjatti Friend
    #490928

    Hi 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
    Runar

    Thanh Nguyen Viet Friend
    #491024

    Please send me FTP account via PM for further checking, as I could not edit files using ext explorer component in back-end.

    bjatti Friend
    #491169

    hi just wanted to know if you got my ftp imformation.

    Regards
    Runar

    Thanh Nguyen Viet Friend
    #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 Friend
    #491613

    Hello 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-complete

    Ajax 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=5m12s

    Does your server has any limitation of connection?
    If yes, please try to update it to large value for resolving this issue

    bjatti Friend
    #491808

    Do 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
    Runar

    ps I am using a EC2 server instance from Amazon it is a medium size wich is quite large.

    Thanh Nguyen Viet Friend
    #491845

    I 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.

    bjatti Friend
    #491939

    I the connections have been set to a huga number and still no change.

    rg
    Runar

    Thanh Nguyen Viet Friend
    #491960

    Hello Runar,

    I have checked your server setting on system information page in back-end (tab PHP Information).
    administrator/index.php?option=com_admin&view=sysinfo

    And 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>

Viewing 13 posts - 1 through 13 (of 13 total)

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