kaystrobach / TYPO3.dyncss_less

Dyncss Less Adapter
http://forge.typo3.org/projects/extension-dyncss
5 stars 14 forks source link

Bootstrap3 compiler error #3

Closed tdeuling closed 10 years ago

tdeuling commented 10 years ago

Please update lessphp to current version: http://leafo.net/lessphp/

Because otherwise there happens an error while compiling the Bootstrap3 mixins:

exception 'Exception' with message 'parse error: failed at .size(@width; @height) { /typo3conf/ext/ftm_theme_bootstrap/Resources/Public/Less/../Contrib/bootstrap/less/mixins.less on line 47' in /typo3conf/ext/dyncss_less/Resources/Private/Php/less/lessc.inc.php:3200 Stack trace:

0 /typo3conf/ext/dyncss_less/Resources/Private/Php/less/lessc.inc.php(2109): lessc_parser->throwError()

1 /typo3conf/ext/dyncss_less/Resources/Private/Php/less/lessc.inc.php(114): lessc_parser->parse('//?// Mixins?//...')

2 /typo3conf/ext/dyncss_less/Resources/Private/Php/less/lessc.inc.php(690): lessc->tryImport(Array, Object(stdClass), Object(stdClass))

3 /typo3conf/ext/dyncss_less/Resources/Private/Php/less/lessc.inc.php(277): lessc->compileProp(Array, Object(stdClass), Object(stdClass))

4 /typo3conf/ext/dyncss_less/Resources/Private/Php/less/lessc.inc.php(271): lessc->compileProps(Object(stdClass), Object(stdClass))

5 /typo3conf/ext/dyncss_less/Resources/Private/Php/less/lessc.inc.php(186): lessc->compileRoot(Object(stdClass))

6 /typo3conf/ext/dyncss_less/Resources/Private/Php/less/lessc.inc.php(1642): lessc->compileBlock(Object(stdClass))

7 /typo3conf/ext/dyncss_less/Resources/Private/Php/less/lessc.inc.php(1666): lessc->compile('/*?? ?? * FTM...', '/var/www/virtua...')

8 /typo3conf/ext/dyncss_less/Resources/Private/Php/less/lessc.inc.php(1738): lessc->compileFile('/var/www/virtua...')

9 /typo3conf/ext/dyncss_less/Classes/Parser.php(61): lessc->cachedCompile('/var/www/virtua...')

10 /typo3conf/ext/dyncss/Classes/Parser/AbstractParser.php(127): tx_DyncssLess_Parser->_compileFile('/var/www/virtua...', '/var/www/virtua...', '/var/www/virtua...', '/var/www/virtua...')

11 /typo3conf/ext/dyncss/Classes/Service/DyncssService.php(14): tx_Dyncss_Parser_AbstractParser->compileFile('/var/www/virtua...')

12 /typo3conf/ext/dyncss/Classes/Hooks/T3libPageRendererRenderPreProcessHook.php(44): tx_Dyncss_Service_DyncssService::getCompiledFile('typo3conf/ext/f...')

13 [internal function]: tx_Dyncss_Hooks_T3libPageRendererRenderPreProcessHook->execute(Array, Object(TYPO3\CMS\Core\Page\PageRenderer))

14 /typo3/sysext/core/Classes/Utility/GeneralUtility.php(3973): call_user_func_array(Array, Array)

15 /typo3/sysext/core/Classes/Page/PageRenderer.php(2694): TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction('tx_Dyncss_Hooks...', Array, Object(TYPO3\CMS\Core\Page\PageRenderer))

16 /typo3/sysext/core/Classes/Page/PageRenderer.php(1953): TYPO3\CMS\Core\Page\PageRenderer->executePreRenderHook()

17 /typo3/sysext/core/Classes/Page/PageRenderer.php(1909): TYPO3\CMS\Core\Page\PageRenderer->renderJavaScriptAndCss()

18 /typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3409): TYPO3\CMS\Core\Page\PageRenderer->renderJavaScriptAndCssForProcessingOfUncachedContentObjects('<!DOCTYPE html>...', 'd799c2a6db9ab1a...')

19 /typo3/sysext/cms/tslib/index_ts.php(204): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript()

20 /index.php(41): require('/var/www/virtua...')

21 {main}

kaystrobach commented 10 years ago

hast du mal probiert, ob du den parser einfach tauschen kannst?

tdeuling commented 10 years ago

Hab ich schon gemacht ;) Funktioniert auch.. Wollte Dir damit nur sagen das Du das auch im Paket machen solltest, damit andere nicht auch das Problem bekommen.