-
AuthorPosts
-
January 5, 2016 at 7:33 pm #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 ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
January 6, 2016 at 3:49 am #839696January 6, 2016 at 4:57 pm #840317bump
January 7, 2016 at 2:53 pm #841088Just 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 ModeratorMo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
January 8, 2016 at 9:16 am #841728Hi
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
January 8, 2016 at 3:05 pm #841956Did you release a new version?
January 8, 2016 at 3:26 pm #841967Your line numbers listed here don’t match up. Please provide a new installer for my other site that has the same issue.
January 9, 2016 at 4:44 pm #842369bump
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
January 11, 2016 at 4:09 am #843646January 11, 2016 at 12:15 pm #844095That does me no good for my OTHER SITE that has the same issue.
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
January 12, 2016 at 3:48 am #845053Hi,
I attached the zip file here with the fix, please try to install on your other site.
-
AuthorPosts
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