Question

I'm currently developing a site on my mac using MAMP. I recently included the kint library and everything seems to be working fine.

The other day I copied the files over to my linux machine and the site is working fine, however, I get the message Unable to load the requested class: kint whenever I get to a page where kint has been loaded - this does not happen with on my mac and I haven't changed any other files.

So far I've tried loading'Kint/kint' (as one thred suggested) and I've also tried autoloading the file, but neither work, meanwhile everything is still fine on my mac???

If anyone could shed some light on this, thank you!

Was it helpful?

Solution

Thank you to @IsuthanBala.

The answer was to use the format 'Directory/Class' but making sure that the capitalisation was accurate as well (something I had not initially checked).

e.g.

$this->load->library('Kint/kint');

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top