[BlueOnyx:08712] Re: more suphp problems
"Søren S. Straszek"
dump_mail at straszek.dk
Mon Oct 3 11:44:05 -05 2011
Den 03/10/2011 kl. 18.30 skrev Charles Bowman:
> 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
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
Hi,
I am running 5.2.17 - newest version from solar speed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20111003/9c92640d/attachment.html>
More information about the Blueonyx
mailing list