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

TOPIC:

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

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
)

Please Log in or Create an account to join the conversation.

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

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

Please Log in or Create an account to join the conversation.

Last edit: by dyoungers.
  • Page:
  • 1
  • 2
Time to create page: 0.086 seconds

The j-cook project is indeed one of the best tools I've run across for building Joomla components and the beta version should make things even better!

dyoungers (Forum)  

Get Started