New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI_Driver_Library not found when upgrading from 2.1.3 to 3-dev #2191
Comments
Have you verified that that particular file is in that location on the system and in in fact intact? |
Yes. I replaced the whole system folder. |
I desperately need to upgrade to CI 3 due to a bug in Pagination class, where custom URI not take into account when re-route (see #1909). Is there any simple fix for 2.1.3? |
Can you show me an actual use case that explains your issue with a re-routed URL? Because #1909 didn't give an example, either, and we've had a lengthy argument over the use of The Session library is now a Driver in 3.0. Make sure you are not autoloading Session as a library, or using |
I have a Problem arises when requesting for
|
Okay, yeah you're just experiencing the issue with the current pagination library default. We're gonna take care of that so it works out of the box in way more scenarios than it does right now. In the mean time, you can set the $config = array(
'base_url' => site_url('products/age_group/infant'),
'total_rows' => 205,
'per_page' => 10,
'uri_segment' => 4,
);
$this->load->library('pagination', $config); |
Wow, you had just solved my problem. Thank you very much. It's my mistake because I didn't set the URI segment in custom config. Thanks for pointing out in your example. Thank you. |
Welcome. :) |
Autoload the Cart library would trigger error |
Aha! If you're familiar with submitting a pull request, you should take care of it. :) |
Signed-off-by: Edwin Aw <tkaw220@gmail.com>
Just set session as driver like this $autoload['drivers'] = array('session'); |
When upgrading from CI2.1.3 to CI3.0.0 Dev, I got this error: Fatal error:
Class 'CI_Driver_Library' not found in C:\Server\www\pelican\system\libraries\Session\Session.php on line 53.
I has replaced the
system
folder and tweaked config files as per instructions from the upgrade guide. What could possibly goes wrong here?The text was updated successfully, but these errors were encountered: