11 Replies Latest reply: Jul 16, 2013 6:00 PM by rgsager RSS

    Blank screen when attempting to log in to apex 4.1

    911942
      Using Oracle APEX 4.1 (new install) with Oracle Http Server 11.1.1.2. APEX sql installed succesfully in database. https configured with Oracle Wallet. Some users can see the initial login page at https://servername.domain:port/pls/apex; but most users only get a blank page. Problem occurs with firefox, IE8 and Chrome browsers.

      Error console in firefox give 4 errors: (server name obsfuscated

      1) Error: missing : after property id
      Source File: https://###########:4443/i/javascript/apex_4_1.min.js
      Line: 28, Column: 257
      Source Code:
      keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,E
      NTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMP

      2)Error: apex is not defined
      Source File: https://##########:4443/pls/apex/f?p=4550:1:8470690132508778
      Line: 17

      3) Error: $v is not defined
      Source File: https:/###########:4443/i/javascript/apex_builder_4_1.min.js
      Line: 1

      4) Error: apex.jQuery is not a function
      Source File: https://############:4443/pls/apex/f?p=4550:1:8470690132508778
      Line: 86

      Testing shows that the browser can hit and display any image from the /i/ images directory and can display the text of all javascript files in the /i/javascript directory. Flushing web cache or browser cache has no effect. Neither does stopping and restarting the http server. The default OHS page does display fine at https://############:4443

      Any ideas? We are following same checklist that has worked in prvious APEX 4.1 deployments.
      Thanks in advance.
        • 1. Re: Blank screen when attempting to log in to apex 4.1
          peter_raganitsch
          Hi User XY,

          check your Webserver installation. Your Browser is not able to locate the APEX css and javascript files which should be stored on the webserver (e.g. directory /images/) and are identified by an alias "/i/" which in turn is defined in your servers dads.conf file.

          -> see installation instruction for details

          brgds,
          Peter

          -----
          Blog: http://www.oracle-and-apex.com
          ApexLib: http://apexlib.oracleapex.info
          BuilderPlugin: http://builderplugin.oracleapex.info
          Work: http://www.click-click.at and http://www.wirsindapex.at
          • 2. Re: Blank screen when attempting to log in to apex 4.1
            911942
            Webserver installation appears to be correct. The /i/ aliias is defined correctly in the dads.conf and, as noted, the browsers on the clients are able to display all images in the /i/ folder as well as access all content in the images subfolders.
            • 3. Re: Blank screen when attempting to log in to apex 4.1
              peter_raganitsch
              Hi Unnamed User,

              thanks for your reply, good to hear that /i/ is working and users can see your webserver directories...

              Nonetheless your error messages point to a problem in finding the required files for APEX.

              A good and easy way to find out what is going on is to use either Firefox with the Firebug Addon, or Chrome, or Safari Browser, switch on Firebug (or the Developer Tools in Chrome/Safari), activate the Network tab, reload the page and read the output in the Network Console.
              There you can see which resources are loaded over and which couldn't be found.

              Hope this helps to track down that problem.

              brgds,
              Peter

              -----
              Blog: http://www.oracle-and-apex.com
              ApexLib: http://apexlib.oracleapex.info
              BuilderPlugin: http://builderplugin.oracleapex.info
              Work: http://www.click-click.at and http://www.wirsindapex.at
              • 4. Re: Blank screen when attempting to log in to apex 4.1
                Jeff E
                Do your Apache logs show any errors?
                • 5. Re: Blank screen when attempting to log in to apex 4.1
                  WZ
                  Hello,

                  I have a new apex 4.1 install on 11.2.0.2 db using Oracle's HTTP server on 64-bit Windows 7. During installation, I pointed "i" directory to c:\download\oracle\apex.

                  I have the same problem that my http://127.0.0.1:8080/apex/apex_admin page is blank.

                  Browser Firefox's error display pointed to "apex is not defined" in the following two lines of code:

                  <style> html {visibility:hidden;} </style><script type="text/javascript">apex.security.framebreaker("D");</script><script src="/i/javascript/apex_builder_4_1.min.js" type="text/javascript"></script>

                  apex.jQuery(document).ready(function(){

                  I could not find dads.conf or apex.war files.

                  lsnrctl shows port 8080 is being listened to:

                  Listening Endpoints Summary...
                  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
                  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=USAAE7457)(PORT=1521)))
                  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=USAAE7457)(PORT=8080))(Presentation=HTTP)(Session=RAW))

                  Any advice on how to go about troubleshooting further?

                  Appreciate your input.

                  WZ

                  Edited by: user11327819 on Jan 26, 2012 12:45 PM
                  • 6. Re: Blank screen when attempting to log in to apex 4.1
                    911942
                    We still haven't got a fix on our problem yet. We have an SR filed with Oracle. I'll try and post the eventual resolution here if we ever get one.
                    • 7. Re: Blank screen when attempting to log in to apex 4.1
                      Criccard-Oracle
                      I have a customer who is reporting the same. When he toggles visibility:hidden using the Firefox plugin, the page displays.

                      My understanding is that visibility:hidden is intended to hide the application ID and page ID in the URL. Is it possible it's hiding the entire page?

                      I'd like to try a workaround by editing the javascript. What would be the alternative value to "hidden"? "Displayed"?
                      • 8. Re: Blank screen when attempting to log in to apex 4.1
                        911942
                        Which firefox plugin are you referring to?
                        • 9. Re: Blank screen when attempting to log in to apex 4.1
                          user12589255
                          Were you able to find any solution? One of our users is facing the same issue, we are able to login and access the application, but she is getting the blank screen after she logs in with her sso.
                          • 10. Re: Blank screen when attempting to log in to apex 4.1
                            manei
                            Hi Gravitt!!,

                            run the "apxldimg.sql" script to load the images,

                            SQL> @apxldimg.sql

                            saludos!!!
                            manei
                            • 11. Re: Blank screen when attempting to log in to apex 4.1
                              rgsager

                              Hi everyone....

                               

                              In a Linux environment...When you run Linux> java -jar apex.war

                              command to configure the apex listener...and on the prompt "Enter the APEX statis resource location or Enter to skip:"

                              enter the full path of where the images are not just the parent directory path....for example the full path enter

                              /u01/app/oracle/product/11.1.0/dbTEST/APEX_4.2.2_en/apex/images

                              then on the script to start the listener enter

                              Linux> java -jar apex.war standalone --apex-images /u01/app/oracle/product/11.1.0/dbTEST/APEX_4.2.2_en/apex/images

                              then your listener will start.

                               

                              I have heard that the installation doco says to just enter the parent path which in the example ends after the APEX_4.2.2_en

                              Cheers

                              Roger Sager

                              rsager@aucott.com.au