Part of the EllisLab Network
   
2 of 2
2
When will CI support PHP 5.3?
Posted: 02 January 2010 10:03 PM   [ Ignore ]   [ # 16 ]  
Lab Assistant
RankRank
Total Posts:  276
Joined  03-21-2007

So a website I build a few months ago, the hosting company I guess decided to update to
PHP 5.3.0 today and I got a call from the client.

Now there are a bunch of errors:

Deprecated: Assigning the return value of new by reference is deprecated in common.php

The URI you submitted has disallowed characters.

and a few date errors.


So my quesiton is, what do I do

Profile
 
 
Posted: 02 January 2010 11:30 PM   [ Ignore ]   [ # 17 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11303
Joined  06-03-2002
megabyte - 03 January 2010 03:03 AM

So my quesiton is, what do I do

Update to 1.7.2 released September ‘09.  For the date errors, make sure the environment has the timezone correctly configured.

 Signature 
Profile
MSG
 
 
Posted: 02 January 2010 11:32 PM   [ Ignore ]   [ # 18 ]  
Lab Assistant
RankRank
Total Posts:  276
Joined  03-21-2007

Thanks very much Derek. Thats what I just did.

I did also have to set the date.timezone in my php.ini file as well.

I did a phpinfo() and found they have an error with regards to the timezone as well. it says no value

Profile
 
 
Posted: 02 January 2010 11:36 PM   [ Ignore ]   [ # 19 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11303
Joined  06-03-2002

Did you restart Apache after adding the correct timezone in the php.ini file?

 Signature 
Profile
MSG
 
 
Posted: 02 January 2010 11:40 PM   [ Ignore ]   [ # 20 ]  
Lab Assistant
RankRank
Total Posts:  276
Joined  03-21-2007

Sorry, no its not my server. I created my own php.ini file and placed it in my root folder. Its fixed now for me, but before I made the fix the info file let me know they had not set a default.

I`m guessing they were supposed to.

Thanks for your help.

Profile
 
 
   
2 of 2
2