-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error "no DTD found" #169
Comments
Found the cause of this error, don't do this: if (in_array($this->getEnvironment(), array('dev', 'test'))) {
// ...
$bundles[] = new JMS\TranslationBundle\JMSTranslationBundle();
// ...
} facepalm |
It helped :) ty @stefantalen |
I have the same error: should have I to register the bundle also in production? Do you mean this by telling "don't do this"? |
@Aerendir If you want to use the bundle in a production environment, you should register it there and not within the if-statement |
Yes, I've fixed! Thank you for your reply! Also in |
When clearing the cache in production environment I'm getting this error:
Should the generated XLIFF include a DTD since the schema exists in this bundle?
Symfony: 2.3.8
JMSTranslationBundle: dev-master
The text was updated successfully, but these errors were encountered: