Welcome Guest, Not a member yet? Register   Sign In
[SOLVED #7] Loading libraries works on desktop, but not on server.
#3

(08-14-2015, 07:02 AM)NilsFr13 Wrote: The error is : Unable to load the requested class: tfpdf

Is this the exact error message? The reason I ask is that the loader does something like this:
PHP Code:
// clean the input and extract the $class from the $subdir
// ...

$class ucfirst($class);

// try to load the $class from all of the library paths with the given $subdir
// ...

// If we got this far we were unable to find the requested class.

log_message('error''Unable to load the requested class: '.$class);
show_error('Unable to load the requested class: '.$class); 

So... if that's the exact error message, I'm pretty sure the loader's _ci_load_library() method has been modified, and it can't find the file because it's looking for the wrong filename.
Reply


Messages In This Thread
RE: Loading libraries works on desktop, but not on server. - by mwhitney - 08-14-2015, 07:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB