Welcome Guest, Not a member yet? Register   Sign In
Class 'CI_Formgenerator' not found in C:\Users\mycode\system\core\C
#7

(07-09-2015, 11:59 AM)Narf Wrote:
(07-09-2015, 10:42 AM)ukuser33 Wrote: I don't have an application/core folder. According to http://www.codeigniter.com/user_guide/ge...aries.html you put it in your application/libraries folder. I've tried to keep things as "standard" as possible so the location of the file is application\libraries\Formgenerator.php with the following start to my code:



Code:
class Formgenerator {
       
       private $form_output = '';
       
       public function __construct($form_name){
       $ci = get_instance();

You do have an empty application/core/ directory by default ... if you don't, then you've manually removed it.

Anyway, as I said in a similar thread, calling $this->load->library() will never trigger the load_class() function (which is the one that has line 196 of system/core/Common.php), unless you've made modifications to the framework.
Reply


Messages In This Thread
RE: Class 'CI_Formgenerator' not found in C:\Users\mycode\system\core\C - by ukuser33 - 07-09-2015, 02:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB