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

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started