pafranklin Posted October 20, 2014 Share Posted October 20, 2014 Hello, My website has been the subject of a hack and the site now displays some malicious codes at the top of the left column. When using view source I can see the outputs of the following which generates some malicious links on all pages. However I do not know how this table is generated or where to look to find this code. I've checked as many files as possible but am stuck so hoping someone could point me in the right direction? Its not on all pages and for example main categories links show correctly. Link to show the problem (top left of left column) - http://www.martinberrillsports.com/shopping_cart.php Also image enclosed to show where the "jewellery" related links are showing in my sports website. I hope that someone can help please? Many thanks. Paul You will never learn if you don't try. And boy am I trying....! Link to comment Share on other sites More sharing options...
oscMarket Posted October 20, 2014 Share Posted October 20, 2014 you are not hacked, your hosting screwed up server. Check whois: yoursite jewelsite Link to comment Share on other sites More sharing options...
burt Posted October 20, 2014 Share Posted October 20, 2014 Removed a bunch of links. I dont think you ar hacked, I suspect that 1 or more sites is using the same cache settings. Ask your host. Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 20, 2014 Share Posted October 20, 2014 @@pafranklin It's a common problem when cache is enabled and set to tmp. That causes the cache to use the servers tmp directory, which is shared with other sites on the server. For a quick fix, turn off the cache option in admin->Configuration. Then change the cache path (also a setting in that location) to a local directory and re-enable it. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
pafranklin Posted October 21, 2014 Author Share Posted October 21, 2014 Hi Jack_mcs, burt and wHiTeHaT, Its official - I love you guys!! Thanks for the great input and of course it worked. One final question is how do I change the cache path to a local directory? Many thanks again all!! :) Paul You will never learn if you don't try. And boy am I trying....! Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 21, 2014 Share Posted October 21, 2014 You need to have a directory to write to. 2.3 versions of oscommerce use includes/work/ so I suggest using that. If there isn't such a directory, create one. Then go to admin->modules->payment and you will see your server path displayed. Copy it and change it so it goes to includes/work/. then paste it into the setting in the cache section. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.