Welcome Guest, Not a member yet? Register   Sign In
Fatal errors with current CodeIgniter 3 version
#1

[eluser]Razican[/eluser]
I have been using CodeIgniter 3 for a while, and today I have decided to update it to the latest version in the GitHub repository. The problem is that my app no longer works.

You can find the code here: https://github.com/Razican/MegaPublik

When I first tried to load my app, I founded that I got this error:
Quote:A PHP Error was encountered
Severity: Notice
Message: Undefined property: Main::$load
Filename: core/Lang.php
Line Number: 108

Which leads to a fatal error:
Quote:Fatal error: Call to a member function get_package_paths() on a non-object in /var/www/html/megapublik/engine/core/Lang.php on line 108

But I did get rid of this issue by removing a language file I was autoloading from the autoload config file, which is not a good permanent solution.

The problem was when I tried to load my app after that change, and I got this:
Quote:A PHP Error was encountered
Severity: Notice
Message: Undefined property: Main::$load
Filename: database/DB.php
Line Number: 54

Which leads to another fatal error.

It worked fine with the last CodeIgniter package I downloaded from GitHub so this seems to be a bug.

I'm using PHP 5.4.7.
#2

[eluser]Razican[/eluser]
It has been fixed here: https://github.com/EllisLab/CodeIgniter/...254800bc2a




Theme © iAndrew 2016 - Forum software by © MyBB