[Cppcms-users] Issue with views.skins
Brought to you by:
artyom-beilis
From: Eric J. <jan...@gm...> - 2018-05-15 08:59:22
|
Dear all, Need your assistance on the issue I encounter when running the webapp: ./WebApp -c config.json And the error shows as follow: Failed : When views.skins provided at least one search path should be given in views.paths 0x800c86a86: booster::stack_trace::trace(void**, int) + 0x26 in /usr/local/lib/libbooster.so.0 0x8008f36c1: booster::backtrace::backtrace(unsigned long) + 0x61 in /usr/local/lib/libcppcms.so.1 0x800933f6c: cppcms::views::manager::manager(cppcms::json::value const&) + 0xb0c in /usr/local/lib/libcppcms.so.1 0x8008ea6d5: cppcms::service::setup(void) + 0x375 in /usr/local/lib/libcppcms.so.1 0x8008eaa75: cppcms::service::service(int, char**) + 0xf5 in /usr/local/lib/libcppcms.so.1 0x40540c: unsigned long + 0x2c in /usr/home/eric/www/test/output/WebApp 0x4052df: _start + 0x17f in /usr/home/eric/www/test/output/WebApp 0x800654000: ??? and my config.json: { "WebSite" : { "root" : "" , "host" : "localhost:8080" , "locdomain" : "localhost" }, "service" : { "api" : "http", "port" : 8080 }, "http" : { "script" : "/test.fcgi" , "rewrite" : [ { "regex" : "/media(/.+)", "pattern" : "$1" }, { "regex" : ".*" , "pattern" : "/test$0" } ] }, "views" : { "default_skin" : "defskin", "path" : [ "./" ], "skins" : [ "cpp_defskin" ] }, "file_server" : { "enable" : true, "listing" : true, "document_root" : "./media" } } What am I missing? Thank you and regards, *ERIC JANSEN* Sr. C/C++ Software Engineer |