Hi all,
There's a <script> tag showing on every page of my website, but as the CDN stopped working the script now returns a 404 on every page. I'm trying to resolve it, but I can't find that script tag anywhere in my system. Except for the modified header TWIG file (system\modification directory). The script tag does not exist in my original header file so it's not hard-coded. Yes, I've also checked the header controller file to make sure it's not hard-coded there either.
There must be a modification somewhere, of some kind, that is causing this. I've searched my entire oc_modification database and used a modification editor extension without any results. It simply is nowhere to be found, but it exists somewhere.
Does OpenCart have any hidden features that modify files?
Where could this modification possibly be coming from?
OC 3.0.3.2 / Default theme
There's a <script> tag showing on every page of my website, but as the CDN stopped working the script now returns a 404 on every page. I'm trying to resolve it, but I can't find that script tag anywhere in my system. Except for the modified header TWIG file (system\modification directory). The script tag does not exist in my original header file so it's not hard-coded. Yes, I've also checked the header controller file to make sure it's not hard-coded there either.
There must be a modification somewhere, of some kind, that is causing this. I've searched my entire oc_modification database and used a modification editor extension without any results. It simply is nowhere to be found, but it exists somewhere.
Does OpenCart have any hidden features that modify files?
Where could this modification possibly be coming from?
OC 3.0.3.2 / Default theme
Last edited by Dutch Pride Code on Sun Feb 05, 2023 5:06 pm, edited 1 time in total.
Did you clear out all of your Cache Sections manually ?
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Manually remove all files within the Cache and Modification Cache Sections.
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Then check your Theme header.twig Source Content, if it's possibly a hard-coded entry.
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Check Theme Editor, Google Analytic module, system folder
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
It was not hard-coded in my original header.twig file, but it did show within the theme editor. I never use Theme Editor so I've never thought of that as an option, but I was able to remove it there. Problem seems to be solved now Although I still have no clue where it came from...
Thanks a lot for your help!
Thanks a lot for your help!
Who is online
Users browsing this forum: NicNie, Semrush [Bot] and 225 guests