askjoomla.com is your joomla help center, share you tips and experience with other users, ask questions get answers, we provides complete joomla troubleshooting services,support, fix joomla issues, errors.

jupgrade 500 DateTime::__construct(): Failed to parse time string

0 votes
After upgrade joomla 1.5 to 2.5, in kunena i see this error:
500
DateTime::__construct(): Failed to parse time string (http://www.mobijava.lt/joomla25/jupgrade/images/comprofiler/62_4eb9386a9dbb1.jpg) at position 0 (h): The timezone could not be found in the database
How fix this?
asked May 4, 2012 by jexpert

1 Answer

0 votes
Please update below file.
component/com_redshop/helpers/configuration.php

function convertDateFormat($date) {}

Replace

$JApp =& JFactory::getApplication();


with

$JApp =& JFactory::getApplication();
if($date<=0)
$date = time();



Hope it helps .
answered May 4, 2012 by jplus
escort antalya escort izmir ankara escort