Broken /Admin Page With CSS Errors
Broken /Admin Page With CSS Errors
If you're visiting a track's /admin page and it has a white background, plain text, and you're getting errors indicating that there are CSS files missing (you can hit F12 to use the inspector tool in Chrome and click Console to see these errors), then it's likely that URL Rewriting has broken in IIS and you'll need to reset them up.
A quick test to see if this is the case, is to change the URL to /admin to explicitly include "index.php", which is secretly supposed to be rewritten in the background.
For example, change:
https://vm-122.clubspeedtiming.com/admin/login
To:
https://vm-122.clubspeedtiming.com/admin/index.php/login
If the second link works for you, but not the first, then this is the correct page to solve your problem!
To set up URL Rewriting:
- Open IIS.
- Expand out "Default Web Site" and select admin.
- Double click "URL Rewrite".
- Select each Imported Rule (should be 1 and 2), and click "Remove" on the right-hand side for each.
- Once they are all removed, click "Import Rules..."
- Click the "..." button and navigate to and select c:\clubspeedapps\admin\www\.htaccess
- Click "Import".
- Click "Apply".
- Refresh the page: https://vm-122.clubspeedtiming.com/admin/login
- ---> Your problem should be fixed!