Sunday, February 05, 2012
   
Text Size

Favourites Email Print

unexpected T_OBJECT_OPERATOR

Author:
Administrator
Date added:
Monday, 27 July 2009
Last revised:
never
Hits:
2664
Rating:
 
Vote for this:
Good - Bad
favoured:
0 Favour

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");



Category

Add comment


Security code
Refresh