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
Fatal error in production environment #39
Comments
also there might be some CSS issues too |
sorry for being slow to investigate this. its indeed a problem with generating the proxies. when you change app/config/config.yml
(instead of %kernel.debug%) and then run running @uwej711 do you know why we only require the file if we generated it? should we not otherwise look if the file is there and include it in case? or should that happen somewhere else? regarding css issues: the frontend editing integration is atm relying on app_dev.php serving things. we work on cleaning this up, but might take a moment. the rest should work afaik. |
we should probably look at how things are handled in the CouchDB ODM and it looks quite similar there: i am not sure if we expect some autoloading to trigger loading the proxy classes .. |
looking at the ORM the code looks slightly different: don't have time atm to debug this .. but i suspect the issue is with the handling of the autoGenerate property |
ok, i will look into this. just wanted to be sure to understand what to do and not do some weird hack :-) |
one bug less. thanks for spotting this one, @pentarim! |
After fresh install I get the following error when accessing main page
PHP Fatal error: Class 'PHPCRProxies\SandboxMainBundleDocumentEditableStaticContentReferenceProxy' not found in /home/pentarim/webdev/symfony2/cmftest/vendor/symfony-cmf/vendor/doctrine-phpcr-odm/lib/Doctrine/ODM/PHPCR/Proxy/ProxyFactory.php on line 94
When accessing the main page in dev environment there is no such error.
The text was updated successfully, but these errors were encountered: