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

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started