[BlueOnyx:08711] Re: more suphp problems

Charles Bowman charlesbowman at wknet.co.uk
Mon Oct 3 11:30:33 -05 2011


Do a PHPINFO()
I think you are running [in suphp] php ver 5.1X.
That class is only available PHP5.2+

On 3 October 2011 17:22, "Søren S. Straszek" <dump_mail at straszek.dk> wrote:

> 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
>
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20111003/b2d57ccd/attachment.html>


More information about the Blueonyx mailing list