![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/.cursor-server/data/User/History/-1496f55b/ |
<?php
session_start();
// Simple test - just check if user is logged in
if (!isset($_SESSION['user_id'])) {
header('Location: /auth/login.php');
exit;
}
$user_name = 'Test User';
$credits = 5;
$user_stats = [
'total_tracks' => 0,
'completed_tracks' => 0,
'processing_tracks' => 0,
'failed_tracks' => 0
];
$tracks_with_variations = [];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Test Library - No Lyrics</title>
<style>
body {
background: #0f0f23;
color: white;
font-family: Arial, sans-serif;
padding: 20px;
}
.test-card {
background: #1a1a2e;
border: 1px solid #667eea;
border-radius: 12px;
padding: 20px;
margin: 20px 0;
}
.test-btn {
background: #667eea;
color: white;
border: none;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
margin: 5px;
}
</style>
</head>
<body>
<h1>๐งช Test Library Page - NO LYRICS</h1>
<div class="test-card">
<h2>This is a TEST page with NO lyrics functionality</h2>
<p>If you see a lyrics modal here, it's coming from somewhere else.</p>
<button class="test-btn" onclick="testPlay()">Test Play Button</button>
<button class="test-btn" onclick="testDownload()">Test Download</button>
<button class="test-btn" onclick="alert('No lyrics here!')">Test Alert</button>
</div>
<div class="test-card">
<h3>Library Stats:</h3>
<p>Total Tracks: <?= $user_stats['total_tracks'] ?></p>
<p>Credits: <?= $credits ?></p>
</div>
<div class="test-card">
<h3>Debug Info:</h3>
<p>User ID: <?= $_SESSION['user_id'] ?? 'Not set' ?></p>
<p>User Name: <?= $user_name ?></p>
<p>Page: test_library_simple.php</p>
</div>
<script>
console.log('๐งช Test library page loaded - NO LYRICS');
function testPlay() {
alert('๐ต Play button clicked - NO LYRICS');
}
function testDownload() {
alert('๐ฅ Download button clicked - NO LYRICS');
}
// Check if any lyrics functions exist globally
if (typeof showLyrics !== 'undefined') {
console.error('โ showLyrics function found globally - this is the problem!');
alert('โ PROBLEM: showLyrics function found globally!');
} else {
console.log('โ
No showLyrics function found globally');
}
if (typeof toggleLyrics !== 'undefined') {
console.error('โ toggleLyrics function found globally - this is the problem!');
alert('โ PROBLEM: toggleLyrics function found globally!');
} else {
console.log('โ
No toggleLyrics function found globally');
}
// Check for lyrics modals
if (document.getElementById('lyricsModal')) {
console.error('โ Lyrics modal found in DOM - this is the problem!');
alert('โ PROBLEM: Lyrics modal found in DOM!');
} else {
console.log('โ
No lyrics modal found in DOM');
}
</script>
</body>
</html>