Viewing Issue Advanced Details Jump to Notes ] << ] >> ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000079 [phpBBGarage] General minor always 2008-05-22 04:54 2008-10-06 09:35
Reporter Sisem View Status public  
Assigned To poyntesm
Priority normal Resolution fixed Platform
Status resolved   OS
Projection none   OS Version
ETA none Fixed in Version 2.0.B4 Product Version 2.0.B3
  Target Version Product Build
Summary 0000079: Error on Edit (moderate) others vehicle with rating.
Description If a vehicle has a rating, clicking on the edit vehicle button - to moderate produces an error:

"Fatal error: Call to undefined function create_date() in /home/sisemtta/public_html/includes/mods/class_garage_vehicle.php on line 1265"
Steps To Reproduce
Additional Information If a vehicle does not yet have a rating this function works fine.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000093)
Alfredo (reporter)
2008-06-03 13:16

Although I don't have phpBB to test it, try doing the following:

Find:
'DATE' => create_date('D M d, Y G:i', $rating_data[$i]['rate_date'], $board_config['board_timezone']),

Replace with:
'DATE' => $user->format_date($rating_data[$i]['rate_date']),

The function create_date no longer exists in phpBB3.
(0000094)
Sisem (reporter)
2008-06-03 17:17

Seems to have worked!
(0000122)
Sisem (reporter)
2008-09-29 09:17

The button for Edit Vehicle works, but it's the button for Moderate Vehicle which does not.

The actual button for both says Edit Vehicle on the image.
(0000163)
poyntesm (administrator)
2008-10-06 09:35

Fixed in SVN

- Issue History
Date Modified Username Field Change
2008-05-22 04:54 Sisem New Issue
2008-06-03 13:16 Alfredo Note Added: 0000093
2008-06-03 17:17 Sisem Note Added: 0000094
2008-09-29 09:17 Sisem Note Added: 0000122
2008-09-29 12:45 poyntesm Assigned To => poyntesm
2008-09-29 12:45 poyntesm Status new => assigned
2008-10-06 09:35 poyntesm Status assigned => resolved
2008-10-06 09:35 poyntesm Fixed in Version => 2.0.B4
2008-10-06 09:35 poyntesm Resolution open => fixed
2008-10-06 09:35 poyntesm Note Added: 0000163
cron