Welcome Guest, Not a member yet? Register   Sign In
PHP 5.3.0 Compatibility
#31

[eluser]Derek Allard[/eluser]
The line around that is
Code:
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?
#32

[eluser]ice_prince7[/eluser]
it gives me php 5.3.0

ive used tortoiseSVN to download the patches, but i cant seem to find

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


in codeigniter.php


*edit: I have found the code, but it seems that my problem wasnt addressed. Currently I`ll revert back to the older version of php.
#33

[eluser]Derek Jones[/eluser]
I'd double check that your svn checkout has the current revision. You can double check by comparing your file to the web viewable version: http://dev.ellislab.com/svn/CodeIgniter/...gniter.php

Perhaps a new checkout would be best, since many files are touched.
#34

[eluser]n0xie[/eluser]
[quote author="ntulip" date="1250642614"]Thanks. My site went belly up last night after the host upgraded.[/quote]
What host would just upgrade without notice?
#35

[eluser]eokorie[/eluser]
I just have a slight issue where my template css is just not being loaded. Might just be something simple that I am overlooking...
#36

[eluser]Derek Allard[/eluser]
[quote author="eokorie" date="1251326825"]I just have a slight issue where my template css is just not being loaded. Might just be something simple that I am overlooking...[/quote]

Is that related to PHP 5.3.0 compatibility? If not, you'll probably have better luck exploring this in a new thread.
#37

[eluser]eokorie[/eluser]
Hi Derek, this is related to PHP 5.3. Everything was being displayed properly prior to installing PHP 5.3 but now there are not.
#38

[eluser]Derek Allard[/eluser]
Quote:Hi Derek, this is related to PHP 5.3. Everything was being displayed properly prior to installing PHP 5.3 but now there are not.
OK, excellent. We'll help you figure it out. After further thought, I still think it'd be best if you started a new thread, that way it'd be entirely devoted towards helping your issue.
#39

[eluser]eokorie[/eluser]
Hi Derek,

I may have solved the issue of the CSS files not showing up. For some reason the php short tags are not being read. i.e if i use <?=$content?> it does not seem to work but <?php echo $content; ?> works...!? Are PHP short tags disabled by default on PHP 5.3?
#40

[eluser]Derek Jones[/eluser]
If you're using the stock php.ini, probably so, eokorie.




Theme © iAndrew 2016 - Forum software by © MyBB