![]() |
load custom lib - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: load custom lib (/showthread.php?tid=83094) |
load custom lib - Gunnar Gottschalk - 09-19-2022 Hello , my name is gunnar i am new here. i hope maybe someone is able to help me cause i am stuck and this forum and also google didnt show any solution. i use CI 3, newest v. if i insert any lib (here as exmp Someclass.php) in my application/libaries folder , just for testing. PHP Code: defined('BASEPATH') OR exit('No direct script access allowed'); and call it at my controller: PHP Code: class Products extends CI_Controller { ... i get no CT Error but my apache log give me 500 and -> PHP Fatal error: Class 'CI_Someclass' not found in /var/www ... /system/core/Common.php on line 198 at this point new $name(); i tried to manipulate the common.php without a solution. maybe i oversaw something. big thx if someone have an idea i am done ![]() |