Author Topic: FATAL: exception 'Exception' with message 'Day of month not specified  (Read 2455 times)

bastardz

  • Freshman
  • *
  • Posts: 11
    • View Profile
    • Email
Hello
After upgrading from 2.3.2 to 2.5 I have following error when try to  Generating report

Session "default" started at 2014-01-20T19:34:16+0000
#1 ERROR: Error: strtotime() expects parameter 1 to be string, object given in '/home/www/feng_community/application/controllers/ReportingController.class.php' on line 169 (error code: 2)
#2 ERROR: Error: strtotime() expects parameter 1 to be string, object given in '/home/www/feng_community/application/controllers/ReportingController.class.php' on line 176 (error code: 2)
#3 FATAL: exception 'Exception' with message 'Day of month not specified, date_str:[20/01/2014] format:[Y-m-d H:i:s]' in /home/www/feng_community/environment/classes/datetimevalue/DateTimeValueLib.class.php:164
    Stack trace:
    #0 /home/www/feng_community/application/views/reporting/total_task_times_p.php(61): DateTimeValueLib::dateFromFormatAndString('Y-m-d H:i:s', '20/01/2014')
    #1 /home/www/feng_community/environment/classes/template/Template.class.php(85): include('/home/www/feng_...')
    #2 /home/www/feng_community/environment/classes/template/Template.class.php(56): Template->includeTemplate('/home/www/feng_...')
    #3 /home/www/feng_community/environment/classes/template/template.php(35): Template->fetch('/home/www/feng_...')
    #4 /home/www/feng_community/environment/classes/controller/PageController.class.php(115): tpl_fetch('/home/www/feng_...')
    #5 /home/www/feng_community/environment/classes/Env.class.php(135): PageController->getContent()
    #6 /home/www/feng_community/init.php(173): Env::executeAction('reporting', 'total_task_time...')
    #7 /home/www/feng_community/index.php(9): require('/home/www/feng_...')
    #8 {main}
Time since start: 0.26296806335449 seconds

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: FATAL: exception 'Exception' with message 'Day of month not specified
« Reply #1 on: January 22, 2014, 04:39:22 pm »
Hi there!

Could you please try creating the very same report in the demo (demo.fengoffice.com) and let us know if you are still experiencing the issue?

Also, any other error message you received? Like an SQL column missing or alike?

Best,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

bastardz

  • Freshman
  • *
  • Posts: 11
    • View Profile
    • Email
Re: FATAL: exception 'Exception' with message 'Day of month not specified
« Reply #2 on: January 22, 2014, 04:52:51 pm »
There is no more errors. No sql errors.
I have no problem to creating same reports on demo site.
One more info: problem occurs when I first time click back button after successfuly creating report. Now mentioned error shows under Reporting tab directly (cached?).
Tomorrow I will again could create raport and after click back error shows up

bastardz

  • Freshman
  • *
  • Posts: 11
    • View Profile
    • Email
Re: FATAL: exception 'Exception' with message 'Day of month not specified
« Reply #3 on: January 29, 2014, 12:44:04 pm »
Any hint?
How to debug it?