Part of the EllisLab Network
   
2 of 4
2
PHP 5.3.0 Compatibility
Posted: 06 August 2009 01:39 AM   [ Ignore ]   [ # 16 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1235
Joined  05-17-2009

Is there an easy way to download the entire SVN, or do I have to save each page as a file?

 Signature 

Brian
Brian’s Web Design - Temecula
Community Auth - CodeIgniter Authentication Application

Profile
 
 
Posted: 06 August 2009 02:09 AM   [ Ignore ]   [ # 17 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  801
Joined  04-20-2006

Fatal Error after upgrade, reported here:
http://codeigniter.com/bug_tracker/bug/8475/

 Signature 

Un blog seo white-hat expliquant quelques techniques intéressantes sur le seo black hat

Ionize CMS - Webdesigner CMS based on CodeIgniter
www.ionizecms.com

My website: Webagency Too Pixel

Profile
 
 
Posted: 06 August 2009 04:09 AM   [ Ignore ]   [ # 18 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2674
Joined  05-18-2008
skunkbad - 06 August 2009 05:39 AM

Is there an easy way to download the entire SVN, or do I have to save each page as a file?

If you have SVN (and otionally a GUI client like TortoiseSVN) you can give it the trunk URL and checkout the entire thing in one go (as well as seeing the change log, om mit history etc)

 Signature 

I’m building a Project Management System for my 3rd year Uni project, Sign up to the beta
Track my progress | Post of the day: UI Designs
Get full auto complete support for CodeIgniter in Eclipse

Profile
 
 
Posted: 06 August 2009 04:55 AM   [ Ignore ]   [ # 19 ]  
Summer Student
Total Posts:  1
Joined  08-06-2009
Dam1an - 06 August 2009 08:09 AM
skunkbad - 06 August 2009 05:39 AM

Is there an easy way to download the entire SVN, or do I have to save each page as a file?

If you have SVN (and otionally a GUI client like TortoiseSVN) you can give it the trunk URL and checkout the entire thing in one go (as well as seeing the change log, om mit history etc)

I have tried checkout & filled in URL of SVN, but it is VERY slow… (+- 10kb/sec). After one night of downloading it stated “600mb downloaded” but in the folder i don’t see a damn thing?
I use tortoisesvn. At this time i have opened the logs, but after 5 minutes no revision logs are shown. What am i doing wrong…?

Profile
 
 
Posted: 06 August 2009 05:33 AM   [ Ignore ]   [ # 20 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2774
Joined  07-27-2006

Is this your first experience with SVN, boland? You might be better served on SVN and TortoiseSVN-specific forums and support sites.

 Signature 

Check out the Template Library
Oh yeah, I tweet, too (regarding CodeIgniter on occassion).

Profile
 
 
Posted: 06 August 2009 12:42 PM   [ Ignore ]   [ # 21 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1235
Joined  05-17-2009
Dam1an - 06 August 2009 08:09 AM
skunkbad - 06 August 2009 05:39 AM

Is there an easy way to download the entire SVN, or do I have to save each page as a file?

If you have SVN (and otionally a GUI client like TortoiseSVN) you can give it the trunk URL and checkout the entire thing in one go (as well as seeing the change log, om mit history etc)

No, I don’t have these things. Although it would be cool to start testing 1.7.2, I can wait. I have no problem staying busy!

 Signature 

Brian
Brian’s Web Design - Temecula
Community Auth - CodeIgniter Authentication Application

Profile
 
 
Posted: 06 August 2009 02:32 PM   [ Ignore ]   [ # 22 ]  
Summer Student
Total Posts:  3
Joined  08-06-2009

Codeigniter 1.7.1

Deprecated: Assigning the return value of new by reference is deprecated in C:\web\site\system\codeigniter\Common.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in C:\web\site\system\codeigniter\Common.php on line 136

=======================

A PHP Error was encountered
Severity: 8192
Message: Function set_magic_quotes_runtime() is deprecated
Filename: codeigniter/CodeIgniter.php
Line Number: 60

Profile
 
 
Posted: 06 August 2009 02:38 PM   [ Ignore ]   [ # 23 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11303
Joined  06-03-2002

Abe, you’ll need to run from the latest revision of the subversion repo, the upcoming 1.7.2.  Version 1.7.1 is not PHP 5.3 compatible.

 Signature 
Profile
MSG
 
 
Posted: 10 August 2009 06:00 PM   [ Ignore ]   [ # 24 ]  
Summer Student
Total Posts:  15
Joined  08-10-2009

my client can’t wait for CI 1.7.2

so i have to make several changes myself wink

here what i do

A. remove by condition set_magic_quotes_runtime

file: codeigniter/CodeIgniter.php (line: 60)

if(!phpversion()=='5.3.0')
    
set_magic_quotes_runtime(0); // Kill magic quotes 

 

B. remove all new object by reference, change ‘=&’ to ‘=’

from: $objects[$class] =& new $name();
became: $objects[$class] = new $name();

file: codeigniter/Common.php   (line: 130)
file: codeigniter/Common.php   (line: 136)
file: libraries/Loader.php   (line: 255)
file: database/DB.php       (line: 133)

$objects[$class] = new $name(); 

see: = new


C. since hyphen ‘-’ became special character in php 5.3, change this way:

file: config/config.php     (line: 153)

from:

$config['permitted_uri_chars''a-z ~%.:_\-'

to:

$config['permitted_uri_chars''~%.:_\-'


file: libraries/URI.php     (line: 189)

from:

if ( ! preg_match("|^[".preg_quote($this->config->item('permitted_uri_chars'))."]+$|i"$str)) 

to:

if ( ! 
preg_match("|^[\w".preg_quote($this->config->item('permitted_uri_chars'))."]+$|i"$str)) 

wacth!:
! preg_match(”|^[\w


i hope this can help

Profile
 
 
Posted: 10 August 2009 06:09 PM   [ Ignore ]   [ # 25 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  394
Joined  06-23-2006

Re:  date.timezone in php.ini

Derek Jones - 04 August 2009 02:53 PM

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

I ran into this problem on my two development machines with PHP 5.3 installed. date.timezone was not set, and setting it made the error go away. I also “professionally manage” two VPS boxes that run about 30 websites. Looking at the PHP configuration on both of these reveals that date.timezone is not set.

Two questions:
- why did earlier versions of PHP not require date.timezone to be set?
- why can’t PHP just inherit the server’s timezone setting as a last resort?

/coolfactor/

 Signature 

Mac OS X 10.7, Apache 2.x, NGiNX, PHP 5.3.x, CodeIgniter 1.7.2., baby!

Profile
 
 
Posted: 10 August 2009 06:17 PM   [ Ignore ]   [ # 26 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11303
Joined  06-03-2002
shoe-maker - 10 August 2009 10:00 PM

my client can’t wait for CI 1.7.2

I think you might be better to export the latest version from the subversion, as your changes are incomplete.  We do our best to keep the development branch stable, and if you’re going to run a modified base anyway…

coolfactor - 10 August 2009 10:09 PM

Two questions:
- why did earlier versions of PHP not require date.timezone to be set?

As they added in and improved PHP’s date and timezone handling functions, I suppose they didn’t want to require millions of hosts to tweak their php.ini files—there’s already reluctance among hosts to upgrade PHP versions until their server distro provider does so.

- why can’t PHP just inherit the server’s timezone setting as a last resort?

PHP does make an attempt, but you’ll notice that the order is: set at runtime, TZ environment variable, date.timezone ini option, host OS query response.  I’ve found at least two common OS’s whose query response returns a value that PHP doesn’t anticipate, which also generates a warning.  Yay?

 Signature 
Profile
MSG
 
 
Posted: 18 August 2009 03:43 PM   [ Ignore ]   [ # 27 ]  
Summer Student
Total Posts:  2
Joined  03-25-2008

Thanks. My site went belly up last night after the host upgraded.

Profile
 
 
Posted: 19 August 2009 11:52 AM   [ Ignore ]   [ # 28 ]  
Summer Student
Total Posts:  7
Joined  08-05-2009

great!!

Profile
 
 
Posted: 23 August 2009 10:10 PM   [ Ignore ]   [ # 29 ]  
Summer Student
Total Posts:  10
Joined  08-23-2009

hi, kinda stuck with this.

got the latest svn. but still having some problem with magic quotes.

DeprecatedAssigning the return value of new by reference is deprecated in C:\xampp\htdocs\cms\system\codeigniter\Common.php on line 130

Deprecated
Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\cms\system\codeigniter\Common.php on line 136
A PHP Error was encountered

Severity
8192

Message
: Function set_magic_quotes_runtime() is deprecated

Filename
codeigniter/CodeIgniter.php

Line Number
60

A PHP Error was encountered

Severity
Warning

Message
Cannot modify header information headers already sent by (output started at C:\xampp\htdocs\cms\system\codeigniter\Common.php:130)

Filenamelibraries/URI.php

Line Number
191

An Error Was Encountered
The URI you submitted has disallowed characters

im quite new to svn and ci.

Do help, thank you.

Profile
 
 
Posted: 23 August 2009 10:15 PM   [ Ignore ]   [ # 30 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  4777
Joined  03-23-2006

The line around that is

if ( ! is_php('5.3'))
{
    
@set_magic_quotes_runtime(0); // Kill magic quotes

So it looks like your environment may be reporting something different. What version does a PHPinfo give you?

 Signature 

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

Profile
MSG
 
 
   
2 of 4
2