🔧 Secret Santa Generator – Troubleshooting Guide

❌ The Secret Santa Generator is not generating results
✔ Make sure you entered at least 2 participants. ✔ Remove blank lines and special characters. ✔ Ensure names are separated by commas or new lines. ✔ If using file upload, make sure the file is .txt or .csv.
❌ The Santa flying image is not showing
✔ Confirm that /wwwroot/images/Santa.png exists. ✔ File names are case-sensitive – ensure it's exactly Santa.png. ✔ If you uploaded a new image, restart the app or clear browser cache. ✔ Ensure the image path uses: src="~/images/Santa.png"
❌ Ho-Ho-Ho sound is not playing
✔ Click anywhere on the page first — browsers block autoplay sound. ✔ Ensure internet connectivity (sound loads from remote server). ✔ Try a different browser. ✔ Check if your device is muted.
❌ File upload not working
✔ File must be .txt or .csv. ✔ File must contain one participant per line. ✔ Very large files may take extra time to load. ✔ Try uploading another file to test functionality.
❌ Copy button not copying text
✔ You must generate results first. ✔ Update JavaScript to use innerText instead of value. ✔ Clipboard may be blocked in insecure HTTP mode → use HTTPS.
❌ Download button not working
✔ You must generate results first. ✔ Some mobile browsers block file downloads. Use Chrome or Edge. ✔ Ensure JavaScript is enabled.
❌ Snowfall animation lagging
✔ Reduce the number of snowflakes in JS. ✔ Close background tabs to reduce CPU usage. ✔ Works best on Chrome or Edge.
❌ Theme switcher not changing colors
✔ Make sure body styles are not overridden by layout. ✔ Clear browser cache to load new CSS. ✔ Refresh page after heavy edits.
❌ Some names are not being assigned correctly
✔ Remove extra spaces or invisible characters. ✔ Ensure no duplicate names like “John” twice. ✔ Ensure there are at least 3 unique names if issues continue.
❌ Page looks broken or design is missing
✔ Clean browser cache (Ctrl + F5). ✔ Ensure your `_LayoutSecretSanta.cshtml` includes Bootstrap. ✔ Check if any unclosed HTML tags exist. ✔ Refresh after editing styles.

🎅 Need advanced debugging? Just tell me — I’ll fix everything! Merry Christmas 🎄✨

⬅ Back