2017-02-13, 06:17 PM
A day or two ago, a whole load of errors cropped up on a board I am staff on and I'm at a loss for both the cause and how to fix it.
The board is using iAndrew's Duende theme and the errors I've noticed, in order of importance are:
- Our reports system no longer works. When you attempt to report a post there is a javascript:void(0) error.
- Other Modals such as those that come with the MyAlerts plugin don't work either. They will open, but not close.
- We have lost the ability to soft delete which was working before. All posts now just hard delete.
- Trying to quote has the same issue as reports, a javascript:void(0) is returned.
- Lists have disappeared and bbcode is suddenly responding differently.
I am still very new to MyBB software but I'm relatively sure the issues for the jQuery are in the headerinclude template so here it is as it stands:
If you need a different template please tell me and I'll paste it here.
Before this becomes a problem, I do not have access to the database, just the ACP.
And finally, here is a link for the board: link. There is no specific page issue, it's everywhere.
The board is using iAndrew's Duende theme and the errors I've noticed, in order of importance are:
- Our reports system no longer works. When you attempt to report a post there is a javascript:void(0) error.
- Other Modals such as those that come with the MyAlerts plugin don't work either. They will open, but not close.
- We have lost the ability to soft delete which was working before. All posts now just hard delete.
- Trying to quote has the same issue as reports, a javascript:void(0) is returned.
- Lists have disappeared and bbcode is suddenly responding differently.
I am still very new to MyBB software but I'm relatively sure the issues for the jQuery are in the headerinclude template so here it is as it stands:
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1807"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1810"></script>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,200italic,400italic,600italic" rel="stylesheet" type="text/css">
<!-- ibthx -->
<style type="text/css">
.thx_btn_add span {
background: url(http://static1800.icyboards.com/rpgdirectory/images/buttons_sprite.png) no-repeat 0px -440px!important;
}
html[dir=rtl] .thx_btn_add span {
background-position: right -440px!important;
}
.thx_btn_remove span{
background: url(http://static1800.icyboards.com/rpgdirectory/images/buttons_sprite.png) no-repeat 0px -480px!important;
}
html[dir=rtl] .thx_btn_remove span {
background-position: right -480px!important;
}
.thx_list_lable {
background: url(../../../../images/rose-small.png) no-repeat 0px top!important;
}
html[dir=rtl] .thx_list_lable {
background-position: right top!important;
}
.thx_list {
clear: both;
padding: 10px 0 5px 0;
border-bottom: 0;
}
.thx_list_lable {
padding-left: 18px;
display: inline;
}
html[dir=rtl] .thx_list_lable {
padding-left: inherit;
padding-right: 18px;
}
.hide {
display: none;
}
</style>
<script type="text/javascript" src="jscripts/thx.js"></script>
<!-- /ibthx -->
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/mood.js?ver=1800"></script>{$stylesheets}{$myprofile_headerinclude}{$stylesheets}
<script type="text/javascript">
<!--
lang.unknown_error = "{$lang->unknown_error}";
lang.select2_match = "{$lang->select2_match}";
lang.select2_matches = "{$lang->select2_matches}";
lang.select2_nomatches = "{$lang->select2_nomatches}";
lang.select2_inputtooshort_single = "{$lang->select2_inputtooshort_single}";
lang.select2_inputtooshort_plural = "{$lang->select2_inputtooshort_plural}";
lang.select2_inputtoolong_single = "{$lang->select2_inputtoolong_single}";
lang.select2_inputtoolong_plural = "{$lang->select2_inputtoolong_plural}";
lang.select2_selectiontoobig_single = "{$lang->select2_selectiontoobig_single}";
lang.select2_selectiontoobig_plural = "{$lang->select2_selectiontoobig_plural}";
lang.select2_loadmore = "{$lang->select2_loadmore}";
lang.select2_searching = "{$lang->select2_searching}";
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
var my_post_key = "{$mybb->post_code}";
var rootpath = "{$mybb->settings['bburl']}";
var imagepath = "{$theme['imgdir']}";
var yes_confirm = "{$lang->yes}";
var no_confirm = "{$lang->no}";
var MyBBEditor = null;
var spinner_image = "{$theme['imgdir']}/spinner.gif";
var spinner = "<img src='" + spinner_image +"' alt='' />";
var modal_zindex = 9999;
// -->
</script></script>{$myalerts_js}
If you need a different template please tell me and I'll paste it here.
Before this becomes a problem, I do not have access to the database, just the ACP.
And finally, here is a link for the board: link. There is no specific page issue, it's everywhere.