🔍 Locations Link Diagnostic Test

This page tests the locations.php link in different ways.

Test 1: Direct Link

Click this link. It should take you directly to locations.php:

Direct Link to locations.php

Expected: Opens locations page (may require login first)

Test 2: Relative Path

Test with relative path:

./locations.php

Expected: Same as Test 1

Test 3: Check File Exists

Try to access the file directly in browser:

http://yourdomain.com/public/locations.php

Copy the URL above and paste in browser

Test 4: Navigation Simulation

These links simulate the navigation menu:

Test 5: Check Browser Console

  1. Press F12 to open Developer Tools
  2. Go to Console tab
  3. Click the "Locations" link above
  4. Check for any JavaScript errors in red
  5. Go to Network tab
  6. Click "Locations" link again
  7. Check the status code (should be 200 or 302)

Test 6: Verify From Login

  1. Go to Login Page
  2. Login with: admin / admin123
  3. Once logged in, look at the navigation menu
  4. Try clicking "Locations" link in the menu

📋 What to Report:

Please provide this information:

  1. Which test link works? (Test 1, 2, 3, or 4)
  2. What happens when you click "Locations" in nav menu?
    • Nothing happens (link doesn't work)
    • Shows error message (what error?)
    • Redirects somewhere else (where?)
    • Page loads but looks broken
  3. Browser console errors? (F12 → Console tab)
  4. Are you logged in?
  5. What user role? (Admin, Assessor, Viewer)

🔧 Quick Fixes to Try:

  1. Clear Browser Cache: Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac)
  2. Try Incognito/Private Window: Ctrl+Shift+N
  3. Check if file exists: Look for public/locations.php file on server
  4. Check permissions: File should be readable (chmod 644)