Welcome Guest, Not a member yet? Register   Sign In
problem with extending CI_Controller on Linux-based server
#11

[eluser]mihaibaboi[/eluser]
Hmm, I had a look in system/core/Controller.php and saw something kind of weird. I noticed that the __construct() method uses "&" for passing by reference.

As far as I know, that syntax is deprecated since PHP 5.x. Just a wild guess: your Windows machine has WAMP/XAMPP configured very loose and permits this kind of thing, but your Linux server is so strict that it stops execution when it gets to that part.

Now, I find it hard to believe that CodeIgniter uses code that is prone to braking this way, but who knows...




Theme © iAndrew 2016 - Forum software by © MyBB