Welcome Guest, Not a member yet? Register   Sign In
Connection Reset on PHP 5.3
#1

[eluser]javaMonk[/eluser]
Hi,

Trying to get a client site deployed Running CI 1.7.3 on PHP 5.3.10

I get a "connection reset" (The connection to the server was reset while the page was loading) right away, when loading the site.

After a series of commenting/un-commenting code, I found that CI is failing on this line:

Code:
$CI = new $class();

...of the CodeIgniter.php file (around line 202). Any have any idea why this is failing?

Once notable point, I stuffed a
Code:
phpinfo()
into a file on the server to help troubleshooting, I found a setting: disable_classes with a value of "no value" -- could this be a cause?

Any advice and council is deeply appreciated. Thanks so much. -Monk
#2

[eluser]CroNiX[/eluser]
I don't think using 1.7x on PHP 5.3 is advisable as some PHP functions have been deprecated in PHP 5.3. CI 2+ works fine as these issues have been fixed.
#3

[eluser]javaMonk[/eluser]
I had thought CI 1.7.3 was PHP 5.3 compliant.

ouch, I have a whole customized CMS app written in BackendPro, Matchbox, and CI 1.7.x (I have it deployed in lots of places).

I've gotten it to work fine in a 5.3 environments (after a few configuration tweaks).. Was wondering if anyone had a clue as to what would cause the connection reset while instantiating the class....

anyone else? ..thnx much
#4

[eluser]WanWizard[/eluser]
I have no issues running CI 1.7.3 on PHP 5.3.11.

If this was a PHP version related issue, even the default install wouldn't run, as that piece of code also launches the Welcome controller. Which runs fine here...
#5

[eluser]javaMonk[/eluser]
you're right WanWizard - I had a similar idea to test this (great minds thinking alike). I deployed the 173 on the server with the "basic welcome" controller - and it worked.

So this implies that the issue is somewhere in either: Matchbox, BackendPro, or my code itself.. *sigh*

-thnx
#6

[eluser]WanWizard[/eluser]
My guess would be Matchbox.

It hasn't been developed for quite a long time, and it's a third party addon on the core, which probably means it has quite a lot core dependencies that might have been changed (for me it's a constant struggle to keep Datamapper running).




Theme © iAndrew 2016 - Forum software by © MyBB