bk_developer Posted May 24, 2022 Share Posted May 24, 2022 I have deleted the module from modules folder. But this error is still there. I am not able to use admin panel. I have deleted files from var/cache/ as well. Error is still not resolved. Link to comment Share on other sites More sharing options...
El Patron Posted May 24, 2022 Share Posted May 24, 2022 What module? What ps version. Ease make sure to post info you would need to know to help. Link to comment Share on other sites More sharing options...
bk_developer Posted May 24, 2022 Author Share Posted May 24, 2022 (edited) ps version 1.7.8.6 I made a custom module. After installing it I got this error "An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "admin_dbargain_bargain_index" as such route does not exist.")." I am trying to access admin panel again. But this error is not going despite of deleting /var/cache files. How can this be resolved? Edited May 24, 2022 by bk_developer (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted May 24, 2022 Share Posted May 24, 2022 4 minutes ago, bk_developer said: ps version 1.7.8.6 I made a custom module. After installing it I got this error "An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "admin_dbargain_bargain_index" as such route does not exist.")." I am trying to access admin panel again. But this error is not going despite of deleting /var/cache files. How can this be he Does module use override? Maybe when you Uninstalled ps.could not remove override Link to comment Share on other sites More sharing options...
bk_developer Posted May 24, 2022 Author Share Posted May 24, 2022 No. How can I access admin again? I am reinstalling ps to be able to use admin again. this is a very time consuming way Link to comment Share on other sites More sharing options...
El Patron Posted May 24, 2022 Share Posted May 24, 2022 2 minutes ago, bk_developer said: No. How can I access admin again? I am reinstalling ps to be able to use admin again. this is a very time consuming way that is what FTP is for.....or hosting file control panel....or phpmyadmin...those are tools to files/db...when you cannot access admin Link to comment Share on other sites More sharing options...
bk_developer Posted May 24, 2022 Author Share Posted May 24, 2022 But what do I need to remove from database ? I can surely access it through phpmyadmin. Link to comment Share on other sites More sharing options...
El Patron Posted May 24, 2022 Share Posted May 24, 2022 13 minutes ago, bk_developer said: But what do I need to remove from database ? I can surely access it through phpmyadmin. you state you are a developer, if you load a module that breaks ps, then you can use other tools to solve, for example look at override file....so to be developer remember to use other tools when shop down. Link to comment Share on other sites More sharing options...
bk_developer Posted May 24, 2022 Author Share Posted May 24, 2022 Can any one else help me here? It will be great Link to comment Share on other sites More sharing options...
El Patron Posted May 24, 2022 Share Posted May 24, 2022 8 minutes ago, bk_developer said: Can any one else help me here? It will be great sorry you do not appreciate the advice...if you don't know how to view your override folder via ftp, then google it. also be more appreciate of help here even if you don't understand what people are saying, that's not our fault. also post entire error message, how do you expect anyone to help with info you provided at start? Link to comment Share on other sites More sharing options...
Mediacom87 Posted May 24, 2022 Share Posted May 24, 2022 Hi, Currently, you are simply saying that you developed a module and that it caused an error and that you don't know how to restart the backoffice page even when you remove your module. Unfortunately, you are the only one who knows what this module does and how it interacts with your store, so it is difficult to explain what only you know you did. This module seems to have touched a part of Synfony, because the only references on this error are about this part of PrestaShop. Normally, deleting the Cache directory should fix the problem, but maybe your hosting structure has caches or something else on the server, information we can't know either. That's why it's always important to develop your modules on a PrestaShop development installation to avoid contaminating a complete store. 1 Link to comment Share on other sites More sharing options...
El Patron Posted May 24, 2022 Share Posted May 24, 2022 in case you did not google, here you go: https://www.google.com/search?q=Unable+to+generate+a+URL+for+the+named+route+"admin_dbargain_bargain_index&sourceid=chrome&ie=UTF-8 Link to comment Share on other sites More sharing options...
bk_developer Posted May 24, 2022 Author Share Posted May 24, 2022 (edited) 20 minutes ago, El Patron said: sorry you do not appreciate the advice...if you don't know how to view your override folder via ftp, then google it. also be more appreciate of help here even if you don't understand what people are saying, that's not our fault. also post entire error message, how do you expect anyone to help with info you provided at start? I have just started developing my first module on Prestashop . I dont have much idea about it. Documentation alone is not enough to understand everything. The shop breaks on almost any change I make in my code. Btw thanks for the help! Edited May 24, 2022 by bk_developer (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