cavetech Posted October 31, 2022 Share Posted October 31, 2022 (edited) Hello, I have a Prestashop (1.7.8.7) and I was forced to change the server and the domain name so now after lots of tryings I can access the website but not the BO. This is the error I'm getting ... Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\RuntimeException: Invalid service "prestashop.module.link_block.form_provider": class "PrestaShop\PrestaShop\Core\Form\FormDataProviderInterface" not found while loading "PrestaShop\Module\LinkList\Form\LinkBlockFormDataProvider". in /home/clients/899c7b6c9a705703c32c4816ecbb52c0/sites/cavetech.shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php:129 Stack trace: #0 /home/clients/899c7b6c9a705703c32c4816ecbb52c0/sites/cavetech.shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php(152): Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->getConstructor(Object(Symfony\Component\DependencyInjection\Definition), true) #1 /home/clients/899c7b6c9a705703c32c4816ecbb52c0/sites/cavetech.shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/ResolveNamedArgumentsPass.php(50): Symfony\Component\DependencyInjection\Compile in /home/clients/899c7b6c9a705703c32c4816ecbb52c0/sites/cavetech.shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php on line 129 I already cleaned the cache folder and the .htaccess (manually) because I can't access the BO. The versions of PHP (7.4) are still the same in bouth of servers and the old one I can still access. Can someone help me? Edited October 31, 2022 by cavetech (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted October 31, 2022 Share Posted October 31, 2022 did you clean out your caches? Link to comment Share on other sites More sharing options...
cavetech Posted October 31, 2022 Author Share Posted October 31, 2022 1 hour ago, Nickz said: did you clean out your caches? Hi. Yes, it's already in my message! Link to comment Share on other sites More sharing options...
Nickz Posted October 31, 2022 Share Posted October 31, 2022 7 minutes ago, cavetech said: Hi. Yes, it's already in my message! You did not mention caches under themes and if you also delete the index.php pages in the in those caches. Link to comment Share on other sites More sharing options...
cavetech Posted October 31, 2022 Author Share Posted October 31, 2022 1 minute ago, Nickz said: You did not mention caches under themes and if you also delete the index.php pages in the in those caches. I just cleaned the /cache/ folder, I did not delete the index.php file. The folder /themes/themaname/assets/cache is empty, I don't know if there's another cache folder to clean too. Link to comment Share on other sites More sharing options...
Nickz Posted October 31, 2022 Share Posted October 31, 2022 Should you have opened the backend of your new domain you also need to clear browser caches. Mostlikely cookies too. Link to comment Share on other sites More sharing options...
cavetech Posted October 31, 2022 Author Share Posted October 31, 2022 Just now, Nickz said: Should you have opened the backend of your new domain you also need to clear browser caches. Mostlikely cookies too. I tried that, no change, I also tried to open the BO in another browser (one where I never opened the old one) and the problem is the same. Link to comment Share on other sites More sharing options...
Nickz Posted October 31, 2022 Share Posted October 31, 2022 (edited) Ok entras con ftp o sftp y renombras la carpeta del modulo prestashop.module.li en cuestion en prestashop.module.li_. El nombre modulo lo que sea mencionado pues Sorry wrong lingo, enter with ftp or sftp and rename modulo prestashop.module.li which was mentioned into prestashop.module.li_. Edited October 31, 2022 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
cavetech Posted October 31, 2022 Author Share Posted October 31, 2022 14 minutes ago, Nickz said: Ok entras con ftp o sftp y renombras la carpeta del modulo prestashop.module.li en cuestion en prestashop.module.li_. El nombre modulo lo que sea mencionado pues Hello. I tried that, but the problem is still there, it's just different now... Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "prestashop.adapter.product.validate.product_supplier_validator" has a dependency on a non-existent service "prestashop.adapter.currency.repository.currency_repository". in /home/clients/899c7b6c9a705703c32c4816ecbb52c0/sites/cavetech.shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:31 Stack trace: #0 /home/clients/899c7b6c9a705703c32c4816ecbb52c0/sites/cavetech.shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php(60): Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue(Object(Symfony\Component\DependencyInjection\Reference), false) #1 /home/clients/899c7b6c9a705703c32c4816ecbb52c0/sites/cavetech.shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php(28): Symfony in /home/clients/899c7b6c9a705703c32c4816ecbb52c0/sites/cavetech.shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php on line 31 I don't think it's a module, also because the "linklist" module is a PS module. Link to comment Share on other sites More sharing options...
Nickz Posted October 31, 2022 Share Posted October 31, 2022 2 hours ago, cavetech said: The versions of PHP (7.4) are still the same in bouth of servers and the old one I can still access. Are all dependedncies satisfied? Link to comment Share on other sites More sharing options...
ComGrafPL Posted October 31, 2022 Share Posted October 31, 2022 You were forced to change domain name? Have you checked url's in database? Link to comment Share on other sites More sharing options...
cavetech Posted October 31, 2022 Author Share Posted October 31, 2022 6 minutes ago, ComGrafPL said: You were forced to change domain name? Have you checked url's in database? Yes, I checked... the FO is working, just the BO isn't. Link to comment Share on other sites More sharing options...
rthakur Posted November 1, 2022 Share Posted November 1, 2022 (edited) You can delete both folder under cache prod and dev. Make bakup of .htaccess file and delete htaccess file also check ps_shop_url and ps_configrations domain url and ssl is enable or not then you can open a file under config folder defines.inc.php set define('_PS_MODE_DEV_', true); after this you can try BO login Edited November 1, 2022 by rthakur mistake (see edit history) Link to comment Share on other sites More sharing options...
cavetech Posted November 2, 2022 Author Share Posted November 2, 2022 22 hours ago, rthakur said: You can delete both folder under cache prod and dev. Make bakup of .htaccess file and delete htaccess file also check ps_shop_url and ps_configrations domain url and ssl is enable or not then you can open a file under config folder defines.inc.php set define('_PS_MODE_DEV_', true); after this you can try BO login Thanks for your message, but I already did all that and no change. Link to comment Share on other sites More sharing options...
ComGrafPL Posted November 2, 2022 Share Posted November 2, 2022 Have you contacted hosting support? Link to comment Share on other sites More sharing options...
Nickz Posted November 2, 2022 Share Posted November 2, 2022 5 hours ago, cavetech said: but I already did all that and no change. Are all dependedncies satisfied? Link to comment Share on other sites More sharing options...
cavetech Posted November 2, 2022 Author Share Posted November 2, 2022 8 hours ago, ComGrafPL said: Have you contacted hosting support? Yes, there's no problem. Actually is the host I was using before. Link to comment Share on other sites More sharing options...
cavetech Posted November 3, 2022 Author Share Posted November 3, 2022 21 hours ago, Nickz said: Are all dependedncies satisfied? Yes. they are. Link to comment Share on other sites More sharing options...
rthakur Posted November 3, 2022 Share Posted November 3, 2022 1 minute ago, cavetech said: Yes. they are. Contact theme support Link to comment Share on other sites More sharing options...
cavetech Posted November 3, 2022 Author Share Posted November 3, 2022 5 minutes ago, rthakur said: Contact theme support Sorry, but, if the problem is in the BO, why should I contact the theme support? Link to comment Share on other sites More sharing options...
JBW Posted November 6, 2022 Share Posted November 6, 2022 On 10/31/2022 at 4:23 PM, cavetech said: just cleaned the /cache/ folder, I did not delete the index.php file The cache in 1.7. is located in /var/cache, try deleting/renaming this - /cache is depreceated. Link to comment Share on other sites More sharing options...
cavetech Posted November 25, 2022 Author Share Posted November 25, 2022 I reinstall Prestashop and started everything again... problem solve. 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