T.ME/BIBIL_0DAY
CasperSecurity


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/domains/soundstudiopro.com/private_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/soundstudiopro.com/private_html/quick_ajax_fix.php
<?php
// Quick AJAX Fix Script - Restore broken pages
echo "šŸ”§ Quick AJAX Fix - Analyzing Issues\n";

// Test each broken page directly
$broken_pages = [
    'dashboard.php',
    'community_fixed.php', 
    'library.php',
    'artists.php'
];

echo "šŸ“‹ Testing pages directly:\n";
foreach ($broken_pages as $page) {
    if (file_exists($page)) {
        echo "āœ… $page - File exists\n";
        
        // Test if it has header include
        $content = file_get_contents($page);
        if (strpos($content, 'includes/header.php') !== false) {
            echo "  āœ… Has header include\n";
        } else {
            echo "  āŒ Missing header include\n";
        }
        
        // Check for AJAX script
        if (strpos($content, 'ajax_navigation.js') !== false) {
            echo "  āš ļø Has AJAX script (potential conflict)\n";
        }
    } else {
        echo "āŒ $page - File missing\n";
    }
}

echo "\nšŸ”§ Checking AJAX loader...\n";
if (file_exists('ajax_load_page.php')) {
    echo "āœ… ajax_load_page.php exists\n";
    
    // Test syntax
    $output = [];
    exec('php -l ajax_load_page.php 2>&1', $output, $return_code);
    if ($return_code === 0) {
        echo "āœ… PHP syntax OK\n";
    } else {
        echo "āŒ PHP syntax error: " . implode(' ', $output) . "\n";
    }
}

echo "\nšŸ”§ Checking AJAX JavaScript...\n";
if (file_exists('js/ajax_navigation.js')) {
    echo "āœ… ajax_navigation.js exists\n";
    
    // Check file size (might be corrupted)
    $size = filesize('js/ajax_navigation.js');
    echo "šŸ“Š File size: $size bytes\n";
    
    if ($size < 1000) {
        echo "āš ļø File seems too small - might be corrupted\n";
    }
}

// Quick test of header include
echo "\nšŸ”§ Testing header include...\n";
if (file_exists('includes/header.php')) {
    $header = file_get_contents('includes/header.php');
    if (strpos($header, 'ajax_navigation.js') !== false) {
        echo "āœ… Header includes AJAX script\n";
    } else {
        echo "āŒ Header missing AJAX script\n";
    }
    
    // Check for syntax errors in header
    if (strpos($header, 'src="/js/ajax_navigation.js"') !== false) {
        echo "āœ… AJAX script path looks correct\n";
    }
}

echo "\nšŸŽÆ LIKELY ISSUES:\n";
echo "1. AJAX content extraction too aggressive\n";
echo "2. JavaScript conflicts with existing code\n";
echo "3. Content filtering breaking page structure\n";

echo "\nšŸ”§ RECOMMENDED FIX:\n";
echo "1. Simplify AJAX content extraction\n";
echo "2. Add error handling for navigation failures\n";
echo "3. Fallback to normal navigation when AJAX fails\n";
?>

CasperSecurity Mini