Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Pagination class throws exception
  • 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)
  • HarroHarro
    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?
  • 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.
  • Maybe file corruption, maybe a rights issue? Good you've got it fixed though.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion