We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26482
    • 138 Posts
    Hi,

    I have a fully functional webloginPE setup in Chrome (and Firefox). However, in IE7 the registration page just refreshes, but never goes further into the process. Also, there is never an error message showing up, so it seems the page refreshes without ever sending data to the snippet.

    Link:http://www.obblaricum.nl/account/registratie

    Has anyone ever gotten the WebloginPE snippet to work in IE7?

    Thanks.
      • 26482
      • 138 Posts
      Hi,

      Is nobody interested in IE7 anymore? A lot of corporate users are stuck on this browser still.
      From looking at the generated html code, I see no reason why the form submission doesn’t work at all.

      Help!
        • 36416
        • 589 Posts
        Quote from: sderuiter at Feb 18, 2010, 03:51 AM

        Is nobody interested in IE7 anymore? A lot of corporate users are stuck on this browser still.
        From looking at the generated html code, I see no reason why the form submission doesn’t work at all.

        I get this by requesting ieButtonFix.js needed to handle <button> tags in Internet Explorer:
        <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
        <HTML><HEAD>
        <TITLE>403 Forbidden</TITLE>
        </HEAD><BODY>
        <H1>Forbidden</H1>
        You don't have permission to access /assets/snippets/webloginpe/js/ieButtonFix.js
        on this server.<P>
        <HR>
        <ADDRESS>Apache/1.3.37 Server at www.obblaricum.nl Port 80</ADDRESS>
        </BODY></HTML>
        
        
          • 26482
          • 138 Posts
          That’s very helpful, thanks! Would you think that this is the result of permissions? The file is present (as far as I can see in the Modx File Manager). I don’t think I can verify permissions without ftp or ssh access, right?

          Chrome Devtools says: Resource interpreted as script but transferred with MIME type text/html (ieButtonFix.js). Could this be that the call in html has the wrong mime type?

          This is the call in the html:
          <script type="text/javascript" src="assets/snippets/webloginpe/js/ieButtonFix.js"></script> 
          . Seems ok to me.
            • 36416
            • 589 Posts
            Quote from: sderuiter at Feb 18, 2010, 04:06 AM

            That’s very helpful, thanks! Would you think that this is the result of permissions? The file is present (as far as I can see in the Modx File Manager). I don’t think I can verify permissions without ftp or ssh access, right?

            Yes, you need FTP client or Control Panel File Manager access to check that.

            This is the call in the html:
            <script type="text/javascript" src="assets/snippets/webloginpe/js/ieButtonFix.js"></script> 
            . Seems ok to me.

            Looks ok to me, too. What I usually do is wrap it inside IE conditional:
            <!--[if IE]> <script type="text/javascript" src="assets/snippets/webloginpe/js/ieButtonFix.js"></script> <![endif]-->
            
              • 26482
              • 138 Posts
              Hmmmm, help me out here, please. The file ieButtonFix.js IS stored at the correct location, but no matter which permissions I give to the file, the result is always the same. Going directly to the file in a browser http://www.obblaricum.nl/assets/snippets/webloginpe/js/ieButtonFix.js gives a 403 Forbidden and http headers also show a 403 Forbidden.

              What am I missing here? I can’t access any .js file in that directory, for that matter.
                • 3749
                • 24,544 Posts
                That happens in FF also. What are the permissions on that directory and its files (as shown in cPanel’s File Manager).
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 26482
                  • 138 Posts
                  Can’t check out till later today, but I moved the .js file to /assets/js and changed the reference in the webloginpe snippet and things are back to normal in IE7 again!

                  As a matter of reference, what should the permissions be on snippet files and folders?

                    • 3749
                    • 24,544 Posts
                    It depends on the host. I’m going to guess that your host implemented suPHP or suExec or something similar (though you should check), in which case folders: 755 Files:644.
                      Did I help you? Buy me a beer
                      Get my Book: MODX:The Official Guide
                      MODX info for everyone: http://bobsguides.com/modx.html
                      My MODX Extras
                      Bob's Guides is now hosted at A2 MODX Hosting