Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
help: window/Linux + class not found
  • I am having challenge with my app. When working on Windows I created class file under classes folder.
    It loads in my view files when working on windows, but when I moved the app files to ubuntu, it displays Error: Class Not Found. What could be the cause of this. Thanks
  • use View::forge('path/to/file'); instead of View::forge('path\to\file'); i think it will help u
  • Windows doesn't care about backslash or forward slash, unnecessary to change that and makes it incompatible with many *nix systems. Problem is most likely the casing of the filenames: windows filesystem is case insensitive, linux is case sensitive. Thus check your paths for uppercase characters, Fuel filesystem shouldn't have any uppercase chars in them.

Howdy, Stranger!

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

In this Discussion