PHP Version 5.3.5
Symfony Version 2.0.9 Standard
Change your locale to Turkish: "tr_TR.utf8"
Downloaded latest Symfony 2.0.9 Standard Edition and execute the script:
ErrorException: Warning: constant() [function.constant]: Couldn't find constant Monolog\Logger::iNFO in /opt/lampp/htdocs/Symfony/vendor/symfony/src/Symfony/Bundle/MonologBundle/DependencyInjection/MonologExtension.php line 102
In Turkish language look at these letters:
Lowercase "i" turns to "İ" in uppercase.
Lowercase "ı" turns to "I" in uppercase.
I think this convention is where it conflicts with English language and causes this kind of errors.
Also an my entry about the bug in StackOverflow:
@RandomUser283 a simple workaround would be to write the level uppercased in your config :)
Can you elaborate how can i do this?
Simply write INFO instead of info in your config file for the monolog config
I don't know what is monolog config since this is the first time i trying to run Symfony but i will look for it, thanks!
Sorry mate i can not find this config file for the monolog config. Since i've never used Symfony before a little help would be appreciated.
in the standard edition, it is configured there: https://github.com/symfony/symfony-standard/blob/master/app/config/config_dev.yml#L19
Thank you. I changed the word "info" to "INFO" and make a http://localhost/Symfony/web/app_dev.php/
Now new error:
Fatal error: Couldn't find implementation for method Symfony\Bundle\AsseticBundle\Factory\Resource\CoalescingDirectoryResource::getiterator in Unknown on line 0
Seems no one has a fix?
@RandomUser283 try with mb_strtoupper
Closing this as the original issue was fixed.