Home › Forums › WoodMart support forum › After Update – Automatically Added Code all Pages
After Update – Automatically Added Code all Pages
- This topic has 15 replies, 2 voices, and was last updated 3 years, 5 months ago by
Artem Temos.
-
AuthorPosts
-
March 10, 2022 at 9:14 am #359430
soluzionibwgParticipantHi, after updating to version 6.3, I found an error on the whole portal and on every page
[Error] ReferenceError: Can’t find variable: MtPopUpList
(funzione anonima) (fourapperdistribution.kinsta.cloud:6039:93)I find this code in the table related to theme woodmart without knowing why, this happened after the update.
Unfortunately this code that I do not know and I have not entered is causing me many problems, You could check it out for a moment
Here you will find all the points where I see this code
https://ibb.co/mHwfDfX
https://ibb.co/283Jyhs
https://ibb.co/7yfHQK9
https://ibb.co/D5J3DWL
https://ibb.co/84RSY0T
https://ibb.co/XyX8RymAttachments:
You must be logged in to view attached files.March 10, 2022 at 1:33 pm #359606
Artem TemosKeymasterHello,
This code is not related to our theme. You need to try to disable all external plugins and see how it works. Then enable them all one by one to see which of them causes this problem.
Kind Regards
March 10, 2022 at 1:55 pm #359628
soluzionibwgParticipantI have already tried to disable everything, but I can already find this code in the database and in the products and at the time of the update that was inserted in the database
March 10, 2022 at 1:56 pm #359629
Artem TemosKeymasterOur theme doesn’t add any code to the database like that during the update. You can roll back if you have a backup and we will update the theme for you to prove it.
March 10, 2022 at 1:57 pm #359631
soluzionibwgParticipantThis code was also added in the previous update, could you at least tell me where it might have come from
March 10, 2022 at 2:15 pm #359639
soluzionibwgParticipantWhat I understood that this code has entered all the boxes where this editor is in the theme settings, what could it be?
View screen attach
Attachments:
You must be logged in to view attached files.March 10, 2022 at 2:19 pm #359642
soluzionibwgParticipantSee in all these points this code has been inserted, I’m going to search on thema where it is inserted
Attachments:
You must be logged in to view attached files.March 10, 2022 at 2:29 pm #359648
soluzionibwgParticipantThen I realized that when I go to the woodmart settings, and I am in front of an editor TinyMCE, if that script is I remove and save it I don’t see it anymore but if after saving I update the page I see it inserted again, this is very strange
Attachments:
You must be logged in to view attached files.March 10, 2022 at 3:21 pm #359668
soluzionibwgParticipantAfter reviewing this with our malware team, we have found the next information.
This code is generated by the Theme Woodmart856 | xts-woodmart-options | a:491:
fourapperdistribution@jip-fourapperdistribution:~/public/wp-content/themes$
grep -ril xts-woodmart-options woodmart/wpml-config.xml
woodmart/inc/theme-setup.php
woodmart/inc/modules/header-builder/Manager.php
woodmart/inc/admin/import/class-options.php
woodmart/inc/admin/options/controls/reset/class-reset.phpPlease, check this with your developer.
fourapperdistribution@jip-fourapperdistribution:~/public/wp-content/themes$ grep -ril xts-woodmart-options woodmart/wpml-config.xml woodmart/inc/theme-setup.php woodmart/inc/modules/header-builder/Manager.php woodmart/inc/admin/import/class-options.php woodmart/inc/admin/options/controls/reset/class-reset.phpMarch 10, 2022 at 3:26 pm #359670
Artem TemosKeymasterSorry, but we don’t understand anything from this report. What does it mean? Does it say that they found some code with
xts-woodmart-options
in our theme files? Of course, they exist in our theme. But how it is related to your problem? Please, clarify so we can help you.March 10, 2022 at 3:30 pm #359673
soluzionibwgParticipantI find myself automatically inserted this code in the various points of the theme where the editor is TinyMCE, see attached screen and if I try to delete it and save it, after saving it is inserted again
THIS IS CODE:
<div id=”WidgetFloaterPanels” class=”LTRStyle” style=”display: none; text-align: left; direction: ltr; visibility: hidden;” translate=”no”>
<div id=”WidgetFloater” style=”display: none;”>
<div id=”WidgetLogoPanel”><span id=”WidgetTranslateWithSpan”>TRANSLATE with</span> <span id=”WidgetCloseButton” title=”Exit Translation”>x</span></div>
<div id=”LanguageMenuPanel”>
<div class=”DDStyle_outer”><input id=”LanguageMenu_svid” style=”display: none;” autocomplete=”on” name=”LanguageMenu_svid” type=”text” value=”en” /> <input id=”LanguageMenu_textid” style=”display: none;” autocomplete=”on” name=”LanguageMenu_textid” type=”text” /> <span id=”__LanguageMenu_header” class=”DDStyle” tabindex=”0″>English</span>
<div style=”position: relative; text-align: left; left: 0;”>
<div style=”position: absolute; ;left: 0px;”>
<div id=”__LanguageMenu_popup” class=”DDStyle” style=”display: none;”>
<table id=”LanguageMenu” border=”0″>
<tbody>
<tr>
<td>Arabic</td>
<td>Hebrew</td>
<td>Polish</td>
</tr>
<tr>
<td>Bulgarian</td>
<td>Hindi</td>
<td>Portuguese</td>
</tr>
<tr>
<td>Catalan</td>
<td>Hmong Daw</td>
<td>Romanian</td>
</tr>
<tr>
<td>Chinese Simplified</td>
<td>Hungarian</td>
<td>Russian</td>
</tr>
<tr>
<td>Chinese Traditional</td>
<td>Indonesian</td>
<td>Slovak</td>
</tr>
<tr>
<td>Czech</td>
<td>Italian</td>
<td>Slovenian</td>
</tr>
<tr>
<td>Danish</td>
<td>Japanese</td>
<td>Spanish</td>
</tr>
<tr>
<td>Dutch</td>
<td>Klingon</td>
<td>Swedish</td>
</tr>
<tr>
<td>English</td>
<td>Korean</td>
<td>Thai</td>
</tr>
<tr>
<td>Estonian</td>
<td>Latvian</td>
<td>Turkish</td>
</tr>
<tr>
<td>Finnish</td>
<td>Lithuanian</td>
<td>Ukrainian</td>
</tr>
<tr>
<td>French</td>
<td>Malay</td>
<td>Urdu</td>
</tr>
<tr>
<td>German</td>
<td>Maltese</td>
<td>Vietnamese</td>
</tr>
<tr>
<td>Greek</td>
<td>Norwegian</td>
<td>Welsh</td>
</tr>
<tr>
<td>Haitian Creole</td>
<td>Persian</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<script type=”text/javascript”> var LanguageMenu; var LanguageMenu_keys=[“ar”,”bg”,”ca”,”zh-CHS”,”zh-CHT”,”cs”,”da”,”nl”,”en”,”et”,”fi”,”fr”,”de”,”el”,”ht”,”he”,”hi”,”mww”,”hu”,”id”,”it”,”ja”,”tlh”,”ko”,”lv”,”lt”,”ms”,”mt”,”no”,”fa”,”pl”,”pt”,”ro”,”ru”,”sk”,”sl”,”es”,”sv”,”th”,”tr”,”uk”,”ur”,”vi”,”cy”]; var LanguageMenu_values=[“Arabic”,”Bulgarian”,”Catalan”,”Chinese Simplified”,”Chinese Traditional”,”Czech”,”Danish”,”Dutch”,”English”,”Estonian”,”Finnish”,”French”,”German”,”Greek”,”Haitian Creole”,”Hebrew”,”Hindi”,”Hmong Daw”,”Hungarian”,”Indonesian”,”Italian”,”Japanese”,”Klingon”,”Korean”,”Latvian”,”Lithuanian”,”Malay”,”Maltese”,”Norwegian”,”Persian”,”Polish”,”Portuguese”,”Romanian”,”Russian”,”Slovak”,”Slovenian”,”Spanish”,”Swedish”,”Thai”,”Turkish”,”Ukrainian”,”Urdu”,”Vietnamese”,”Welsh”]; var LanguageMenu_callback=function(){ }; var LanguageMenu_popupid=’__LanguageMenu_popup’; </script></div>
<div id=”CTFLinksPanel”><span id=”ExternalLinksPanel”></span></div>
<div id=”FloaterProgressBar”></div>
</div>
<div id=”WidgetFloaterCollapsed” style=”display: none;”>TRANSLATE with</div>
<div id=”FloaterSharePanel” style=”display: none;”>
<div id=”ShareTextDiv”><span id=”ShareTextSpan”> COPY THE URL BELOW </span></div>
<div id=”ShareTextboxDiv”><input id=”ShareTextbox” name=”ShareTextbox” readonly=”readonly” type=”text” /> <!–a id=”TwitterLink” title=”Share on Twitter”><a– id=”FacebookLink” title=”Share on Facebook”>
</a–>
</div>
<div id=”ShareFooter”><span id=”ShareHelpSpan”></span> <span id=”ShareBackSpan”> Back</span></div>
<input id=”EmailSubject” name=”EmailSubject” type=”hidden” value=”Check out this page in {0} translated from {1}” /> <input id=”EmailBody” name=”EmailBody” type=”hidden” value=”Translated: {0}%0d%0aOriginal: {1}%0d%0a%0d%0aAutomatic translation powered by Microsoft® Translator%0d%0ahttp://www.bing.com/translator?ref=MSTWidget” /> <input id=”ShareHelpText” type=”hidden” value=”This link allows visitors to launch this page and automatically translate it to {0}.” /></div>
<div id=”FloaterEmbed” style=”display: none;”>
<div id=”EmbedTextDiv”><span id=”EmbedTextSpan”>EMBED THE SNIPPET BELOW IN YOUR SITE</span></div>
<div id=”EmbedTextboxDiv”><input id=”EmbedSnippetTextBox” name=”EmbedSnippetTextBox” readonly=”readonly” type=”text” value=”<div id=’MicrosoftTranslatorWidget’ class=’Dark’ style=’color:white;background-color:#555555′></div><script type=’text/javascript’>setTimeout(function(){var s=document.createElement(‘script’);s.type=’text/javascript’;s.charset=’UTF-8′;s.src=((location && location.href && location.href.indexOf(‘https’) == 0)?’https://ssl.microsofttranslator.com’:’http://www.microsofttranslator.com’)+’/ajax/v3/WidgetV3.ashx?siteData=ueOIGRSKkd965FeEGM5JtQ**&ctf=true&ui=true&settings=manual&from=en’;var p=document.getElementsByTagName(‘head’)[0]||document.documentElement;p.insertBefore(s,p.firstChild); },0);</script>” /></div>
<div id=”EmbedNoticeDiv”><span id=”EmbedNoticeSpan”>Enable collaborative features and customize widget: Bing Webmaster Portal</span></div>
<div id=”EmbedFooterDiv”><span id=”EmbedBackSpan”>Back</span></div>
</div>
<script type=”text/javascript”> var intervalId = setInterval(function () { if (MtPopUpList) { LanguageMenu = new MtPopUpList(); var langMenu = document.getElementById(LanguageMenu_popupid); var origLangDiv = document.createElement(“div”); origLangDiv.id = “OriginalLanguageDiv”; origLangDiv.innerHTML = “<span id=’OriginalTextSpan’>ORIGINAL: </span><span id=’OriginalLanguageSpan’></span>”; langMenu.appendChild(origLangDiv); LanguageMenu.Init(‘LanguageMenu’, LanguageMenu_keys, LanguageMenu_values, LanguageMenu_callback, LanguageMenu_popupid); window[“LanguageMenu”] = LanguageMenu; clearInterval(intervalId); } }, 1); </script></div>”Attachments:
You must be logged in to view attached files.March 10, 2022 at 3:35 pm #359678
soluzionibwgParticipantInto Table fourapper_options for row 856 for id xts-woodmart-options, I find this code that has been inserted automatically, I have attached the SQL code to you and I have sent you print
Attachments:
You must be logged in to view attached files.March 10, 2022 at 3:37 pm #359680
soluzionibwgParticipantThis is link for download file SQL https://we.tl/t-m5ms9OlpIy
Attachments:
You must be logged in to view attached files.March 10, 2022 at 3:37 pm #359682
Artem TemosKeymasterBut our theme never contained any
.sql
files at all. It might be affected on your website somehow. You can download our theme from ThemeForest and see that there no such files there.March 10, 2022 at 3:38 pm #359683
soluzionibwgParticipantok but how do i avoid having this code in the theme? Why does it fit in every time?
March 11, 2022 at 7:07 am #359786
Artem TemosKeymasterIt looks like your website is affected by some virus code (that you showed in your previous messages). You need to find and delete all these files.
-
AuthorPosts
Tagged: woodmart 6.3
- You must be logged in to create new topics. Login / Register