Pravesh Singh Posted February 14, 2020 Share Posted February 14, 2020 Hi, My website URL is tppl.org.in. when i clicked on any of the category then it open a new tab also with different URL (http://iyfsearch.com/?dn=brow.si&pid=9PO755G95). Mostly this will happen when a category is clicked first. Please help. Link to comment Share on other sites More sharing options...
Luis C Posted February 14, 2020 Share Posted February 14, 2020 You should check your Prestashop installation for any suspicious module, because there IS an external js file capturing clicks from the DOM and opening a new window with that specific URL (Looks like an affiliate link) If you haven't installed such a module you should perform a backup ASAP, and probably get a freshly installed Prestashop running. (Also, if you haven't installed a module with that behaviour I'd advise you to check access logs, change passwords and even ask your service provider for help if needed) If you downloaded a theme / module / or even a prestahop copy from a suspicious website, that code might have already been there from the beginning. Link to comment Share on other sites More sharing options...
Pravesh Singh Posted February 15, 2020 Author Share Posted February 15, 2020 HI Luis, thanks for reply.. is this possible to find this file and remove the bad code? Thanks. Link to comment Share on other sites More sharing options...
Luis C Posted February 15, 2020 Share Posted February 15, 2020 13 minutes ago, Prestan said: HI Luis, thanks for reply.. is this possible to find this file and remove the bad code? Thanks. Well... Check template files. If you can't locate the code calling that script there, then it's being injected from elsewhere, like I said. A module, likely. I'd suggest (if it's not a production site) disabling all modules and checking if the behavior is still active. If that's the case your best shot is starting over with a clean template and copy of PrestaShop. Link to comment Share on other sites More sharing options...
Pravesh Singh Posted February 15, 2020 Author Share Posted February 15, 2020 Hi Luis, Thanks again for quick reply. I got the module that create this problem. now problem is solved. Thanks. Link to comment Share on other sites More sharing options...
Luis C Posted February 15, 2020 Share Posted February 15, 2020 Awesome. It'd be great of you could report the name of the module that caused the issue so other users can be aware of it. Have a nice day! Link to comment Share on other sites More sharing options...
Pravesh Singh Posted February 15, 2020 Author Share Posted February 15, 2020 Sure why not... Following is the module, Thanks. 1 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