You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.
the following command forces me to re-build the cache
php app/console swiftmailer:spool:send --env=prod
but this works
php app/console swiftmailer:spool:send --env=prod --no-debug
In my apache error_log:
[Wed Sep 12 15:53:09 2012] [error] [client ] PHP Fatal error: Class 'EM505093a7cf22b546a8d2\CG_\Doctrine\ORM\EntityManager' not found in D:\wwwroot\example.com\app\cache\prod\appProdProjectContainer.php on line 115
The text was updated successfully, but these errors were encountered:
As mentioned in symfony/symfony#5503, mixing debug and non-debug mode for the same environment is likely to break things (Doctrine proxies are autogenerated in debug mode but require a cache warmup in non-debug mode).
Note that the console file shipped with 2.1 automatically set the kernel in non-debug mode when you set the environment to prod to solve a common case where this issue happen.
I can accept that, but i can't accept that command in example allows a whole web application to be unreachable.
Some documentation or that the script fails?
I'm using the spool command on a windows machine.
the following command forces me to re-build the cache
php app/console swiftmailer:spool:send --env=prod
but this works
php app/console swiftmailer:spool:send --env=prod --no-debug
In my apache error_log:
[Wed Sep 12 15:53:09 2012] [error] [client ] PHP Fatal error: Class 'EM505093a7cf22b546a8d2\CG_\Doctrine\ORM\EntityManager' not found in D:\wwwroot\example.com\app\cache\prod\appProdProjectContainer.php on line 115
The text was updated successfully, but these errors were encountered: