Generated: 2025-12-22 18:45:41
| State | Count | Shows on Homepage? |
|---|---|---|
| extend | 1 | Yes |
| running | 3 | Yes |
| close | 4 | No |
These are auctions with state='running' or 'extend' and future end_date:
| ID | Product Name | Price | Bids | Time Left | State |
|---|---|---|---|---|---|
| 13 | Nissan Almera | R 100 | 0 | 14h 49m | extend |
| 15 | Ford Mutsang | R 50,000 | 0 | 15h 56m | running |
| 11 | Ford Ranger | R 10,000 | 0 | 14h 30m | running |
| 14 | Renault Sandero | R 10,000 | 0 | 14h 50m | running |
Direct database values before processing:
| ID | name | product_name | state | current_price | intial_price | end_date | Product? |
|---|---|---|---|---|---|---|---|
| 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 | ✓ |
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!');
}
});
| Symptom | Cause | Solution |
|---|---|---|
| "undefined" name | product_name empty, no product linked | Fill Auction Product Name field |
| "NaN" in countdown | end_date is null | Set End DateTime |
| "R 0" price | current_price AND intial_price both 0 | Set Initial Price > 0 |
| No auctions showing | State not 'running' | Click "Start Auction" button |
| Old data showing | Browser cache | Ctrl+Shift+R or clear cache |
| JavaScript errors | Old theme version | Reinstall theme module |