FreewayTalk

39 replies to this thread. Most Recent

Tony

27 Feb 2018, 9:23 pm

[Pro] Carousel 2 be used in an https site?

hello All

I asked a similar question before but no success so far, Can Carousel 2 be used in an https site? So far I can’t get this work when the site is secure. Any suggestions?

https://tinyurl.com/yd8sc5wd

Any help always appreciated

Tony

Yorkshire | United Kingdom

Freeway Pro 7.1.4

iMac 21.5inc, 16GB | macOS High Sierra 10.13.6

iPhone 6 Plus, 128GB | iPhone 7, 32GB | iOS 12

waltd

27 Feb 2018, 9:30 pm

Try adding the http://actionsforge.com/actions/https-cdn-helper Action to the same page.

Walter

On Feb 27, 2018, at 4:23 PM, Tony <[email protected]> wrote:

hello All

I asked a similar question before but no success so far, Can Carousel 2 be used in an https site? So far I can’t get this work when the site is secure. Any suggestions?

https://tinyurl.com/yd8sc5wd

Freeway user since 1997

http://www.walterdavisstudio.com

Tony

27 Feb 2018, 9:57 pm

Hi Walter

I’ve downlaoed and added this to freeway by simply double clicking. Have I applied this too Freeway correctly?

Any help always appreciated

Tony

Yorkshire | United Kingdom

Freeway Pro 7.1.4

iMac 21.5inc, 16GB | macOS High Sierra 10.13.6

iPhone 6 Plus, 128GB | iPhone 7, 32GB | iOS 12

waltd

27 Feb 2018, 11:03 pm

It’s not enough to install it in Freeway, you also have to apply it to the same page as the carousel. Page / Actions HTTPS CDN Helper.

Walter

On Feb 27, 2018, at 4:57 PM, Tony <[email protected]> wrote:

Hi Walter

I’ve downlaoed and added this to freeway by simply double clicking. Have I applied this too Freeway correctly?

Freeway user since 1997

http://www.walterdavisstudio.com

Tony

1 Mar 2018, 9:15 am

Hi Walter

I’ve double checked and this has been applied to every web page on the site.

Any help always appreciated

Tony

Yorkshire | United Kingdom

Freeway Pro 7.1.4

iMac 21.5inc, 16GB | macOS High Sierra 10.13.6

iPhone 6 Plus, 128GB | iPhone 7, 32GB | iOS 12

waltd

1 Mar 2018, 1:08 pm

Hold down the Control key and choose Publish Everything in Freeway, then upload to your server. The Action is very rock-simple — all it does is rewrite the URLs to the CDN-hosted files. It runs in the “last” slot of Action interactions — fwAfterEndHTML, and Carousel2 runs in fwBeforeEndHTML. So even if the order of publishing means that one Action is called before the other, it won’t make any difference.

Also, you have two JavaScript errors unrelated to Carousel, on each page I have looked at. Take a look at how your Skype code is being added to the page, because the Skype property is missing when you try to call Skype.ui. That should not cause any issues for other code, but it’s worth fixing.

Walter

On Mar 1, 2018, at 4:15 AM, Tony <[email protected]> wrote:

Hi Walter

I’ve double checked and this has been applied to every web page on the site.

Freeway user since 1997

http://www.walterdavisstudio.com

Tony

1 Mar 2018, 1:23 pm

Thank you for your advice Walter.

I’ll do a ‘Publish Everything command’ and take another look at the Skype code which is not displaying corectly at present.

Any help always appreciated

Tony

Yorkshire | United Kingdom

Freeway Pro 7.1.4

iMac 21.5inc, 16GB | macOS High Sierra 10.13.6

iPhone 6 Plus, 128GB | iPhone 7, 32GB | iOS 12

Tony

1 Mar 2018, 9:18 pm

Done the above but with no result :( Not sure whats casuing the problem here.

Any help always appreciated

Tony

Yorkshire | United Kingdom

Freeway Pro 7.1.4

iMac 21.5inc, 16GB | macOS High Sierra 10.13.6

iPhone 6 Plus, 128GB | iPhone 7, 32GB | iOS 12

waltd

1 Mar 2018, 10:22 pm

I’ve asked Jeremy for an explanation about the order of operations in Actions. It could be a timing thing, where the previous Action (Carousel2) has not completed its work when the Page Action comes along to rewrite its work. Another thing to try is to check with the Forge what version of Carousel2 you have — whether it’s the latest or not. You will see the version number in the Actions palette while you have one of the Carousel elements selected in your layout. I don’t think this part of the Action ever changed, but that might be an explanation (if both items are running in the fwAfterHTML slot).

Walter

On Mar 1, 2018, at 4:18 PM, Tony <[email protected]> wrote:

Done the above but with no result :( Not sure whats casuing the problem here.

Freeway user since 1997

http://www.walterdavisstudio.com

Tony

2 Mar 2018, 7:49 am

HI Walter

Would this be th ecorrect and latest vetion of Carousel Protaculous_carousel_1.3.7_.zip (2013-01-30)

I’m currently using Carousel 2 v 0.1.11

The curent Carousel works fine on my iMac but ceases to function when uploaded to the srver.

Any help always appreciated

Tony

Yorkshire | United Kingdom

Freeway Pro 7.1.4

iMac 21.5inc, 16GB | macOS High Sierra 10.13.6

iPhone 6 Plus, 128GB | iPhone 7, 32GB | iOS 12

waltd

2 Mar 2018, 2:28 pm

Carousel 2 is a different Action than the original Carousel, and I don’t recommend you try replacing Carousel2 with the original (your whole page would have to be re-built because they work differently).

You have the latest version of Carousel2, and if you use the latest version of the CDN Helper Action, then I can confirm these two work together. However, there is one thing I neglected to tell you the last time. It’s not enough to apply the CDN Helper to the page, you also have to look in the CDN Helper’s Action pane and check the box for “Use HTTPS”. Until you do that, the Action leaves the links alone. (This is so you can preview the page locally and still see things working.)

Walter

On Mar 2, 2018, at 2:49 AM, Tony <[email protected]> wrote:

HI Walter

Would this be th ecorrect and latest vetion of Carousel Protaculous_carousel_1.3.7_.zip (2013-01-30)

I’m currently using Carousel 2 v 0.1.11

The curent Carousel works fine on my iMac but ceases to function when uploaded to the srver.

Freeway user since 1997

http://www.walterdavisstudio.com

Tony

2 Mar 2018, 2:42 pm

Hi Walter

“CDN Helper’s Action pane and check the box for “Use HTTPS”

That’s all been done when I initially installed the action.

/Users/Padmore/Desktop/Page Actions.png Can you see this attached file?

Would any of thses actiosn also afffect this.

Any help always appreciated

Tony

Yorkshire | United Kingdom

Freeway Pro 7.1.4

iMac 21.5inc, 16GB | macOS High Sierra 10.13.6

iPhone 6 Plus, 128GB | iPhone 7, 32GB | iOS 12

Tony

2 Mar 2018, 3:15 pm

currently using ‘HTTPS CDN hleper Vertion 0.3.1

Any help always appreciated

Tony

Yorkshire | United Kingdom

Freeway Pro 7.1.4

iMac 21.5inc, 16GB | macOS High Sierra 10.13.6

iPhone 6 Plus, 128GB | iPhone 7, 32GB | iOS 12

waltd

2 Mar 2018, 3:32 pm

Yes, that’s the correct one. Are you applying these Actions at the master page or the individual page level?

I just made a test page here in Freeway 7: drew a quick carousel in Carousel2, then applied the CDN Helper to the page. Previewed into BBEdit, saw that the http:// URLs were still there, then checked the box in the CDN Helper interface, and previewed again. All URLs were properly rewritten. I did not do anything at the master page level.

Walter

On Mar 2, 2018, at 10:15 AM, Tony <[email protected]> wrote:

currently using ‘HTTPS CDN hleper Vertion 0.3.1

Freeway user since 1997

http://www.walterdavisstudio.com

Tony

2 Mar 2018, 3:52 pm

I’ve removed the HTTPS CDN Helper action from the master pages. But made sure it’s on all other pages. No change though.

I have an action called ‘Retitle Page’ would that have any adverse effect?

Are there any other Actions that may affect this?

Any help always appreciated

Tony

Yorkshire | United Kingdom

Freeway Pro 7.1.4

iMac 21.5inc, 16GB | macOS High Sierra 10.13.6

iPhone 6 Plus, 128GB | iPhone 7, 32GB | iOS 12

waltd

2 Mar 2018, 4:43 pm

Try building up a new document. Just a single page, add the Carousel to the page (just make it out of colored HTML boxes, nothing fancy). Then apply the CDN Helper to the page. Preview, and read the source code. You should see something like this:

<!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Untitled</title>
    <meta name="viewport" content="width = 780, minimum-scale = 0.25, maximum-scale = 1.60">
    <meta name="generator" content="Freeway Pro 7.1.3">
    <style type="text/css">
    <!--
    body { margin:0px; background-color:#fff; height:100% }
    html { height:100% }
    form { margin:0px }
    body > form { height:100% }
    img { margin:0px; border-style:none }
    button { margin:0px; border-style:none; padding:0px; background-color:transparent; vertical-align:top }
    table { empty-cells:hide }
    td { padding:0px }
    .f-sp { font-size:1px; visibility:hidden }
    .f-lp { margin-bottom:0px }
    .f-fp { margin-top:0px }
    em { font-style:italic }
    h1 { font-weight:bold; font-size:18px }
    h1:first-child { margin-top:0px }
    h2 { font-weight:bold; font-size:16px }
    h2:first-child { margin-top:0px }
    h3 { font-weight:bold; font-size:14px }
    h3:first-child { margin-top:0px }
    strong { font-weight:bold }
    #PageDiv { position:relative; min-height:100%; max-width:780px }
    #item1 { position:absolute; left:107px; top:98px; width:378px; min-height:203px; z-index:1; background-color:#0f0 }
    #item2 { position:absolute; left:339px; top:257px; width:378px; min-height:203px; z-index:2; background-color:#f0f }
    -->
    </style>
    <!--[if lt IE 9]>
    <script src="Resources/html5shiv.js"></script>
<![endif]-->
    <script src="https://ajax.googleapis.com/ajax/libs/prototype/1.7/prototype.js" type="text/javascript" charset="utf-8">
    </script>
    <script src="https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9/scriptaculous.js?load=effects" type="text/javascript" charset="utf-8">
    </script>
    <script src="https://dnk2vbhoq39rr.cloudfront.net/carousel2/0.1.11/carousel2.js" type="text/javascript" charset="utf-8">
    </script>
</head>
    <body>
    <div id="PageDiv">
        <div id="item1" class="carousel_master" data-auto="2" data-duration="0.4"></div>
    <div id="item2" class="carousel_pane item1"></div>
</div>
</body>
</html>

See the three script tags? All https://, and the Freeway CDN is rewritten to its actual domain name on CloudFront (since you can’t serve https:// from a “faked” domain).

If that works for you, as it does for me, your next step will be to start adding the other Actions to the page to match your currently broken page, one at a time, previewing each time, and see where it breaks.

Actions can and do interact with one another. Action authors try to keep these to a minimum, but owing to the nondeterministic way that Freeway publishing works, this is not always possible. Any Action that turns the entire tag tree into HTML text will make it impossible for other Actions to locate tags in the tree and modify them. (after that step, the tag tree is gone, and all there is left is a stream of HTML text.) If any of the Actions in your page do that (and I can’t say one way or the other, as I don’t have or use Retitle Page), then yes, the CDN Helper will be completely powerless over the page if it runs after that other Action.

CDN Helper runs in the last slot, but it cannot control whether other Actions in that same slot are applied before or after itself. According to Jeremy, the order in which Actions are applied to the page or its items determines in what order they will run while the page is publishing. Actions applied at the Master Page level are run before Actions applied at the individual page level. Actions applied to items on the page run before Actions applied to the page. Two Actions applied to the same element will run in the order they were applied.

Walter

On Mar 2, 2018, at 10:52 AM, Tony <[email protected]> wrote:

I’ve removed the HTTPS CDN Helper action from the master pages. But made sure it’s on all other pages. No change though.

I have an action called ‘Retitle Page’ would that have any adverse effect?

Are there any other Actions that may affect this?

Freeway user since 1997

http://www.walterdavisstudio.com

Tony

7 Mar 2018, 5:47 pm

I have not yet resolved this issue. In the mean time I have have has to remove SSL from the site in order to get Carousel 2 working again this also may have contributed to getting the Google map working.

Any help always appreciated

Tony

Yorkshire | United Kingdom

Freeway Pro 7.1.4

iMac 21.5inc, 16GB | macOS High Sierra 10.13.6

iPhone 6 Plus, 128GB | iPhone 7, 32GB | iOS 12

waltd

7 Mar 2018, 5:50 pm

Interesting. I thought the Google code was already sourced from https URLs, but that would be something else to check. If you post the HTML output from this page (with https back on) to Gist, I can hand-edit it so that it (should) work. If you upload that to your server, and find that both the Carousel and the Google map work, then we can try to back out from that finding how to make the changes permanently in Freeway.

Walter

On Mar 7, 2018, at 12:47 PM, Tony <[email protected]> wrote:

I have not yet resolved this issue. In the mean time I have have has to remove SSL from the site in order to get Carousel 2 working again this also may have contributed to getting the Google map working.

Freeway user since 1997

http://www.walterdavisstudio.com

Tony

7 Mar 2018, 5:56 pm

Sounds like a plan. I’ll have to get back to you on that later on this week. If this can be done that would be good.

Any help always appreciated

Tony

Yorkshire | United Kingdom

Freeway Pro 7.1.4

iMac 21.5inc, 16GB | macOS High Sierra 10.13.6

iPhone 6 Plus, 128GB | iPhone 7, 32GB | iOS 12

Carla

9 Jan 2019, 12:19 am

Hey Walter.. I am having same issue with Carousel 2 not working on a site…. here is link to main site so if you look at PROJECTS or TV buttons you will see. I have added the CDN Helper on all pages thx for looking C

https://www.davidpfendler.com/

waltd

9 Jan 2019, 12:57 am

Try adding the HTTPS Helper Action to the page instead. Make sure that you didn’t just add the Action to a Master Page, they don’t always “take” after the page has been made and modified. Go through the Actions Palette on that page and be sure.

Walter

On Jan 8, 2019, at 7:18 PM, Carla <[email protected]> wrote:

Hey Walter.. I am having same issue with Carousel 2 not working on a site…. here is link to main site so if you look at PROJECTS or TV buttons you will see. I have added the CDN Helper on all pages thx for looking C

https://www.davidpfendler.com/

Freeway user since 1997

http://www.walterdavisstudio.com

Carla

9 Jan 2019, 12:58 am

ok will do Walt thx

Carla

9 Jan 2019, 1:04 am

ok Walt.. I tried on this carousel to test . I removed the action and reinstated it, and published everything ect, emptied cached blah ha! here is the link
https://www.davidpfendler.com/taylorswift.html not working

waltd

9 Jan 2019, 1:11 am

I am looking in the head of the page, and the links to the Prototype and Scriptaculous libraries are still http, not https. The Action is designed to fix that. Actually, both of these Actions are designed to fix that.

Walter

On Jan 8, 2019, at 8:04 PM, Carla <[email protected]> wrote:

ok Walt.. I tried on this carousel to test . I removed the action and reinstated it, and published everything ect, emptied cached blah ha! here is the link
https://www.davidpfendler.com/taylorswift.html not working

Freeway user since 1997

http://www.walterdavisstudio.com

Carla

9 Jan 2019, 1:12 am

Ill try again

Carla

9 Jan 2019, 1:18 am

ok Walt I restated the axtion and I looked at the code and you are correct… it still is http for the prototype.. what do you think I should do? maybe uncheck the carousel and check again?

Carla

9 Jan 2019, 1:29 am

Ok I have reset the carousel 2 and redid the buttons as those buttons have always gotten stuck if not cleared, and the CDN action is not working here.

Carla

9 Jan 2019, 1:38 am

Ok Walt.. I wnt back to the action and are there 2 actions? One called HTTPS-CDN-Helper.fwaction and another called HTTPS-Helper.fwaction

the one I have installed is the CDN

Carla

9 Jan 2019, 2:03 am

Walt .. this website is older and I did not know that there is a new Carousel 2… will I have to redo all the slideshows?? thx Walt

waltd

9 Jan 2019, 2:26 pm

HTTPS Helper should work with any of my Actions, all it does is find any instances of http in links and replace it with https.

Walter

On Jan 8, 2019, at 9:03 PM, Carla <[email protected]> wrote:

Walt .. this website is older and I did not know that there is a new Carousel 2… will I have to redo all the slideshows?? thx Walt

Freeway user since 1997

http://www.walterdavisstudio.com

Carla

9 Jan 2019, 3:25 pm

ok Walter.. I went back to apply the page action and all sorts of republishing.. its just not working on the site. Im not sure what to do next C

waltd

9 Jan 2019, 3:43 pm

I don’t know what to tell you. I just tried the combination of Carousel 2 and HTTPS Helper on a new blank page, and it worked the way I would expect it to.

In fact, this reminds me that the latest version of Carousel 2 already uses HTTPS by default, and there’s no way to turn it off. Try downloading Carousel 2 again, and re-installing it in the following manner:

  1. Download from ActionsForge: http://actionsforge.com/actions/carousel-2
  2. While Freeway is running, drag the downloaded Action on top of Freeway’s Dock icon.
  3. Ensure that you see the warning dialog: You are about to install Actions that replace existing Actions. (wording is not precise)

If you don’t see that warning, then what that means is your document is cacheing an older version of the Action, and you don’t actually have the Action installed on your Mac where Freeway can see it. So if you see a different warning (You are about to install Actions, or something like that) then that means you are installing it for the first time. And that could explain a lot, too.

After you do this, hold down the Control key and choose the hidden option Publish Everything from the File menu. Then upload, and see if the problem is resolved.

If this still doesn’t fix things, try creating a new document (as a test), drawing a single HTML box on an otherwise empty page, applying Carousel 2 to that box, and publishing. View source on the page from within your browser, and see whether there are these lines in the <head> section of the page:

    <script src="https://ajax.googleapis.com/ajax/libs/prototype/1.7/prototype.js" type="text/javascript" charset="utf-8">
    </script>
    <script src="https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9/scriptaculous.js?load=effects" type="text/javascript" charset="utf-8">
    </script>
    <script src="https://dnk2vbhoq39rr.cloudfront.net/carousel2/0.2.0/carousel2.js" type="text/javascript" charset="utf-8">
    </script>

Those are the correct links that you should see: note the https:// prefix in them. That’s what I see here when I apply Carousel 2 to a page element. Your page as published has the http:// links in it.

Walter

On Jan 9, 2019, at 10:25 AM, Carla <[email protected]> wrote:

ok Walter.. I went back to apply the page action and all sorts of republishing.. its just not working on the site. Im not sure what to do next C

Freeway user since 1997

http://www.walterdavisstudio.com

Carla

9 Jan 2019, 3:45 pm

ok thx Walter.. I will get back to you with results

Carla

9 Jan 2019, 4:11 pm

ok Walter I did it all. and made a new page here made a new carousel what a quandary .. still not working I see that the links in coke continue to say http

https://www.davidpfendler.com/ts.html#

waltd

9 Jan 2019, 4:42 pm

Make sure your other document is not open. Then make a new blank document and put a single empty HTML box on it. Apply the Carousel 2 Action to that box, and publish. You should see nothing at all visual on the page. Blank, entirely. View source, and see if the links are now https. Very important that you not have any other document open. Freeway caches Actions inside the Action document. A new, blank document will not contain any cached Actions (until you actually apply one). One of the side-effects of this caching is that if you have a document open containing a cached Action, Freeway will happily use that Action in another new document that doesn’t have it. It’s a real mess.

Walter

On Jan 9, 2019, at 11:11 AM, Carla <[email protected]> wrote:

ok Walter I did it all. and made a new page here made a new carousel what a quandary .. still not working I see that the links in coke continue to say http

https://www.davidpfendler.com/ts.html#

Freeway user since 1997

http://www.walterdavisstudio.com

Carla

9 Jan 2019, 4:47 pm

Walter.. do you mean an entirely new project? please note that that the carousel works in preview but not after uploaded on server

sorry im confused .. if I make an entirely new doc with a new carousel I would have to upload on a new space on server?

Carla

9 Jan 2019, 5:00 pm

Ok here is another new doc and the odd thing is that the carousel works but the code still shows http for Protaculous

so I suppose this means that I will have to redo all the carousels on this website which is a pain but please if you could look Walt before I undertake this task? thanks for your help http://carlagrande.com/ts.html

waltd

9 Jan 2019, 6:09 pm

Your new site is not using https. That’s why the libraries load within the page and everything works. If you have an https page, you have to use https for all resources in that page. The latest version of Carousel 2 uses https everywhere. QED, you don’t have the latest version.

If you apply HTTPS Helper to this same page, ensure that the Use HTTPS checkbox is checked (it is by default), and publish again, do the links to Google Ajax libraries become https?

Walter

On Jan 9, 2019, at 12:00 PM, Carla <[email protected]> wrote:

Ok here is another new doc and the odd thing is that the carousel works but the code still shows http for Protaculous

so I suppose this means that I will have to redo all the carousels on this website which is a pain but please if you could look Walt before I undertake this task? thanks for your help http://carlagrande.com/ts.html

Freeway user since 1997

http://www.walterdavisstudio.com

Tony

9 Jan 2019, 6:09 pm

Hi Carla

Ive had the same issues however may advice would be to make sure your using the latest version of Carousel 2, Im currently this is Carousel2.fwaction (2018-03-21) and this works fine and resolved the issue.

Any help always appreciated

Tony

Yorkshire | United Kingdom

Freeway Pro 7.1.4

iMac 21.5inc, 16GB | macOS High Sierra 10.13.6

iPhone 6 Plus, 128GB | iPhone 7, 32GB | iOS 12

Back to Top

Carla

9 Jan 2019, 6:13 pm

Hi Walter I have done all the fixes, so I am suggesting that I redo shows as simple exhibeo as that works perfectly here..

https://www.davidpfendler.com/ts2.html

thanks so much for your time and advice. I have tried all fixes including a new page last I sent you on y own website where the slideshow worked but the code generated http I think using exhibeo is path of least resistance as its quick and easy