MyBB Community Forums

Full Version: Host migration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings.

I migrated hosts today and when fairly well. I had two sql import errors. One in the spam log which I am not concerned about. The other was in the templates. After manually importing the data I am receiving the following statement in System Health Check Templates.

The following errors were encountered:
  • The templates below matched known security issues. Please review them.
The Master Templates have been altered. Please contact the MyBB Group for support on how to alter these.
private_send_buddyselect


This is the entry that I added manually. Please let me know your suggestions.

Cheers
Matt
Could you paste the contents of the template in question into [code] tags here?
(11-25-2016, 08:37 PM)Josh H. Wrote: [ -> ]Could you paste the contents of the template in question into tags here?

<script type="text/javascript"><!--\r\ndocument.write(''<br /><span class="smalltext"><a href="#" onclick="UserCP.openBuddySelect(\\''{$buddy_select}\\'');"><img src="{$theme[''imgdir'']}/buddies.png" alt="" style="vertical-align: middle;" alt="" title="{$lang->select_from_buddies}" /> {$lang->select_from_buddies}</a></span>'');\r\n// --></script> 

Cheers
Matt
you can revert the template to its original content. see related guidance

or you can put below code into private_send_buddyselect template
<script type="text/javascript"><!--
document.write('<br /><span class="smalltext"><a href="#" onclick="UserCP.openBuddySelect(\'{$buddy_select}\');"><img src="{$theme['imgdir']}/buddies.png" alt="" style="vertical-align: middle;" alt="" title="{$lang->select_from_buddies}" /> {$lang->select_from_buddies}</a></span>');
// --></script>