XF 2.1 WSL / Localhost

Robert9

Well-known member
Normally i add a virtual host and install XF locally on a linux machine.
Now i have uploaded XF to the default server and call it by http://localhost
While installing everything looks ok, but after i have no css used and get the admin area as pure html.
The forum itself is not shown

Code:
An exception occurred: [Error] Call to undefined method Less_Parser::parseEntitiesVariable() in src/vendor/oyejorge/less.php/lib/Less/Parser.php on line 858

    Less_Parser->MatchFuncs() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 2543
    Less_Parser->parseOperand() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 2403
    Less_Parser->parseMultiplication() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 2442
    Less_Parser->parseAddition() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 858
    Less_Parser->MatchFuncs() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 2567
    Less_Parser->parseExpression() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 2364
    Less_Parser->parseValue() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 858
    Less_Parser->MatchFuncs() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 2064
    Less_Parser->parseRule() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 858
    Less_Parser->MatchFuncs() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 1009
    Less_Parser->parsePrimary() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 674
    Less_Parser->GetRules() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 621
    Less_Parser->_parse() in src/vendor/oyejorge/less.php/lib/Less/Parser.php at line 449
    Less_Parser->parse() in src/XF/CssRenderer.php at line 374
    XF\CssRenderer->parseLessColorValue() in src/XF/Template/Templater.php at line 2973
    XF\Template\Templater->fnParseLessColor()
    call_user_func_array() in src/XF/Template/Templater.php at line 936
    XF\Template\Templater->func() in internal_data/code_cache/templates/l1/s1/public/PAGE_CONTAINER.php at line 382
    XF\Template\Templater->{closure}() in src/XF/Template/Templater.php at line 1315
    XF\Template\Templater->renderTemplate() in src/XF/Pub/App.php at line 547
    XF\Pub\App->renderPageHtml() in src/XF/App.php at line 1995
    XF\App->renderPage() in src/XF/Mvc/Dispatcher.php at line 402
    XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 58
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
    XF\App->run() in src/XF.php at line 391
    XF::runApp() in index.php at line 20

Any idea how to run xf on localhost?
 
Back
Top Bottom