Because the session is broken, the server rejects your equipment form submission as a security risk (CSRF failure), and it cannot pull dynamic records like Owners or Members, defaulting them to null.
Step 1: Fix the CSRF Token and Session Expiry
In XAMPP, this is usually caused by Apache lacking write permissions to the Windows temporary folder where PHP stores session files, or because the browser is rejecting session cookies due to an unconfigured domain.
- Open your XAMPP Control Panel and click Config next to Apache, then open
php.ini. - Press
Ctrl + F and search for session.save_path. - Ensure it is uncommented (no
; at the front) and points to a valid, writeable XAMPP folder. Change it to look exactly like this:session.save_path = "C:/xampp/tmp"
- Search for
session.cookie_secure in the same file. If it is set to On or 1, change it to Off or 0 (since you are running locally on http://localhost without an SSL certificate). - Save the file and Restart Apache.
Step 2: Clear Browser Storage
A corrupted session cookie from your previous 403 errors will cause persistent CSRF failures even after fixing the server config.
- In your browser, press
F12 to open Developer Tools. - Go to the Application or Storage tab.
- Select Clear site data (or manually delete all Cookies and Local Storage for
localhost). - Refresh the page and log back into TicketsCAD.
Step 3: Fix Database Null Values (Ownership & Assignment)
If the dropdowns still show null after fixing the session, TicketsCAD v4's database tables are missing their core setup data. You can fix this via phpMyAdmin:
- Open
http://localhost/phpmyadmin and select your TicketsCAD database. - Check the
organizations and members tables. If they are empty, the dropdowns will break or show null. - If they are empty, click the Insert tab on the
organizations table and add a dummy row (e.g., ID: 1, Name: Main Agency). - Do the same for the
members table so the "Assigned Member" dropdown has a valid record to pull instead of a system null.