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 25. Nov 2024, 15:07

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  [ 6 posts ] 
Author Message
 Post subject: Errors with iframes
PostPosted: 15. Mar 2018, 22:44 
Offline

Joined: 15. Mar 2018, 22:36
Posts: 3
I have 2 errors that i can't seem to fix... just downloaded and installed pro to attempt to fix but hasn't.

http://elderfineart.com.au/catalogue-2/
Then choose lots 221-240
On desktop lots 239 and 240 are not appearing nor is the next page button
(source for iframe is http://202.191.62.89/~efa2/catalogue.php?m=detail&auctionid=28&v=20&pagecount=12)

http://elderfineart.com.au/catalogue-2/
On iphone it is only displaying 10 lots despite the iframe having 20 lots
(source for iframe is http://202.191.62.89/~efa2/catalogue.php?m=detail&auctionid=28&v=20&pagecount=1)

Settings i'm using:
<div align="center">[advanced_iframe src="http://202.191.62.89/~efa2/catalogue.php" id="iframe1" name="iframe1" width="100%" enable_external_height_workaround="true" enable_responsive_iframe="true" onload_scroll_top="true"]</div>


Top
 Profile  
 
 Post subject: Re: Errors with iframes
PostPosted: 17. Mar 2018, 18:59 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I see a error from the plugin:

Advanced iframe configuration error: The id of the parent and the external workaround are different! Check your settings.

You have set the id to "iframe1" but in the ai_external.js it is still the default "advanced_iframe".
You need to set the id before your external file:

<script>
var iframe_id = "iframe1";
var updateIframeHeight = "true";
var keepOverflowHidden = "false";
</script>

Best, Michael


Top
 Profile  
 
 Post subject: Re: Errors with iframes
PostPosted: 19. Mar 2018, 21:57 
Offline

Joined: 15. Mar 2018, 22:36
Posts: 3
Thanks Michael

I believe i've done that now, in http://elderfineart.com.au/catalogue-3/ using http://202.191.62.89/~efa2/catalogue2.php as a source, however it now doesn't display anything past the first few lines. Sorry if i'm missing something basic here !

Shane


Top
 Profile  
 
 Post subject: Re: Errors with iframes
PostPosted: 19. Mar 2018, 22:15 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you should fix your php page first:
Uncaught SyntaxError: Unexpected end of input -> catalogue2.php:51

Using the developer tools of the browsers is helpful e.g. press F12 in Chrome to open it.

Best, Michael


Top
 Profile  
 
 Post subject: Re: Errors with iframes
PostPosted: 19. Mar 2018, 22:49 
Offline

Joined: 15. Mar 2018, 22:36
Posts: 3
SyntaxError fixed - next step?


Top
 Profile  
 
 Post subject: Re: Errors with iframes
PostPosted: 19. Mar 2018, 23:23 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Enable the debug of post message (like explained on the external workaround page).

Best, Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 10 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