test
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • prophoto Friend
    #839386

    Similar to this recent post, https://www.joomlart.com/forums/topic/sync-is-correct-but-no-url-updating/.

    I’m having issues on two different sites, different servers. One is running php 5.6.16 the other is 5.6.13. As I said SOME of the files are updating but not all. I can browse s3 and see all the files have been uploaded. I’ve tried a bunch of things and can’t seem to find a pattern.

    HELP!

    Luna Garden Moderator
    #839696

    Hi,

    Could you send me the link of your website that contains the Link that not updated and also the capture highlight element got error ? It’ll help us to track the problem easier.

    prophoto Friend
    #840317

    bump

    prophoto Friend
    #841088

    Just look at the template code. All of the style sheets and icons in the header should be loading from s3 but your script is not rewriting the urls.

    Mo0nlight Moderator
    #841728

    Hi

    I fixed the problem via the file file : plugins/system/plg_jaamazons3.php line : 132

    $pattern = "/(link.*href|src|poster)\s*=\s*(\")\/([^\/][^\'\"]*)(\")/i";

    line : 134

    $pattern = "/(link.*href|src|poster)\s*=\s*(\')\/([^\/][^\'\"]*)(\')/i";

    line : 146

    $body = preg_replace("/(link.*href|src|poster)\s*=\s*(\")((?!(?:\w+)\:\/*)[^\/\#][^\'\"]+)(\")/i", '$1=$2'.$currUrl.'$3$4', $body);
    $body = preg_replace("/(link.*href|src|poster)\s*=\s*(\')((?!(?:\w+)\:\/*)[^\/\#][^\'\"]+)(\')/i", '$1=$2'.$currUrl.'$3$4', $body);

    That will be ok now.

    Regards

    prophoto Friend
    #841956

    Did you release a new version?

    prophoto Friend
    #841967

    Your line numbers listed here don’t match up. Please provide a new installer for my other site that has the same issue.

    prophoto Friend
    #842369

    bump

    Luna Garden Moderator
    #843646

    Hi,

    We have fixed problem on your site. Please check the problem on your site and confirm.

    You have the latest version, the line number maybe not match but they’re still the same version.

    prophoto Friend
    #844095

    That does me no good for my OTHER SITE that has the same issue.

    Luna Garden Moderator
    #845053

    Hi,

    I attached the zip file here with the fix, please try to install on your other site.


    1. plg_jaamazons3.zip

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

This topic contains 10 replies, has 3 voices, and was last updated by  Luna Garden 8 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum