Roby69 Posted March 19, 2021 Share Posted March 19, 2021 Hello, I need to make some tests on my site and I dediced to create a clone of the shop in a subfolder. Original site in the root, cloned site is in the folder _test. I duplicated the database. I changed in the table ps_shop_url the physical_uri to /_test/ I deleted the cache. If I open the cloned site in the browser, I have 2 warnings and 1 Fatal error: Warning: include(/home/customer/www/teonatura.it/public_html/_test/vendor/composer/../symfony/symfony/src/Symfony/Component/Translation/Translator.php): failed to open stream: No such file or directory in /home/customer/www/teonatura.it/public_html/_test/vendor/composer/ClassLoader.php on line 444 Warning: include(): Failed opening '/home/customer/www/teonatura.it/public_html/_test/vendor/composer/../symfony/symfony/src/Symfony/Component/Translation/Translator.php' for inclusion (include_path='/home/customer/www/teonatura.it/public_html/_test/vendor/pear/pear_exception:/home/customer/www/teonatura.it/public_html/_test/vendor/pear/console_getopt:/home/customer/www/teonatura.it/public_html/_test/vendor/pear/pear-core-minimal/src:/home/customer/www/teonatura.it/public_html/_test/vendor/pear/archive_tar:.:/usr/local/php73/pear') in /home/customer/www/teonatura.it/public_html/_test/vendor/composer/ClassLoader.php on line 444 Fatal error: Uncaught Error: Class 'Symfony\Component\Translation\Translator' not found in /home/customer/www/teonatura.it/public_html/_test/src/PrestaShopBundle/Translation/TranslatorComponent.php:35 Stack trace: #0 /home/customer/www/teonatura.it/public_html/_test/vendor/composer/ClassLoader.php(444): include() #1 /home/customer/www/teonatura.it/public_html/_test/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/customer/...') #2 [internal function]: Composer\Autoload\ClassLoader->loadClass('PrestaShopBundl...') #3 /home/customer/www/teonatura.it/public_html/_test/classes/Context.php(403): spl_autoload_call('PrestaShopBundl...') #4 /home/customer/www/teonatura.it/public_html/_test/classes/Context.php(382): ContextCore->getTranslatorFromLocale('it-IT') #5 /home/customer/www/teonatura.it/public_html/_test/classes/Translate.php(281): ContextCore->getTranslator() #6 /home/customer/www/teonatura.it/public_html/_test/classes/module/Module.php(1975): TranslateCore::getModuleTranslation(Object(APPageBui in /home/customer/www/teonatura.it/public_html/_test/src/PrestaShopBundle/Translation/TranslatorComponent.php on line 35 If I try to access the BO, this is the error: (1/1) FatalErrorException Compile Error: Symfony\Component\Debug\DebugClassLoader::loadClass(): Failed opening required '/home/customer/www/teonatura.it/public_html/_test/vendor/composer/../symfony/symfony/src/Symfony/Component/Routing/DependencyInjection/RoutingResolverPass.php' (include_path='/home/customer/www/teonatura.it/public_html/_test/vendor/pear/pear_exception:/home/customer/www/teonatura.it/public_html/_test/vendor/pear/console_getopt:/home/customer/www/teonatura.it/public_html/_test/vendor/pear/pear-core-minimal/src:/home/customer/www/teonatura.it/public_html/_test/vendor/pear/archive_tar:.:/usr/local/php73/pear') in DebugClassLoader.php line 156 Any ideas? Thank you 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