Skip to content

Commit cdb77f5

Browse files
author
Zak Winnick
committed
2025.46
1 parent f13b2b6 commit cdb77f5

3 files changed

Lines changed: 83 additions & 9 deletions

File tree

changelog.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,17 @@
431431
<main class="container">
432432
<!-- Latest Version -->
433433
<div class="version-card latest">
434+
<div class="version-header">
435+
<span class="version-number">v2025.46</span>
436+
<span class="version-date">November 12, 2025</span>
437+
</div>
438+
<ul class="version-changes">
439+
<li>Updated rewards information to reflect new Rivian referral program structure</li>
440+
</ul>
441+
</div>
442+
443+
<!-- Previous Versions -->
444+
<div class="version-card">
434445
<div class="version-header">
435446
<span class="version-number">v2025.35.0</span>
436447
<span class="version-date">August 27, 2025</span>
@@ -453,7 +464,7 @@
453464
<li>Optimized performance and reduced CSS footprint</li>
454465
</ul>
455466
</div>
456-
467+
457468
<!-- Previous Versions -->
458469
<div class="version-card">
459470
<div class="version-header">

diagnostic.php

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<?php
2+
// Diagnostic script to help troubleshoot white screen
3+
error_reporting(E_ALL);
4+
ini_set('display_errors', 1);
5+
ini_set('log_errors', 1);
6+
7+
echo "<!DOCTYPE html><html><head><title>Diagnostic</title></head><body>";
8+
echo "<h1>Diagnostic Report</h1>";
9+
echo "<pre>";
10+
11+
// PHP Version
12+
echo "PHP Version: " . phpversion() . "\n";
13+
echo "Server: " . $_SERVER['SERVER_SOFTWARE'] . "\n\n";
14+
15+
// Memory
16+
echo "Memory Limit: " . ini_get('memory_limit') . "\n";
17+
echo "Max Execution Time: " . ini_get('max_execution_time') . "s\n\n";
18+
19+
// Extensions
20+
echo "MySQLi Extension: " . (extension_loaded('mysqli') ? 'YES' : 'NO') . "\n\n";
21+
22+
// Test config.php
23+
echo "Testing config.php...\n";
24+
if (file_exists('config.php')) {
25+
echo "✓ config.php exists\n";
26+
try {
27+
require_once 'config.php';
28+
echo "✓ config.php loaded successfully\n";
29+
30+
if (isset($conn)) {
31+
echo "\$conn variable exists\n";
32+
33+
if ($conn->connect_error) {
34+
echo "✗ Database connection error: " . $conn->connect_error . "\n";
35+
} else {
36+
echo "✓ Database connected successfully\n";
37+
38+
// Test query
39+
$result = $conn->query("SELECT COUNT(*) as count FROM codes");
40+
if ($result) {
41+
$row = $result->fetch_assoc();
42+
echo "✓ Codes table accessible - " . $row['count'] . " codes found\n";
43+
} else {
44+
echo "✗ Query failed: " . $conn->error . "\n";
45+
}
46+
}
47+
} else {
48+
echo "\$conn variable not set in config.php\n";
49+
}
50+
} catch (Exception $e) {
51+
echo "✗ Error loading config.php: " . $e->getMessage() . "\n";
52+
}
53+
} else {
54+
echo "✗ config.php not found\n";
55+
}
56+
57+
echo "\n--- File Checks ---\n";
58+
echo "logo.png exists: " . (file_exists('logo.png') ? 'YES (' . filesize('logo.png') . ' bytes)' : 'NO') . "\n";
59+
echo "logo-dark.png exists: " . (file_exists('logo-dark.png') ? 'YES (' . filesize('logo-dark.png') . ' bytes)' : 'NO') . "\n";
60+
61+
echo "</pre></body></html>";
62+
?>

index.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -580,20 +580,21 @@ class="btn btn-secondary">
580580
<div class="info-card">
581581
<div class="info-icon">🚀</div>
582582
<h3>How It Works</h3>
583-
<p>Use an owner's referral code during checkout of a qualifying R1 Shop vehicle. When you take delivery, both you and the original owner receive rewards!</p>
583+
<p>Use an owner's referral code during checkout of a qualifying R1 Shop vehicle. When an order is placed, both you and the original owner receive Rivian Rewards points plus 3 months of charging on the Rivian Adventure Network!</p>
584584
</div>
585-
585+
586586
<div class="info-card">
587587
<div class="info-icon">🎁</div>
588588
<h3>Your Rewards</h3>
589-
<span class="reward-amount">500 Points</span>
590-
<p class="reward-detail">Redeemable in Gear Shop or R1 Shop<br>(1 point = $1 credit)</p>
589+
<span class="reward-amount">100-500 Points</span>
590+
<p class="reward-detail">500 pts: Tri or Quad<br>250 pts: Dual Large/Max battery<br>100 pts: Dual Standard<br>+ 3 months Adventure Network charging</p>
591591
</div>
592-
592+
593593
<div class="info-card">
594-
<div class="info-icon">🤝</div>
595-
<h3>Share the Love</h3>
596-
<p>Have your own Rivian? Submit your referral code to help others save while earning rewards for yourself. It's a win-win!</p>
594+
<div class="info-icon">⚡</div>
595+
<h3>Owner Rewards</h3>
596+
<span class="reward-amount">250 Points</span>
597+
<p class="reward-detail">Earned when order is placed<br>+ 3 months Adventure Network charging<br>(1 point = $1 credit)</p>
597598
</div>
598599
</div>
599600
</main>

0 commit comments

Comments
 (0)