Part of the EllisLab Network
   
1 of 4
1
PHP 5.3.0 Compatibility
Posted: 29 July 2009 10:30 AM   [ Ignore ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11292
Joined  06-03-2002

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.

 Signature 
Profile
MSG
 
 
Posted: 30 July 2009 02:24 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  426
Joined  10-22-2007

Thank you so much

 Signature 

Blogmer - Open source blogging software based on codeigniter
Blogmer Documentation
Web Design company and FREE PHP MySQL Webhosting

Profile
 
 
Posted: 30 July 2009 02:49 AM   [ Ignore ]   [ # 2 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4385
Joined  06-19-2009

Thank you very much.

Enjoy
InsiteFX

 Signature 

Custom Designed Icons, eBook Covers Software Boxes. CD, DVD Etc. New iPhone® Tab Bar Icons and iPhone® Applications Icons.

STOP! Before posting your questions, remember the WWW Golden rule:
What did you try? What did you get? What did you expect to get?

Input -> Controller | Processing -> Model | Output -> View

Profile
 
 
Posted: 30 July 2009 07:59 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Avatar
Rank
Total Posts:  73
Joined  09-03-2008

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).

 Signature 

Open Blog
Kick-ass Blog application built using the CodeIgniter PHP Framework

Official website | My website | Demo | Getting started

Profile
 
 
Posted: 30 July 2009 08:52 AM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11292
Joined  06-03-2002

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

 Signature 
Profile
MSG
 
 
Posted: 31 July 2009 01:45 AM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  426
Joined  10-22-2007

any rough idea for next release?

 Signature 

Blogmer - Open source blogging software based on codeigniter
Blogmer Documentation
Web Design company and FREE PHP MySQL Webhosting

Profile
 
 
Posted: 31 July 2009 05:05 AM   [ Ignore ]   [ # 6 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4777
Joined  03-23-2006

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

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

Profile
MSG
 
 
Posted: 31 July 2009 05:23 AM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  426
Joined  10-22-2007

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

 Signature 

Blogmer - Open source blogging software based on codeigniter
Blogmer Documentation
Web Design company and FREE PHP MySQL Webhosting

Profile
 
 
Posted: 31 July 2009 05:45 AM   [ Ignore ]   [ # 8 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4777
Joined  03-23-2006

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

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.

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

Profile
MSG
 
 
Posted: 31 July 2009 06:50 AM   [ Ignore ]   [ # 9 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  426
Joined  10-22-2007

ok I got

 Signature 

Blogmer - Open source blogging software based on codeigniter
Blogmer Documentation
Web Design company and FREE PHP MySQL Webhosting

Profile
 
 
Posted: 04 August 2009 06:25 AM   [ Ignore ]   [ # 10 ]  
Grad Student
Avatar
Rank
Total Posts:  70
Joined  10-26-2007

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

 Signature 

CodeIgniter Portugal { ci_pt }

http://www.coisasdaweb.pt

Profile
 
 
Posted: 04 August 2009 06:44 AM   [ Ignore ]   [ # 11 ]  
Grad Student
Avatar
Rank
Total Posts:  70
Joined  10-26-2007

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

 Signature 

CodeIgniter Portugal { ci_pt }

http://www.coisasdaweb.pt

Profile
 
 
Posted: 04 August 2009 07:45 AM   [ Ignore ]   [ # 12 ]  
Grad Student
Avatar
Rank
Total Posts:  64
Joined  03-14-2008

Thank you for this news !

 Signature 

ACICRUD Library - CKEditor Helper
@NukiumSolutions - My Blog (fr / en)

Profile
 
 
Posted: 04 August 2009 09:57 AM   [ Ignore ]   [ # 13 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11292
Joined  06-03-2002
hvalente13 - 04 August 2009 10:25 AM

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.

 Signature 
Profile
MSG
 
 
Posted: 04 August 2009 10:51 AM   [ Ignore ]   [ # 14 ]  
Grad Student
Avatar
Rank
Total Posts:  70
Joined  10-26-2007

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

 Signature 

CodeIgniter Portugal { ci_pt }

http://www.coisasdaweb.pt

Profile
 
 
Posted: 04 August 2009 10:53 AM   [ Ignore ]   [ # 15 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11292
Joined  06-03-2002

Yep, a professionally managed hosting environment running PHP 5.3 should have that set for their servers.

 Signature 
Profile
MSG
 
 
   
1 of 4
1