Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Error on View Load
  • Edit: I've found the cause of the error, it was due to incorrectly placing a file intended to be a view into the app/classes/view folder rather than the app/views folder. Fair enough, but as I can't delete this discussion I figure I may as well use it for something constructive. I was curious: why have views held up one directory from the rest of the site files, when viewModels are contained with them?

    Thanks!
  • HarroHarro
    Accepted Answer
    "view" contains ViewModel classes, and is therefore inside the classes folder, otherwise the autoloader can't find them.

    views are plain text files, and therefore don't belong into classes...

Howdy, Stranger!

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

In this Discussion