Nathriel/We-R-Asia — Issue #1: Error???
Author: Ganonmaster
Created: 2012-01-06 12:38:57+00:00
State: open

Dit krijg ik als ik het project laad. Ligt het aan mijn PHP settings? De bestanden staan op de juiste plek...

```
object(Twig_Error_Loader)#15 (11) {
["lineno":protected]=>
int(-1)
["filename":protected]=>
NULL
["rawMessage":protected]=>
string(98) "Unable to find template "./application/views/add_product.html" (looked into: ./application/views)."
["previous":protected]=>
NULL
["message":protected]=>
string(98) "Unable to find template "./application/views/add_product.html" (looked into: ./application/views)."
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
int(0)
["file":protected]=>
string(54) "/Users/mike/Sites/libraries/Twig/Loader/Filesystem.php"
["line":protected]=>
int(129)
["trace":"Exception":private]=>
array(10) {
[0]=>
array(6) {
["file"]=>
string(54) "/Users/mike/Sites/libraries/Twig/Loader/Filesystem.php"
["line"]=>
int(98)
["function"]=>
string(12) "findTemplate"
["class"]=>
string(22) "Twig_Loader_Filesystem"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(36) "./application/views/add_product.html"
}
}
[1]=>
array(6) {
["file"]=>
string(48) "/Users/mike/Sites/libraries/Twig/Environment.php"
["line"]=>
int(259)
["function"]=>
string(11) "getCacheKey"
["class"]=>
string(22) "Twig_Loader_Filesystem"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(36) "./application/views/add_product.html"
}
}
[2]=>
array(6) {
["file"]=>
string(48) "/Users/mike/Sites/libraries/Twig/Environment.php"
["line"]=>
int(294)
["function"]=>
string(16) "getTemplateClass"
["class"]=>
string(16) "Twig_Environment"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(36) "./application/views/add_product.html"
}
}
[3]=>
array(6) {
["file"]=>
string(35) "/Users/mike/Sites/system/System.inc"
["line"]=>
int(120)
["function"]=>
string(12) "loadTemplate"
["class"]=>
string(16) "Twig_Environment"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(36) "./application/views/add_product.html"
}
}
[4]=>
array(6) {
["file"]=>
string(39) "/Users/mike/Sites/System/controller.inc"
["line"]=>
int(33)
["function"]=>
string(25) "getTemplateEngineInstance"
["class"]=>
string(6) "System"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[5]=>
array(6) {
["file"]=>
string(39) "/Users/mike/Sites/System/controller.inc"
["line"]=>
int(26)
["function"]=>
string(14) "templateEngine"
["class"]=>
string(17) "System_Controller"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[6]=>
array(6) {
["file"]=>
string(50) "/Users/mike/Sites/application/controllers/Home.inc"
["line"]=>
int(14)
["function"]=>
string(1) "t"
["class"]=>
string(17) "System_Controller"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[7]=>
array(4) {
["function"]=>
string(5) "index"
["class"]=>
string(4) "Home"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[8]=>
array(4) {
["file"]=>
string(35) "/Users/mike/Sites/system/System.inc"
["line"]=>
int(53)
["function"]=>
string(20) "call_user_func_array"
["args"]=>
array(2) {
[0]=>
array(2) {
[0]=>
object(Home)#3 (1) {
["system":"System_Controller":private]=>
object(System)#1 (6) {
["baseConfig":"System":private]=>
array(4) {
["applicationPath"]=>
string(12) "application/"
["systemPath"]=>
string(7) "system/"
["libraryPath"]=>
string(10) "libraries/"
["contentPath"]=>
string(8) "content/"
}
["applicationConfig":"System":private]=>
array(2) {
["homeController"]=>
string(4) "home"
["multiLanguage"]=>
string(21) "DatabaseMultiLanguage"
}
["mapperCache":"System":private]=>
array(1) {
["User_Mapper"]=>
object(User_Mapper)#4 (3) {
["db":protected]=>
object(System_Database_Database)#2 (1) {
["prepareCache":"System_Database_Database":private]=>
array(0) {
}
}
["cache":"System_Mapper":private]=>
array(0) {
}
["system":"System_Mapper":private]=>
*RECURSION*
}
}
["db":"System":private]=>
object(System_Database_Database)#2 (1) {
["prepareCache":"System_Database_Database":private]=>
array(0) {
}
}
["templateEngine":"System":private]=>
object(Twig_Environment)#6 (24) {
["charset":protected]=>
string(5) "UTF-8"
["loader":protected]=>
object(Twig_Loader_Filesystem)#5 (2) {
["paths":protected]=>
array(1) {
[0]=>
string(19) "./application/views"
}
["cache":protected]=>
array(0) {
}
}
["debug":protected]=>
bool(false)
["autoReload":protected]=>
bool(false)
["cache":protected]=>
bool(false)
["lexer":protected]=>
NULL
["parser":protected]=>
NULL
["compiler":protected]=>
NULL
["baseTemplateClass":protected]=>
string(13) "Twig_Template"
["extensions":protected]=>
array(4) {
["core"]=>
object(Twig_Extension_Core)#7 (0) {
}
["escaper"]=>
object(Twig_Extension_Escaper)#8 (1) {
["autoescape":protected]=>
bool(true)
}
["optimizer"]=>
object(Twig_Extension_Optimizer)#9 (1) {
["optimizers":protected]=>
int(-1)
}
["SystemTwig"]=>
object(System_Twig_SystemTwigExtension)#10 (1) {
["system":"System_Twig_SystemTwigExtension":private]=>
*RECURSION*
}
}
["parsers":protected]=>
NULL
["visitors":protected]=>
NULL
["filters":protected]=>
NULL
["tests":protected]=>
NULL
["functions":protected]=>
NULL
["globals":protected]=>
array(1) {
["baseHref"]=>
string(17) "http://localhost/"
}
["runtimeInitialized":protected]=>
bool(false)
["loadedTemplates":protected]=>
NULL
["strictVariables":protected]=>
bool(false)
["unaryOperators":protected]=>
NULL
["binaryOperators":protected]=>
NULL
["templateClassPrefix":protected]=>
string(15) "__TwigTemplate_"
["functionCallbacks":protected]=>
array(0) {
}
["filterCallbacks":protected]=>
array(0) {
}
}
["multiLanguage":"System":private]=>
NULL
}
}
[1]=>
string(5) "index"
}
[1]=>
array(0) {
}
}
}
[9]=>
array(6) {
["file"]=>
string(27) "/Users/mike/Sites/index.php"
["line"]=>
int(14)
["function"]=>
string(3) "run"
["class"]=>
string(6) "System"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
}
["previous":"Exception":private]=>
NULL
}
```