umbranet
New Member
- Messages
- 10
- Reaction score
- 0
- Points
- 1
I am not sure how to solve this; so I'm seeking help from the community.
Upon creation of my forums, I went to go to the AdminCP located within MyBB 1.8.6 forums so I could edit one of the templates (Home » Template Sets » Modern Templates » Edit Template: showthread) only to notice that I couldn't even edit a single line without it coming up an Error 406.
Upon creation of my forums, I went to go to the AdminCP located within MyBB 1.8.6 forums so I could edit one of the templates (Home » Template Sets » Modern Templates » Edit Template: showthread) only to notice that I couldn't even edit a single line without it coming up an Error 406.
Not Acceptable
An appropriate representation of the requested resource /admin/index.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
This is quite aggravating since for some reason; the Template I was attempting to upload was to fill in what was wiped from it. Whilst attempting to reupload it; I noticed the new Template (Modern v2 - AKA The one that has no edits; a clean install of the theme) could not transfer the specific bit of code either, without it resulting in the aforementioned error. When I attempt to upload said code, the link affected is http://umbranetwork.x10.bz/admin/index.php?module=style-templates&action=edit_template&expand=14 if that is of any help what-so-ever.An appropriate representation of the requested resource /admin/index.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Code:
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
var quickdelete_confirm = "{$lang->quickdelete_confirm}";
var quickrestore_confirm = "{$lang->quickrestore_confirm}";
var allowEditReason = "{$mybb->settings['alloweditreason']}";
lang.save_changes = "{$lang->save_changes}";
lang.cancel_edit = "{$lang->cancel_edit}";
lang.quick_edit_update_error = "{$lang->quick_edit_update_error}";
lang.quick_reply_post_error = "{$lang->quick_reply_post_error}";
lang.quick_delete_error = "{$lang->quick_delete_error}";
lang.quick_delete_success = "{$lang->quick_delete_success}";
lang.quick_delete_thread_success = "{$lang->quick_delete_thread_success}";
lang.quick_restore_error = "{$lang->quick_restore_error}";
lang.quick_restore_success = "{$lang->quick_restore_success}";
lang.editreason = "{$lang->postbit_editreason}";
// -->
</script>
<!-- jeditable (jquery) -->
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1800"></script>
<script src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1800"></script>
</head>
<body>
{$header}
{$threadnotesbox}
{$pollbox}
<span class="text_center_top">
{$multipage}
</span>
<span class="text-right" >
{$ratethread}{$newreply}
</span>
<br class="clear"/>
<div class="panel" style="margin: 0">
<div class="thead">
<div class="dropdown float_right hidden-xs">
<a href="javascript:;" id="thread_mode"><span class="white">{$lang->thread_modes}</span></a>{$threadnoteslink}
</div>
<div class="panel-title">
<span class="white">{$thread['threadprefix']}{$thread['subject']}</span></div>
</div>
<table class="table table-responsive"> <tbody>
<tr><td id="posts_container">
<div id="posts">
{$first_post}{$posts}
</div>
</td></tr>
<tr>
<td class="tfoot input-group" width="100%" style="border-radius: 3px;">
<a href="{$next_oldest_link}"><button class="btn btn-styles"><i class="fa fa-arrow-circle-left"></i></span></button></a>
<span class="float_right">
<a href="{$next_newest_link}"><button class="btn btn-styles"><i class="fa fa-arrow-circle-right"></i></button></a>
</span>
</td>
</tr>
</tbody></table>
</div><br />
<span class="text_center_top">
{$multipage}
</span>
<span class="text-right" style="padding-top: 5px;">
{$newreply} </span>
{$quickreply}
{$threadexbox}
{$similarthreads}<br class="clear" />
<div class="thread-left">
<ul class="thread_tools">
<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
{$sendthread}
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
{$addpoll}
</ul>
</div>
<!--<div class="search_mod visible-xs" data-toggle="collapse" data-target="#options_mod_thead"><input style="margin: 10px 0px;" class="btn btn-warning" value="Options" type="submit"></div>-->
<div class="mod_options options-collapse" id="options_mod_thead" style="text-align: right;"><!-- add class="collapse" -->
{$moderationoptions}
{$search_thread}
{$forumjump}
</div>
<br class="clear" />
{$usersbrowsing}
{$footer}
<div id="thread_mode_popup" class="dropdown-menu" style="display: none;"><li><a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</li><li><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}" >{$lang->threaded}</a></li></div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
$("#thread_mode").popupMenu();
}
// -->
</script>
<div id="thread_modes_popup" class="dropdown-menu" style="display: none;"><li><a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</li><li><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}" >{$lang->threaded}</a></li></div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
$("#thread_modes").popupMenu();
}
// -->
</script>
<script type="text/javascript">
$(".author_avatar img").error(function () {
$(this).unbind("error").closest('.author_avatar').remove();
});
</script>
</body>
</html>
Last edited: