Documentation & FAQ
ODude Ecard
Error
unexpected T_OBJECT_OPERATOR
ODude Ecard
Error
unexpected T_OBJECT_OPERATOR
unexpected T_OBJECT_OPERATOR
- Author:
- Administrator
- Date added:
- Monday, 27 July 2009
- Last revised:
- never
Answer
It is due to some bug at PHP4
Solution:
open /components/com_odudecard/views/odudecardsend/view.html.php
Replace following code
//If PHP5 use this
$clock=JFactory::getDate()->toFormat('%Y-%m-%d');
//If PHP4 use
//$clock=date("Y-m-d");
with
//If PHP5 use this
//$clock=JFactory::getDate()->toFormat('%Y-%m-%d');
//If PHP4 use
$clock=date("Y-m-d");



Add comment