Bug Report #3966
method date::formatted_time() is unknown
| Status: | Closed | Start date: | 05/04/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | v3.1.4 | |||
| Resolution: | invalid | Points: |
Description
That's because my php have date/time support enabled (as per phpinfo()). Not sure what does it mean ever, but looks like PHP's internal Date class takes precedence while finding Date.
PHP Version 5.3.5-pl1-gentoo
dev-php/PEAR-Date is not installed
History
Updated by Andrey Pankov about 2 years ago
Fatal error: Call to undefined method date::formatted_time() in /home/none/dev/sc.info/system/classes/kohana/log.php on line 143
const VERSION = '3.1.3';
const CODENAME = 'araea';
Updated by Jeremy Bush about 2 years ago
- Target version set to v3.1.4
As far as I know, there's isn't a built in "Date" class. There's "DateTime". Make sure Kohana is finding the right class: `var_dump(Kohana::find_file('classes', 'date'))`
Updated by Andrey Pankov about 2 years ago
Sorry. Was really issue on my end. And thank you for the help.
Updated by Jeremy Bush about 2 years ago
- Status changed from New to Closed
- Resolution set to invalid