And do you get the same result with other browsers such as Chrome or Firefox?
Hi, Safari works fine, I just tested Firefox, it works fine. I don't have Chrome. I tried Internet Explorer 10 on another computer, got the same error message.
If other browsers work fine, it may be IE not being able to render the layout generated by FM. Is there anything 'odd' on the layout? Just for testing, have the database open on a blank layout with just a line of text to see whether or not that loads. If that works ok, the original layout contains something IE can't swallow, if that does not work, there is something amiss prior to loading the first layout.
It is odd that IE says the addres is not valid as clearly something FM-like is loading evidenced by the layout of the page as far as it gets. It is the contents of the database/layouts that seem not to be working as there is no layout mentioned in the layout-box. Is there anything on the original layout referencing another internet address?
Here is what the layout looks like. I have over 700 businesses, each page has several tabs, one is a Notes tab. As far as the layout referencing another internet address, there is a field for each business website, is that what you mean?
Kathy, just mentioning the URL should be fine (after all, it is just text), if that address is used to acces the website or facebook page or anything alike, that might be a problem somehow for IE.
To be sure, as mentioned earlier, have the database open on a blank page with f.e. just a label. If that functions it is time to find the culpritt on the real layout. This can be done by building up this test layout using a couple of elements at a time from the desired layout each time, or by 'dressing down' a copy of the desired layout by removing a couple elements each time and see when you can access the layout. Prior to this testing, do make a copy of your database, never hurts.
Whether or not it is an external URL thing, something else on the layout, or from FileMaker itself; you're bound to find to find the source of the problem this way.
Thank you, I will definitely try that. The big empty window you see on the upper right side of the layout does display the website, I'm not sure if that is considered accessing the website or not, it is a live, functioning view of the website (it didn't show on this screen shot, it wasn't loaded yet). But I will try the suggestion and see what happens. Maybe I'll remove that field and see what happens. Will definitely back up first! Thanks for the input!
You're welcome, and yip, it does qualify as accessing the site. I'd remove that field from the layout as a first quick test, good idea. If that does prove to be the culpritt, you might want to put it on a tab which is initially not selected, I believe PhilModJunk does something like that in his 'Known Bug LIst' database (see post http://forums.filemaker.com/posts/ad61a7e781)
Have not had time to play with it today but I will definitely check that out. Thanks again Jan.
So I just removed the field that displays the website, and tried accessing it from Internet Explorer and it worked!! Thanks so much, I guess I'll have to live without that field or move it like you said. Don't really need it actually.
Good, happy to hear of your succes!
Either move it, or make a button to load when you want to have a look, anything like that will be ok. There is no need to live without it.
Have fun with it!
Could you give me the steps on how to create a button to load the web page? I tried putting the web viewer on a separate tab, but Internet Explorer didn't like that either. I would be happy with just a button to launch the website in the browser. I don't know enough about Filemaker to know how to do this. Thanks!
Although I can help you setting the webviewer up using a button, I think we would like to know why things go wrong with Internet Explorer. Simply because we might shift the problem to the moment when you press the button. These kind of errors should be handled elegantly I think, so if they unexpectedly happen at some moment in the future you''ll know what is going on. Just to be sure: have you read the section on IWP and webviewers in the FileMaker IWP documentation (fm12_instant_web_publish_en.pdf, should be among the documents)?
Did Internet Explorer specify what it did not like? Preferably which address it could not load? Does the database start at a particular record? If so, what happens if you try another record? Also did you have that tab visible when loading the database? The trick is not to have it visible until you click the tab; then the webviewer starts loading
Anyway, there is a relatively simple method to load the website in your browser (not just your webviewer), let's start there. You are going to create a button which executes a script that tells your browser to load the URL. On your layout create a button, select 'perform script' in the popup window followed by 'specify'. This opens a new window where you can select a script. As we are going to create one, click the little '+' in the lower left corner. You are now in a window where you create a script. Type 'Open URL in browser' for the scriptname, then scroll completely down in the left column and double-click 'Open URL', it will be among the last ten or so commands. It should now be listed in the righthand edit section. Underneath that you''l see the option 'Perform without dialog', select that, then click 'Specify' to fill in the details. This opens a window where you specify the URL, select the field that contains the URL. Click 'OK on all the open windows until you are back in layout. The cursor will be on the button for to type in a text for the button, type 'Go' (or something similar). That's it, it should work now... select a record and press 'Go'. This method works in an ordinary client and I expect to work in IWP, yet have not tested that. (if you are using privileges to control access to the database for specified users, make sure they can access the necessary fields and are allowed to execute the script)
This takes all the website processing externally from your IWP session, increasing chances of succes. Should you want it inside your solution using a webviewer, I am sure we can get that working as well, but then I think we'd want to know what messes up Internet Explorer.
Go and try the steps, and let me know what happens if you will.
I think this will work! I had to disable my popup blocker in order to allow it to open the URL, but tested a few pages and it works. The pages where they do not have a website, it does nothing, just comes back to the page, which is perfect. So thank you again for your help! As far as what I tried before, putting the web viewer on a separate tab, no it did not specify which address is not valid, just gives me the same message as in my screen shot above. Interestingly, the database in IWP always comes up to the same record regardless of where I am on my computer, but that record has a valid URL, and I don't get the error message until I click on the web viewer tab.
I am fine though with the button opening in the browser, that is all I need, so I will just remove the web viewer tab. Your steps worked, thanks!!