Undefined variable: mimes |
Hey,
I upgrade my CI installation from 2 to 3 and got the following php notice error when opening one of my existing controllers. Message: Undefined variable: mimes Filename: core/Output.php Line Number: 107 PHP Code: function __construct() Could I change the following PHP Code: $this->mime_types = $mimes; to PHP Code: if (isset($mimes)) In order to resolve the problem ?
Are you sure updated correctly?
The core/Output.php constructor is a little bit different than the one you posted here: https://github.com/bcit-ci/CodeIgniter/b...t.php#L132
Website: http://tomaz.lovrec.eu
GitHub: https://github.com/slax0rr Twitter: https://twitter.com/slax0rr (11-27-2014, 12:02 PM)slax0r Wrote: Are you sure updated correctly? I had the same problem and somehow I messed up the upgrade, after I re-downloaded the files off the site and copied over the system folder again it all worked fine. |
Welcome Guest, Not a member yet? Register Sign In |