🔧 Uriel Theme Diagnostic Report

Generated: 2025-12-22 13:36:07

1. Module Status

Webkul Auction Module: ✓ Installed


Uriel Auction Module: ✓ Installed

2. Auction Summary

StateCountShows on Homepage?
extend1Yes
running3Yes
close4No

3. Live Auctions (What JavaScript Receives)

These are auctions with state='running' or 'extend' and future end_date:

IDProduct NamePriceBidsTime LeftState
13 Nissan Almera R 100 0 19h 59m extend
15 Ford Mutsang R 50,000 0 21h 6m running
11 Ford Ranger R 10,000 0 19h 40m running
14 Renault Sandero R 10,000 0 20h 0m running

4. Raw Webkul Data (First 5 Auctions)

Direct database values before processing:

IDnameproduct_namestatecurrent_priceintial_priceend_dateProduct?
13 Auction For Nissan Almera Nissan Almera extend R 0 R 100 2025-12-22 09:35:10 ✓
15 Auction For Ford Mutsang Ford Mutsang running R 0 R 50,000 2025-12-24 10:42:08 ✓
11 Auction For Ford Ranger Ford Ranger running R 0 R 10,000 2025-12-27 09:16:34 ✓
14 Auction For Renault Sandero Renault Sandero running R 0 R 10,000 2025-12-27 09:36:16 ✓
9 Auction For Renault Sandero Renault Sandero close R 0 R 5,000 2025-12-22 08:18:46 ✓

5. JavaScript API Test

Run this in browser console (F12) to test the API directly:

// Test live auctions API
fetch('/theme_uriel/live_auctions', {
    method: 'POST',
    headers: {'Content-Type': 'application/json'},
    body: JSON.stringify({jsonrpc: '2.0', method: 'call', params: {limit: 6}, id: 1})
})
.then(r => r.json())
.then(data => {
    console.log('=== API Response ===');
    console.log('Full response:', data);
    console.log('Result array:', data.result);
    if (data.result && data.result.length > 0) {
        console.log('First auction:', data.result[0]);
        console.log('Product name:', data.result[0].product_name);
        console.log('Formatted price:', data.result[0].formatted_price);
        console.log('Time remaining:', data.result[0].time_remaining);
    } else {
        console.log('No auctions returned!');
    }
});
        

6. Common Issues & Solutions

SymptomCauseSolution
"undefined" nameproduct_name empty, no product linkedFill Auction Product Name field
"NaN" in countdownend_date is nullSet End DateTime
"R 0" pricecurrent_price AND intial_price both 0Set Initial Price > 0
No auctions showingState not 'running'Click "Start Auction" button
Old data showingBrowser cacheCtrl+Shift+R or clear cache
JavaScript errorsOld theme versionReinstall theme module

7. Direct Links