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.069 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started