Post by jororib » Tue Aug 19, 2025 5:59 pm

Hello.
Please help.
For several days my site has been working extremely slowly.
I found the problem:
a script has been added to the pages

<!--Start Cookie Script--> <script type="text/javascript" charset="UTF-8" src="https://chs03.cookie-script.com/s/f0dc6 ... "></script> <!--End Cookie Script-->

It is located at the end of each page: home, product, cart, payment.

The end of the code looks like this:

<p class="pull-left">Powered By <a href="http://www.opencart.com">OpenCart</a><br /> E-Parker.bg &copy; 2025</p><p class="pull-right">OpenCart Theme By <a href="https://goo.gl/NKXdWy">HarnishDesign</a></p>
</div>
</footer>
<!--
OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practice to make a small donation.
Please donate via PayPal to donate@opencart.com
//-->
<!--Start Cookie Script--> <script type="text/javascript" charset="UTF-8" src="https://chs03.cookie-script.com/s/f0dc6 ... "></script> <!--End Cookie Script-->
</body></html>

Since I can't contact the person who placed it. Please tell me the place (file) from where I can remove it.

Thank you very much.

Attachments

???
77.jpg

Newbie

Posts

Joined
Thu Oct 12, 2017 3:49 am

Post by OSWorX » Tue Aug 19, 2025 6:10 pm

footer.twig

Either manual with an editor or edit it with the already integrated template editor in the backend.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by ADD Creative » Tue Aug 19, 2025 6:13 pm

Check in catalog/view/theme/default/template/common/footer.twig and the same file in your theme.

Disable and refresh modifications one by one until it's gone.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by OSWorX » Tue Aug 19, 2025 6:23 pm

ADD Creative wrote:
Tue Aug 19, 2025 6:13 pm
Disable and refresh modifications one by one until it's gone.
Guess it comes from the theme ..
So, when he disables it, it should also be gone .. but then he has no custom theme anymore ..

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by JNeuhoff » Tue Aug 19, 2025 6:51 pm

Your web theme is from Harnish Design, please double check with this theme author as to whether this so-called cookie script should even be in there at all (maybe your server has been compromised!), and if so, why it has to call an external server to get the javascript file instead of having it locally stored on your own server. The external server appears to be non-responsive.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by paulfeakins » Tue Aug 19, 2025 6:54 pm

jororib wrote:
Tue Aug 19, 2025 5:59 pm
For several days my site has been working extremely slowly.
Give us a link to your site?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by jororib » Tue Aug 19, 2025 9:44 pm

Hello,
I tried all the advice.
I found
catalog/view/theme/default/template/common/footer.twig
there was a script, I removed it.
But nothing on the site changed.
In the files I found 3 more footer.twig and there was the harmful script, I removed it, nothing changed.

Disable and refresh modifications one by one until it's gone. I did it but it didn't help.

My site is: https://e-parker.bg/index.php?route=common/home

Newbie

Posts

Joined
Thu Oct 12, 2017 3:49 am

Post by jororib » Tue Aug 19, 2025 9:49 pm

<p class="pull-left">Powered By <a href="http://www.opencart.com">OpenCart</a><br /> E-Parker.bg &copy; 2025</p><p class="pull-right">OpenCart Theme By <a href="https://goo.gl/NKXdWy">HarnishDesign</a></p>
</div>
</footer>
<!--
OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation.
Please donate via PayPal to donate@opencart.com
//-->
<!--Start Cookie Script--> <script type="text/javascript" charset="UTF-8" src="https://chs03.cookie-script.com/s/f0dc6 ... "></script> <!--End Cookie Script-->
</body></html>

I wonder if it could be somewhere else.
Given that it is located after
</footer>

Newbie

Posts

Joined
Thu Oct 12, 2017 3:49 am

Post by ADD Creative » Tue Aug 19, 2025 11:43 pm

Did you refresh the theme cache after removing it? It's the blue cog button on the dashboard.

Has the script appeared back in the footer.twig file once remove or was it just appearing on your site?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by jororib » Wed Aug 20, 2025 4:03 pm

Thank you very much everyone.
I did everything, finally cleared the cache and the site is fine.
Once again, thank you very much.

Newbie

Posts

Joined
Thu Oct 12, 2017 3:49 am
Who is online

Users browsing this forum: Bing [Bot] and 6 guests