Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
Pagination class throws exception
f1mp3r
June 2015
On localhost, wherever i use pagination it is all good and fine. On the host on the other hand, every time i use the pagination i get this error:
Exception [ Error ]:
File "COREPATH/classes/lang/file.php" does not contain class "Fuel\Core\Lang_File"
I am using it with the sample code from the docs and same data in the database and PHP version (5.5)
Harro
June 2015
Accepted Answer
Anything more, as in which line triggers this error? Did you check the file to see if the exception is true, could be a deployment issue?
f1mp3r
June 2015
it was the
$pagination = Pagination::forge('products', $config);
line.
However i decided to wipe everything off the server and deploy it all over again. Somehow it was fixed, even tho i had not made and changes in other files than the views / controllers. Strange thing is strange.
Harro
June 2015
Maybe file corruption, maybe a rights issue? Good you've got it fixed though.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,089
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
261
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
f1mp3r
June 2015
Harro
June 2015