rnervi Posted July 6 Share Posted July 6 PS 1.7 php 7.3 (old customer site) FO is alive and working fine. all was fine then BO is not responding (err 500). ssitched on debug mode. (2/2) FileLoaderLoadException Expected to find class "PrestaShopBundle\Controller\index" in file "/web/htdocs//home/src/PrestaShopBundle/Controller/index.php" while importing services from resource "/web/htdocs/home/app/../src/PrestaShopBundle/Controller/*", but it was not found! Check the namespace prefix used with the resource in /web/htdocs/home/app/config/config.yml (which is being imported from "/web/htdocs/home/app/config/config_dev.yml"). (1/2) InvalidArgumentException Expected to find class "PrestaShopBundle\Controller\index" in file "/web/htdocs//home/src/PrestaShopBundle/Controller/index.php" while importing services from resource "/web/htdocs//home/app/../src/PrestaShopBundle/Controller/*", but it was not found! Check the namespace prefix used with the resource smells like a non-existing file.... so checked via ftp in folder /home/src/PrestaShopBundle/Controller/Admin/Sell there is no such index.php file ! has to be ? which file ? why disappeared ? ty for suggestions. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted July 6 Share Posted July 6 (edited) Try to delete var/cache/prod and dev Edited July 6 by Prestashop Addict (see edit history) Link to comment Share on other sites More sharing options...
rnervi Posted July 7 Author Share Posted July 7 ty for support. done.. spent 1 afternoon in search of the cause Link to comment Share on other sites More sharing options...
Prestashop Addict Posted July 7 Share Posted July 7 Don't forget to add [SOLVED] to your title and a Tks or Like to good answer. Link to comment Share on other sites More sharing options...
rnervi Posted July 7 Author Share Posted July 7 it's not solved yet Link to comment Share on other sites More sharing options...
Prestashop Addict Posted July 7 Share Posted July 7 What is your exact PS version ? Does it happened after upgrade? Link to comment Share on other sites More sharing options...
rnervi Posted July 8 Author Share Posted July 8 1.7 it happened after install of NTbackup (paid). Once backup done, logoff and relogon and it locked that way folder of nt removed also the component db record related to ntbackup, no changes in lock Link to comment Share on other sites More sharing options...
Prestashop Addict Posted July 8 Share Posted July 8 1.7. (please minor version is important). Did you ask NTbackup author? Link to comment Share on other sites More sharing options...
Nickz Posted July 8 Share Posted July 8 On 7/6/2024 at 3:11 PM, rnervi said: Expected to find class "PrestaShopBundle\Controller\index that file should have an extension like index.html or index.php https://github.com/PrestaShop/PrestaShop/issues/22141 A bit further in version but they found a solution. Link to comment Share on other sites More sharing options...
rnervi Posted July 8 Author Share Posted July 8 1 hour ago, Nickz said: that file should have an extension like index.html or index.php https://github.com/PrestaShop/PrestaShop/issues/22141 A bit further in version but they found a solution. ok will check tonite ty Link to comment Share on other sites More sharing options...
rnervi Posted July 8 Author Share Posted July 8 6 hours ago, Prestashop Addict said: 1.7. (please minor version is important). Did you ask NTbackup author? used this module in several other sites never had troubles Link to comment Share on other sites More sharing options...
rnervi Posted July 8 Author Share Posted July 8 const VERSION = '1.7.8.11' Link to comment Share on other sites More sharing options...
rnervi Posted July 11 Author Share Posted July 11 just to close. at end I cleaned whole host dir and restored it all (using the backuo made from this payed module) and all went normal.... ty for support,anyway #closed 1 Link to comment Share on other sites More sharing options...
Enumbin Posted July 12 Share Posted July 12 Hello @rnervi Please add solved to the title so that everyone knows it is solved from the title. Thanks Link to comment Share on other sites More sharing options...
rnervi Posted July 12 Author Share Posted July 12 but really has not been solved. a restore is not a solution to that problem. officially, no matter and not solution of this specific problem, or I am wrong ? Link to comment Share on other sites More sharing options...
rnervi Posted September 16 Author Share Posted September 16 (edited) oh finally solved as this error showed again. I found some index.html sized 0 in two folders: home/src/PrestaShopBundle/Controller home/src/PrestaShopBundle/Controller/Admin/Sell renamed then to "ex_index.php" the idea was googlin' aroudn and testing this suggestion from a user ( now is solved! ) Edited September 16 by rnervi (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