Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: [FIXED] Date field not saving

Date field not saving 20 Aug 2013 09:19 #10865

  • jamalsed
  • jamalsed's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 0
unfortunately it doesn't work

the system give me this message:



Strict Standards: Declaration of CooperatesupportCkClassControllerItem::postSaveHook() should be compatible with JControllerForm::postSaveHook(JModelLegacy $model, $validData = Array) in C:\xampp\htdocs\cs\administrator\components\com_cooperatesupport\classes\controller\item.php on line 38

Strict Standards: Declaration of CooperatesupportCkControllerHroperationstaffpassportvisaitem::cancel() should be compatible with JControllerForm::cancel($key = NULL) in C:\xampp\htdocs\cs\components\com_cooperatesupport\controllers\hroperationstaffpassportvisaitem.php on line 37

Strict Standards: Declaration of CooperatesupportCkControllerHroperationstaffpassportvisaitem::edit() should be compatible with JControllerForm::edit($key = NULL, $urlVar = NULL) in C:\xampp\htdocs\cs\components\com_cooperatesupport\controllers\hroperationstaffpassportvisaitem.php on line 37

Strict Standards: Declaration of CooperatesupportCkControllerHroperationstaffpassportvisaitem::save() should be compatible with JControllerForm::save($key = NULL, $urlVar = NULL) in C:\xampp\htdocs\cs\components\com_cooperatesupport\controllers\hroperationstaffpassportvisaitem.php on line 37
Array
(
[staff_id] => FM00007
[staff_name] => NEWTON PALLIYAGURUGE
[date_of_join] => 15.12.2009
[date_of_birth] => -231292800
[passport_no] => N0224742
[passport_expiry_date] => 1345939200
[visa_no] => 201/2009/7148492
[visa_expiry_date] => 1370044800
[nationality] => SRILANKAN
)
The administrator has disabled public write access.

Date field not saving 29 Aug 2013 16:17 #10928

  • dyoungers
  • dyoungers's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 16
  • Karma: 0
I have the same problem with dates not saving. In my case I'm using m-d-y format and when dumping the data before saving the data has not been converted to SQL format (y-m-d) which probably explains why the date isn't being save.
[workout_date] => 08-29-2013

Thanks!
Dave
Last Edit: 29 Aug 2013 16:18 by dyoungers.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.084 seconds

Get Started