ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

PHP 5.3.0 Compatibility

July 29, 2009 11:30am

Subscribe [18]
  • #1 / Jul 29, 2009 11:30am

    Derek Jones's avatar

    Derek Jones

    7561 posts

    Hey everybody, just stopping by to drop a note for those who are interested and are running PHP 5.3 on their dev boxes, that the subversion repo for the in-development v1.7.2 has been updated for compatibility with PHP 5.3.0.

    If you encounter any issues, feel free to post them to this thread, or to the bug forum / tracker dropping a note here.

  • #2 / Jul 30, 2009 3:24am

    Yash's avatar

    Yash

    362 posts

    Thank you so much

  • #3 / Jul 30, 2009 3:49am

    InsiteFX's avatar

    InsiteFX

    6819 posts

    Thank you very much.

    Enjoy
    InsiteFX

  • #4 / Jul 30, 2009 8:59am

    Kami_'s avatar

    Kami_

    67 posts

    Great, I’m glad to hear it!

    Maybe it wouldn’t be a bad idea to put news on the website so people won’t get the impression that CodeIgniter was left behind and the team doesn’t care about the big leap in the PHP world (PHP 5.3).

  • #5 / Jul 30, 2009 9:52am

    Derek Jones's avatar

    Derek Jones

    7561 posts

    It didn’t seem fitting for a news posting until the product is actually released with these changes; this forum post is a precursor.

  • #6 / Jul 31, 2009 2:45am

    Yash's avatar

    Yash

    362 posts

    any rough idea for next release?

  • #7 / Jul 31, 2009 6:05am

    Derek Allard's avatar

    Derek Allard

    3168 posts

    No ideas yet, but you have the most up to date code through the svn.

  • #8 / Jul 31, 2009 6:23am

    Yash's avatar

    Yash

    362 posts

    SVN may contains unstable code? or it is safe for live sites.

  • #9 / Jul 31, 2009 6:45am

    Derek Allard's avatar

    Derek Allard

    3168 posts

    Hey, which is it? Do you want cutting edge or stable? Pick one!  😛

    Every effort is made to keep this codebase functional, but we cannot guarantee the functionality of code taken from the repository.

    That said, you getting in there and testing it will only help how quickly it emerges as stable.

  • #10 / Jul 31, 2009 7:50am

    Yash's avatar

    Yash

    362 posts

    ok I got

  • #11 / Aug 04, 2009 7:25am

    hvalente13's avatar

    hvalente13

    67 posts

    Hi guys,

    I made php 5.3 upgrade and became with several warnings and errors, but surfing here on the CI foruns and SVN repo I am able to fix most of them. But I’m getting one that can’t deal with:

    A PHP Error was encountered
    
    Severity: Warning
    
    Message: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '1.0/DST' instead
    
    Filename: helpers/date_helper.php
    
    Line Number: 94

    Please help.

    Best Regards

  • #12 / Aug 04, 2009 7:44am

    hvalente13's avatar

    hvalente13

    67 posts

    I solved this issue by hammering the date_helper.php

    In function mdate()

    $CI =& get_instance();
    date_default_timezone_set($CI->config->item('timezone'));

    In application/config/config.php

    $config['timezone'] = 'Europe/Lisbon';

    I now that’s NOT how to do it, but I’m in a hurry. I’ll wait for a better solution.

    Best Regards

  • #13 / Aug 04, 2009 8:45am

    Kromack's avatar

    Kromack

    47 posts

    Thank you for this news !

  • #14 / Aug 04, 2009 10:57am

    Derek Jones's avatar

    Derek Jones

    7561 posts

    Hi guys,

    I made php 5.3 upgrade and became with several warnings and errors, but surfing here on the CI foruns and SVN repo I am able to fix most of them. But I’m getting one that can’t deal with:

    A PHP Error was encountered
    
    Severity: Warning
    
    Message: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '1.0/DST' instead
    
    Filename: helpers/date_helper.php
    
    Line Number: 94

    Please help.

    Best Regards

    The correct way to solve this is to add the date.timezone directive to your php.ini file.

  • #15 / Aug 04, 2009 11:51am

    hvalente13's avatar

    hvalente13

    67 posts

    Thank you Derek,

    The correct way to solve this is to add the date.timezone directive to your php.ini file.

    That’s useful.

    I think that will be a common setup item when any webhosting company upgrades php version, am I right?

    Because I can access my php.ini, but in shared hosting I can’t.

    Thank you once more.

    Best Regards

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases