> Source: [sk121373](https://support.checkpoint.com/results/sk/sk121373)

# sk121373 - Gaia Portal shows blank page after login with Firefox 5x or Chrome 66

| Property | Value |
|----------|-------|
| Solution ID | sk121373 |
| Date Created | 2017-11-09 |
| Last Modified | 2022-09-04 |
| Technical Level | General |
| OS | Gaia |

## Symptoms

- * After entering the administrator credentials for the Gaia WebUI in Firefox 56 or Chrome 66 and clicking the "LOGIN \>" button, only a blank page appears.

* Debugger in Firefox shows:

  ```
  
  The stylesheet https://SYSTEMIP/login/login.css was not loaded because its MIME type, ?text/html?, is not ?text/css?.
  The stylesheet https://SYSTEMIP/login/ext-all.css was not loaded because its MIME type, ?text/html?, is not ?text/css?.
  SyntaxError: expected expression, got '<'[Learn More]  ext-base.js:1
  SyntaxError: expected expression, got '<'[Learn More]  ext-all.js:1
  SyntaxError: expected expression, got '<'[Learn More]  login.js:1
  ```

* The `/var/log/messages` file shows:

  ```
  
  httpd2: HTTP login from ADMIN-IP as admin
  httpd2: Received URL with out session information, Redirecting to login: /login/ext-all.css  
  httpd2: Received URL with out session information, Redirecting to login: /login/ext-all.js  
  httpd2: Received URL with out session information, Redirecting to login: /login/ext-all.css  
  httpd2: Received URL with out session information, Redirecting to login: /login/ext-all.js  
  httpd2: Received URL with out session information, Redirecting to login: /login/login.css  
  httpd2: Received URL with out session information, Redirecting to login: /login/login.css  
  httpd2: Received URL with out session information, Redirecting to login: /login/ext-base.js  
  httpd2: Received URL with out session information, Redirecting to login: /login/ext-base.js  
  ```

## Solution

This problem was fixed. The fix is included in:

* [Check Point R80.20](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk122485)
* [Check Point R80.10](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk111841) from Take 479
* [Jumbo Hotfix Accumulator for R80.10 (R80_10_jumbo_hf)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk116380) from Take 112
* [Jumbo Hotfix Accumulator for R77.30 (R77_30_jumbo_hf)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk106162) from take 329

Check Point recommends to always upgrade to the most recent version ([upgrade Security Gateway](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=435) / [upgrade Cluster](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=428) / [upgrade Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=184) / [upgrade Multi-Domain Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=166)).

If you wish not to upgrade, as a workaround, use Internet Explorer, or perform the following steps from the Expert mode on the affected machine:

**NOTE:** This changes does not survive reboot. For a permanent fix, install the hotfix.

1. Backup the `/web/htdocs2/login/login.js` file:  

   `[Expert@HostName:0]# cp /web/htdocs2/login/login.js /web/htdocs2/login/login.js.backup`  

2. Run this command:  

   `[Expert@HostName:0]# grep -q "form.el.dom.action" /web/htdocs2/login/login.js; if [ $? -eq 0 ]; then echo File is already modified, exiting.; else echo File backed up and modified. ; sed -i.bak '/form.isValid/s/$/\nform.el.dom.action=formAction;\n/' /web/htdocs2/login/login.js ; fi`

   By running the above command, the following modifications will be made in the `/web/htdocs2/login/login.js` file:

   Line 52 from:

   ` `

   `function submitLoginForm(){`  
   ` var form = Ext.getCmp( 'webui_login_form' ).getForm();`  
   ` if( form.isValid() ){`  
   ` form.submit();`  
   ` }`  
   `}`

   will be changed to :

   ` `

   `function submitLoginForm(){`  
   ` var form = Ext.getCmp( 'webui_login_form' ).getForm();`  
   ` if( form.isValid() ){`  
   ` form.el.dom.action=formAction;`  
   ` form.submit();`  
   ` }`  
   `}`
3. Reload the Gaia Portal login page.  
   **Note:** cprestart is not required. The next time the login page is loaded, it will work correctly.

4. If the Hotfix is not available for the version affected, then the file `/etc/rc3.d/S99local `can be amended to include the commands to modify` /web/htdocs2/login/login.js`. This script runs during the boot up process.   

   Example:  

   `# `  
   `# Fix SK121373 `  
   `# `  
   `grep -q "form.el.dom.action" /web/htdocs2/login/login.js; if [ $? -eq 0 ]; then echo File is already modified, exiting.; else echo File backed up and modified. ; sed -i.bak '/form.isValid/s/$/\nform.el.dom.action=formAction;\n/' /web/htdocs2/login/login.js ; fi`  
   `# `  
   ``echo -e "Fix SK121373 applied at `date` from S99local" >> /var/log/messages``

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
