slim-static icon indicating copy to clipboard operation
slim-static copied to clipboard

View::display not working

Open vhanla opened this issue 10 years ago • 0 comments

I followed the sample, with View::display(), and it only throws the following error:

View cannot render `hello.html` because the template doesn't exist.
File: <mylocalpath>\ vendor\slim\slim\Slim\View.php

I've tried setting templates.path, relative paths, ../../ , etc, and it never finds the templates path used $app->config(), Config::set() and App::config(), but it doesn't fix the templates path.

vhanla avatar Dec 30 '14 01:12 vhanla