Install: Class 'DateTime' not found

Permalink
I'm having problems installing C5 V5.3.3. I've uploaded the files, all checks pass, I enter the site details and DB access details, and then when I try and install, gives the following error message:

Fatal error: Class 'DateTime' not found in /home/fevvah/public_html/C5/concrete/helpers/date.php on line 68

I've tried uploading the installation files again, and double checking the permissions have been inhereted as appropriate, but still no joy.

Can anyone assist or point me in the right direction?

Thanks in advance.

 
Remo replied on at Permalink Reply
Remo
as I pointed out here:http://www.concrete5.org/community/forums/installation/upgrade_from...

c5.3.3 needs at least php 5.2
Fevvahz replied on at Permalink Reply
Ah - I see - apologies, just check and my host is running Version 5.1.6.

Thanks again.
msa replied on at Permalink Reply
The move to require php 5.2 effectively blocks all RedHat Enterprise 5.3 users from using concrete... c5 was too good to be true *sigh*....
Remo replied on at Permalink Reply
Remo
php tends to add new language features quite often and developers tend to use them quickely (which I understand).

Makes it annyoing for people using old out dated of php..

I just had a look at the code and it seems they're doing some fancy time zone stuff using the DateTime class. Probably hard to replace with a custom class.

From what I saw it might be possible to disable the timezone feature in case someone uses a php version older than 5.2. Core team? Andrew? (You're still writing concrete5 needs php 5.1 by the way)
kstrange replied on at Permalink Reply
kstrange
You can run PHP 5.2 on Redhat - why do you think you cannot?
aeroclown replied on at Permalink Reply
aeroclown
That is pretty much my question to. I guess what the person is saying is that redhat has yet to package php5.2 or higher and place it in their repo. So no point and click binary installs. Though I am sure if the author looked around just a wee bit they could find an rpm of php5.2 that is compatible for use. Failing that you can compile php5.2 just as easily.
kstrange replied on at Permalink Reply
kstrange
kstrange replied on at Permalink Reply
kstrange
You can run PHP 5.2 on Redhat - why do you think you cannot?
msa replied on at Permalink Reply
OK - of course you can run PHP x.y on a RedHat system but you have to compile it yourself or get non-RedHat packages somewhere else.
The point of RedHat Enterprise Linux (RHEL) series is to provide a certified combination of software that works together. Sadly, with RHEL 5.3 PHP 5.1.6 is shipped and thus the point of running RHEL 5.3 is lost as you need to break the certified combination if you install another PHP version.
Is this Good or Bad? Depends on how you view it... Good to have a turn-key solution (although expensive) and Bad to break it installing another PHP version.
frz replied on at Permalink Reply
frz
we're working on a point release to fix some of the bugs people have found, shouldn't require anything major to update - but it should behave with PHP a tad earlier than 5.2.. in our zeal to work with php5.3 it looks like we got a little bleeding edge..

apologies.
kstrange replied on at Permalink Reply
kstrange
Bleeding edge can be a good thing, however I'd suggest staying clear of 5.3 for a bit - there are a host of things - bindings, other srcs, libraries etc. that are not working with the new release. You guys are doing a great job with concrete - you probably don't need all the headaches that come with new releases of PHP on top of supporting a product. No worries here my friend - keep up the good work.
burnr replied on at Permalink Reply
burnr
It would have been nice to know this before uploading c5.3.3. I'm waiting on my host to upgrade. :(
ryan replied on at Permalink Reply
ryan
We've got better checking on install & a php 5.1x datetime compatibility class so it'll work without timezone support in 5.1

It'll be released - hopefully this week.
Fevvahz replied on at Permalink Reply
I know what you mean about bleeding edge, I can see why, and my webhost is usually really good with getting as near to bleeding edge as feasible.

I look forward to the updated release so I can get cracking moving a couple of sites over from Drupal!

Thanks frz + ryan!
burnr replied on at Permalink Reply
burnr
For me having my site down is not a big deal. I only use it to play around with. :) I love C5 and the support is fantastic. Keep up the great work!
kstrange replied on at Permalink Reply
kstrange
We are integrating a new site design with C5 right now and are planning on a December Launch. Our site serves over 500,000 visitors per month, and we're confident C5 will be able to handle this. This is (imho) a top 3 CMS system, only reason why it's not #1 - is because it's new - and doesn't have a history of plugins - but that is changing. This is the very first CMS that regular users can easily understand - and hardcore techies can make dance.
frz replied on at Permalink Reply
frz
great comments like that get lost here.. can you repost that to:

http://concrete5.org/about/testimonials...

thx.