kaystrobach / TYPO3.dyncss_less

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

TYPO3 6.2 compatibility #6

Closed fritjofbohm closed 10 years ago

fritjofbohm commented 10 years ago

Hi Kay, just tried to run dyncss_less in 6.2 (beta7). Installation doesn't really work, and backend login is broken. Seems to be a namespace issue in ext_localconf.php of the dyncss_less extension. The fix is pretty easy (added backslash before classname), but a proper namespace support would be great. I didn't test dyncss_less thoroughly yet, so there might be other 6.2 issues. I'll keep you up to date if I find anything.

<?php

\tx_DynCss_Configuration_BeRegistry::get()->registerFileHandler('less', 'tx_DyncssLess_Parser');

// Edit: Fixed typo

kaystrobach commented 10 years ago

have you used the github master? the ter version is a bit outdated ...

fritjofbohm commented 10 years ago

Just updated to github master versions of dyncss and dyncss_less, same issue. Adding the backslash seems to fix it.

Class 'tx_DynCss_Configuration_BeRegistry' not found in /(...)/typo3conf/ext/dyncss_less/ext_localconf.php on line 3
kaystrobach commented 10 years ago

will fix that soon, what i can't understand, is that i can not reproduce that on my dev environment - which php version do you use?

fritjofbohm commented 10 years ago

It's PHP 5.3.8 on a Mittwald server. Strangely that there are no problems installing dyncss_less in 6.2 on a PHP 5.3.10 machine. So perhaps this was just bad luck. Sorry for any inconvenience caused.

kaystrobach commented 10 years ago

No problem thank you for reporting