Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 29. Mar 2024, 08:22

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: MIsmatch http & httpS
PostPosted: 26. Sep 2016, 21:39 
Offline

Joined: 19. Sep 2016, 16:17
Posts: 4
We upgraded to advanced iframe pro last week, in part because we needed iframes that would be responsive AND dynamically resize. We have it sort of working except for one error that keeps the resize from working for me on Chrome for mac. ( It seems to resize on iOS and on Firefox...thats a good thing)

The page is here: https://www.smccme.edu/admissions-aid/visit/visit-sign-up/

When we started we had a mismatch between the form that is being iframed, it requires a secure webpage, and the surrounding website, which was not secure. We have put certificates everywhere but I am still getting an error from the dev console

ai_external.js:184 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://www.smccme.edu') does not match the recipient window's origin ('https://www.smccme.edu').aiExecuteWorkaround_advanced_iframe @ ai_external.js:184

Here is line 184: parent.postMessage('type=height&' + send_data,'http://www.smccme.edu');

I am sure I could go in and edit ai_external.js by hand, but am worried it will get over written if I update settings...is this set somewhere that I can change either in the plugin or in the system?


Top
 Profile  
 
PostPosted: 26. Sep 2016, 22:29 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You need to press save in the administration again. Because then the https site is saved. Seems you have saved the administration at the time you still had a http page.


In 7.3 I will even support http pages with https pages and the external workaround.
See http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-with-post-message#e53

Best, Michael


Top
 Profile  
 
PostPosted: 26. Sep 2016, 22:41 
Offline

Joined: 19. Sep 2016, 16:17
Posts: 4
I am not going to lie...I did that, and it didn't seem to help...but I just did it now....and you are right, so thank you, I am sure you did something.


Top
 Profile  
 
PostPosted: 27. Sep 2016, 19:09 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
:). I think the browser cached the ai_external.js.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy