Welcome Guest, Not a member yet? Register   Sign In
php-activerecord and code igniter with PHP 5.4.3 don´t work
#1

[eluser]Sangar[/eluser]
I use CodeIgniter 2.1 and my production server was updated to PHP 5.4.3-1, and the pages that uses phpactiverecord don´t show nothing and don't show any error.

In my test servers with 5.3.6 works fine.

I use the nightly build version of May 2012. I try with the older versions and stable version.

Php-activerecord don´t work fine with php 5.4.3?

EDIT: I found that my new server doesn´t have displays_errors = ON. After activate it, I see the error:

Code:
Fatal error: Class 'Category' not found in /srv/www/framework/application/controllers/categories.php on line 26

at line 26:

Code:
$data["categories"] = Category::findby($parent_id);

categories.php exists in /srv/www/framework/application/controllers/ and this works fine on PHP 5.3.6.

I need to call something more or call at a different way?

p.d. More info at
StackOverflow


Messages In This Thread
php-activerecord and code igniter with PHP 5.4.3 don´t work - by El Forum - 06-07-2012, 06:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB