47775e19c784db55de7556abd28d9ff6a2136b4e
Fixed critical bug in assign_ticket.php that was causing JSON parsing errors: - Fixed authentication check to use correct session variable ($_SESSION['user']['user_id']) - Added missing database connection initialization - Added proper connection cleanup (close) - Updated all references to use correct session variable - Changed require paths to use dirname(__DIR__) for consistency This resolves the "Failed to execute 'json' on 'Response': Unexpected end of JSON input" error that occurred when assigning tickets. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Tinker Tickets
A lightweight PHP-based ticketing system designed for tracking and managing data center infrastructure issues.
Features
- 📊 Clean dashboard interface with sortable columns
- 🎫 Customizable ticket creation and management
- 🔄 Real-time status updates and priority tracking
- 💬 Markdown-supported commenting system
- 🔔 Discord webhook integration for notifications
Core Components
- Dashboard: View and filter tickets by status, priority, and type
- Ticket Management: Create, edit, and update ticket details
- Priority Levels: P1 (Critical) to P5 (Lowest) impact tracking
- Categories: Hardware, Software, Network, Security tracking
- Comment System: Markdown support for detailed documentation
Technical Details
- Backend: PHP with MariaDB database
- Frontend: HTML5, CSS3, JavaScript
- Authentication: Environment-based configuration
- API: RESTful endpoints for ticket operations
Configuration
- Create
.envfile with database credentials:
DB_HOST=localhost
DB_USER=username
DB_PASS=password
DB_NAME=database
DISCORD_WEBHOOK_URL=your_webhook_url
Description
A PHP-based ticketing system with a clean web interface for managing and tracking hardware, software, and network issues in Lotus Guild Cluster
Languages
PHP
61.8%
JavaScript
19.2%
CSS
18.7%
Shell
0.3%