Skip to main content
Known Participant
October 7, 2017
Answered

DW device preview: blank page on iPhone and iPad

  • October 7, 2017
  • 3 replies
  • 1995 views

I use DW 2017.5 and a iPhone 7 Plus with IOS 11. I can see in DW in the device preview panel the connected iPhone and I can also click in the DW device preview panel on the device and then the iPhone display shows the overlay with the device data.

So I think the connection over the WLAN is ok.

But I can not see the website on the iPhone. The iPhone shows only a withe blank page. On the local browser with the URL: http://127.0.0.1:49893/preview/app/index.html is all ok, only on my iPhone (also with an iPad) I see a blank page.

Any ideas?

(It is deffentily not a Firewall or Antivirus Problem. I tryed to disable all, same problem.)

    This topic has been closed for replies.
    Correct answer Niharika Jha

    Hi,

    Can you check the web URL field of your server setup?

    So when you are defining your testing server, you need to give the IP of the machine on which the wamp/mamp server is running and not localhost. localhost is recognizable only on your local machine but not on external devices/machines.

    Please change the Web-URL from http://localhost/<YourSite> to http://<your machine IP>/<Your Site>

    Regards,

    Niharika Gupta

    Adobe Dreamweaver

    3 replies

    Niharika Jha
    Adobe Employee
    Niharika JhaCorrect answer
    Adobe Employee
    October 9, 2017

    Hi,

    Can you check the web URL field of your server setup?

    So when you are defining your testing server, you need to give the IP of the machine on which the wamp/mamp server is running and not localhost. localhost is recognizable only on your local machine but not on external devices/machines.

    Please change the Web-URL from http://localhost/<YourSite> to http://<your machine IP>/<Your Site>

    Regards,

    Niharika Gupta

    Adobe Dreamweaver

    DimizuAuthor
    Known Participant
    October 9, 2017

    Yes, this was the problem. I changed in my site configuration, in the panel test-server, from localhost to IP. No works. Thanks.

    But 2 another question:

    a) I can not scroll the page on iPhone (simple HTML page with only paragraphs). I cannot use the inspect feature. Is see on iPhone only the page from the top. This pages is updated when I change an Text in DW and when I save the file. But it is a little a problem when I cannot scroll on the iPhone to the bottom of the page…

    b)

    I noticed also, that when I use complex pages with example JavaScript slider then this slider are broken on the iPhone. On the local machine works fine and also on the iPhone through the normal URL (not device preview, I test also with an live project with the normal URL) the slider works fine.

    Tipps?

    Niharika Jha
    Adobe Employee
    Adobe Employee
    October 9, 2017

    Hi,

    Can you please attach some of your files so that we can try at our end as well? if there is a privacy concern, please drop a private message and share the files.

    Regards,

    Niharika Gupta

    Adobe Dreamweaver

    pziecina
    Legend
    October 8, 2017

    Safari for iOS11 is very susceptible to code errors, (more so than previous versions) and occasionally shows a blank page if there are too many errors in the code.

    Check your code, and fix any errors.

    Note: Dw's device preview is also known to have problems, so once you are certain it is not a problem with your pages code, please post back.

    DimizuAuthor
    Known Participant
    October 9, 2017

    I made a simple page with only one paragraph with an Hello world. There is 100% non an error in the page. I tested on the iPhone with Safari but also with Chrome.

    When I understand correctly DW's device preview use the testserver in the DW Site configuration? Maybe I have there an error?

    It is normal that I must run the local Apache Server to see an simple html page in a browser on the same machine? (With the URLhttp://127.0.0.1:51849/preview/app/index.html my testpage test.html is only shown, when Apache run. Is this normal? The testpage is saved in a site, where I have a local project that runs fine on localhost.

    BenPleysier
    Community Expert
    Community Expert
    October 8, 2017
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    DimizuAuthor
    Known Participant
    October 9, 2017

    Yes, I followed exakt this procedure. Same problem.