[BlueOnyx:08710] more suphp problems

"Søren S. Straszek" dump_mail at straszek.dk
Mon Oct 3 11:22:31 -05 2011


Hi,

I am having some problems getting suphp to work on my sites. Suphp is running, but when it is the a site with  the ecommerce software from cre-loaded stops working.

The error log show this:
[Mon Oct 03 18:19:07 2011] [error] [client 92.246.30.157] PHP Fatal error:  Class 'DateTimeZone' not found in /home/.sites/106/site3/web/sandkasse/65/includes/application_top.php on line 102, referer: http://www.xxx.com/sandkasse/ 

And the php code for this:
date_default_timezone_set(STORE_TIME_ZONE);
$timezone = new DateTimeZone(STORE_TIME_ZONE);
$dateTime = new DateTime("now", $timezone);
$timeOffset = $timezone->getOffset($dateTime);


When suphp is disabled everything is working fine.

Is this a problem with the php-build, or the suphp module?

Any help i appreciated 

BEst Regards

Søren





More information about the Blueonyx mailing list