Support » Plugin: WP Photo Album Plus » Front end Uploader not working in Explorer

  • Resolved Garry Conway

    (@gcphoto)


    Jacob,

    For some reason the front-end up-loader stopped working in Internet Explorer and Windows10 Edge. It was working fine, then I upgraded my computer to windows 10 and using Edge the up-loader stopped at “Processing” and the word and green bar just site there.

    The photos upload if I don’t select any TAGS and I can then go to edit and the tags are accepted there. Everything works in Firefox and Chrome. I tried uploading on another machine with windows 7 and explorer 11 and had the same problem as the windows 10 machine.

    In Windows10 with Edge I went to your test site and uploaded photos there with TAGS and it worked fine. I’m using Wppap 6.3.10 and the latest version of Twenty Thirteen for my theme. When I first encountered the problem I had an earlier version of Wppap then updated it and same problem.

    The same thing happens on my live site and my test site. This problem with Internet Explorer happend before and when I changed my theme to Twenty Thirteen that fixed, until now.

    Thanks
    Garry

    https://wordpress.org/plugins/wp-photo-album-plus/

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Do i have a login on your testsite?

    Jacob,

    I just tested the upload this morning and it seems to be working from my windows7 machine with IE but has the same problem when I use my windows10 machine with the Edge Browser. When a site is in the Edge browser it will let you change to Internet Explorer. I tried that and it doesn’t help.

    Garry

    Jacob,

    I tried turning Table II-H3 off and Uploading worked as it should in Windows10 Edge. Unfortunately doing this means the Uploader doesn’t show upload progress so the person uploading won’t know if the upload is happening. Is there anyway of fixing this?

    Thanks
    Garry

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    So it smells like an Windows10/Edge bug.

    If you have wppa debugging enabled ( Table IX-A3 ) and ad &debug ( or ?debug ) to the url line in the browser, you will see the php settings near the bottom of the page.

    Look for _SERVER["HTTP_USER_AGENT"]

    What is this value in Windows10/Edge?

    I could conditionally on Edge only fall back to the non-ajax version

    OK,

    In Edge I am in the Wappa setting,
    It has ( Table IX-A3 )enabled
    1. Placed ?debug with no spaces in URL and I get message I don’t have pernmission.
    2. Placed &debug in URL and reloads page but no additional messages at bottom of page.

    Garry

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Ok, what does it here: http://wppa.opajaap.nl/?debug say for _SERVER["HTTP_USER_AGENT"] on Windows10/Edge?

    Jacob,

    I sent you the debug info in a separate email. Here are a couple notes on the windows10 behaviour.

    1. Yesterday at one point when went to the WP Dashboard, every few minutes I was kicked out of my login and had to login again and again. Later that day I didn’t have that problem.

    2. When I first went to your Wappa demo site I couldn’t upload an image, but later the same day it uploaded properly. I went back again later and it worked properly again.

    3. I went to another site I us with a Photocrati theme and tried to edit captions and titles when I went to save it, it just spun the saving spinner and didn’t save, I left the site and went back later and everything worked as it should.

    I’m just adding this info incase it gives you any ideas on where to look or if anyone else is experiencing these windows10 problems.

    Thanks
    Garry

    Jacob,

    Thanks for the update, I installed it and all kinds of strange stuff going on in Windows10 Edge.

    My Sites

    When I first tried uploading using Edge I kept getting a message that it couldn’t find the URL.
    ——————-
    Hmm, we can’t reach this page.

    Try this
    •Make sure you’ve got the right URL: http://photo-oakridgesmoraine.org
    •Refresh the page
    •Search for what you want
    —————————–
    This was with both my test site and live site. I tried a number of times and same thing. I tried unchecking the AJax in my test site but it didn’t help.

    WPPA Demo site

    Then I went to your demo site and got a completely different message. When I uploaded Window10, Edge did it’s Popup message at the bottom of the screen saying Do you want to save it or open it – this is explorer’s download message. If I said save, the screen cleared but nothing happened I tried again and said open – and I opened it in explorer and got the following message.

    ———-

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>200 OK</title>
    </head><body>
    <h1>OK</h1>

    <p>The server is temporarily unable to service your
    request due to maintenance downtime or capacity
    problems. Please try again later.</p>
    </body></html>
    ————
    I tried it in FireFox and got Firefox’s Download Popup screen.

    My Sites Again

    But that’s not all!

    I rebooted my computer, opened Edge, cleared the Browser cache and tried again. In my test site I got the same message Edge couldn’t find the URL (Ajax is unchecked on the test site).

    I went to the live site with (Ajax checked) and got the same message.

    I went back to the test site and uploaded without any tags selected and it uploaded as it should, then I uploaded again with tags selected and it worked. I then went to my live site with tags selected and it worked, went back to your demo site and got the same download Popup at the bottom of the screen.

    In the morning I was getting the same (Hmm, we can’t reach this page) message on my 2 sites again.

    I have found that windows10 Edge is inconsistent but seems more so now then it was. They have sent an update which I installed and it seems to make it worse.

    I contacted them through their on-line Chat but that didn’t get me anywhere, I found a windows tech phone number so I’ll try again today and let you know what response I get.

    Thanks
    Garry

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Just for your info: The change is made is solely the fact that – when ajax upload is enabled and the browser has Windows NT 10.0 or Edge in its identification string, the upload will not do the ajax method. See wppa-boxes-html.php around line 1790:

    // Ajax upload?
    $ajax_upload = 	wppa_switch( 'ajax_upload' ) &&
    		wppa_browser_can_html5() &&
    		// WINDOWS 10 / Edge bug
    		! strpos( $_SERVER["HTTP_USER_AGENT"], 'Edge' ) &&
    		! strpos( $_SERVER["HTTP_USER_AGENT"], 'Windows NT 10.0' );

    So the behaviour is supposed to be identical with the situation where you untick Table II-H3.

    Jacob,

    Thanks for adding the ajax changes. Just a quick update about the Edge problems I’m having. I had a 3 hour session with a tech from Microsoft yesterday and he ran through a number of utilities and test on my computer. At the end of the session Front-end Uploading to my site was working. Today I’m getting the same error messages from Edge. So it is not fixed.

    Windows10 includes Internet Explorer but when I try it I get the same errors. Again Firefox in Windows10 works fine.

    From all the articles I have read it appears there are a lot of bugs in Windows10 that Microsoft is trying to resolve. Later this week I’ll report the problems I am having to one of Microsoft’s forums and hopefully one day they will resolve it.

    I did notice though, that Edge does not support Java or activeX plugins which may have something to do with the problem, thats why they included Internet Explorer in Winddows10 as an alternative, although as I said that didn’t help.

    Thanks for your help, if I find out anything else I’ll let you know.

    Garry

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Just for the record: The Photo Albums -> Upload Photos page. Did you try Boxes A, B and C with Edge?

    I just tried Photo Albums > Upload in A and B and both worked as they should, I went to the edit screen and added Tags and that worked fine..

    I went back to the Frontend Uploader and:
    – if I upload without selecting tags from the drop down boxes it uploads OK. I can then go into edit photo and add the tags there. This has been consistent each time I’ve tried.
    – if, in Frontent Uploader, I select Tags from the Drop down boxes then I get the error.

    I was at a meeting yesterday and they had Windows10 installed on one of their machines and I got them to try uploading using EDGE and with some Tags selected – it worked fine. They are going add more photos over the next few days and let me know what happens.

    Garry

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Thanx for the info.

    The only difference i can think of is that the upload is a method POST form http request, that contains not only $_FILES[] but also $_POST[] with the tags, name and description as elements.

    I found where the problem resides.

    When installing Windows 10 it may not install the virus programs properly. Windows10 virus program Defender may have a conflict with other virus programs. In my case I had the McAfee virus program and it is suppose to turn off windows defender when Windows10 is installed. You can not have Windows Defender and another virus program working at the same time.

    Unfortunately it isn’t as easy as turning one or the other off. If you have this problem go to your virus program’s Website and see if they have a solution, I went to McAfee’s Support and user forums and found how to fix it.

    Now Windows10’s Edge and Explorer works much better when using the Frontend Uploader.

    Thanks for your help Jacob

    Garry

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Thanx for all your effort and your information on this topic. On my docs and demo site http://wppa.opajaap.nl/ i reverted the patch to avoid ajax upload when windows 10. Please try to upload to see if this works again, so i can revert it in the release.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Front end Uploader not working in Explorer’ is closed to new replies.