sooly Posted March 2, 2018 Share Posted March 2, 2018 (edited) Hello, I made a eshop on localhost and tried to move it to live website. When i turn debugging TRUE, everything works but when I turn it OFF, eshop gives me this error. Is is connected with cache? How do I force symfony to regenerate bootstrap.php.cache ? Error appears when I try to go to products page or performance page. Cache is turned off. Server sided cache is off aswell. Thanks.Fatal error: Uncaught exception 'Symfony\Component\Validator\Exception\MappingException' with message 'The mapping file "/www/teleskopy24_www/www\vendor\symfony\symfony\src\Symfony\Component\Form/Resources/config/validation.xml" does not exist' in /www/teleskopy24_www/www/vendor/symfony/symfony/src/Symfony/Component/Validator/Mapping/Loader/FileLoader.php:38 Stack trace: #0 /www/teleskopy24_www/www/vendor/symfony/symfony/src/Symfony/Component/Validator/ValidatorBuilder.php(328): Symfony\Component\Validator\Mapping\Loader\FileLoader->__construct('/www/teleskopy2...') #1 /www/teleskopy24_www/www/app/cache/prod/appProdProjectContainer.php(4628): Symfony\Component\Validator\ValidatorBuilder->getValidator() #2 /www/teleskopy24_www/www/app/bootstrap.php.cache(2252): appProdProjectContainer->getValidatorService() #3 /www/teleskopy24_www/www/app/cache/prod/appProdProjectContainer.php(1595): Symfony\Component\DependencyInjection\Container->get('validator') #4 /www/teleskopy24_www/www/app/bootstrap.php.cache(2252): appProdProjectCo in /www/teleskopy24_www/www/app/bootstrap.php.cache on line 3231 Edited March 2, 2018 by sooly (see edit history) Link to comment Share on other sites More sharing options...
sooly Posted March 2, 2018 Author Share Posted March 2, 2018 Solved. Way to get around was to copy link of clear cache witch ctrl+c (for me it was http://website.cz/admin123456/index.php/configure/advanced/clear_cache?_token=wcagvRixFKsTeu_rcwdsmx21mC-W1D86KxSjPcAhGyA .. turning debugging OFF -> getting error again -> paste url of clear cache to browser and hit enter. Link to comment Share on other sites More sharing options...
remixs Posted May 11, 2018 Share Posted May 11, 2018 OMG THANKS!!! Link to comment Share on other sites More sharing options...
Bruno G Posted March 14, 2019 Share Posted March 14, 2019 (edited) I had the same problem and I fixed it with following actions : -Set php.ini timeout to more than 30s -Modify classes/Tools.php line 3395 -> protected static $is_addons_up = false; instead of true -Now you can connect to your back-office, you can disable gamification module which slows incredibly the back-office Edited March 14, 2019 by Bruno G (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now