MyBB Community Forums

Full Version: Can't Save Template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When trying to save my Index template, I get a web error saying "This webpage is not available". Even when I just try to save the template as is, without any changes, I get the error.

The website has been operational for years and is fine, so I don't think it would be a bug in the code...

I can save other templates just fine, so not sure why all of a sudden this specific one won't allow any changes...

Can anyone assist with debugging, or may have possibly experienced this issue before.

Thanks Smile

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>

<meta name="description" content="OzeSports is an online sports gaming community for Australian and New Zealand players.">
<meta name="keywords" content="ozesports, aussie, australia, oz, aus, new zealand, new, nz, zealand, sports, gaming, game, online, community, forum, ps3, ps4, playstation, xbox, xbox360, league, leagues, madden, 2k, fifa, 12, 13, 14, 15, 16, 17 2k13, 2k14, 2k15, 2k16, 2k17, watchdogs, GTA, V, grand, theft, auto, show, mlb, baseball, nhl, ice, hockey, ea, easports, ncaa, college, nfl, nba">
</head>
<body>
{$header}
<div class="sidebar" style="float: right;width: 24%;">


<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead2" style="text-align:center;font-family: 'PTSansNarrowRegular';font-size: 17px;"><a class="twitch_link" href="http://www.ozesports.net.au/misc.php?page=twitchtv" target="_blank">Twitch.tv Channels</a>
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.gif" id="3_id_img" class="expander" alt="[-]" title="[-]" /></div>
</td>
</tr>
<tbody style="{$collapsed['unique_id_e']}" id="3_id_e">

<tr>
<td class="twitch_row1">

<table id="twitch_channels_table" style="border: 1px solid black:">
 <tr class="odd">
     <td><b>applaps:</b></td>
     <td class="twitch_user"><a class="ltwitch" href="http://www.ozesports.net.au/misc.php?page=twitchtv" data-tnick="BigBadLebowski" target="_blank">BigBadLebowski</a> </td>
     <td class="channel_status"><span class="BigBadLebowski"><b>...</b></span></td>
</tr>
 <tr class="even">
     <td><b>archi:</b></td>
     <td class="twitch_user"><a class="ltwitch" href="http://www.ozesports.net.au/misc.php?page=twitchtv" data-tnick="prawnophilia" target="_blank">prawnophilia</a> </td>
     <td class="channel_status"><span class="prawnophilia"><b>...</b></span></td>
</tr>
<tr class="odd">
     <td><b>AusEagle:</b></td>
     <td class="twitch_user"><a class="ltwitch" href="http://www.ozesports.net.au/misc.php?page=AusEagle" data-tnick="AusEagle" target="_blank">AusEagle</a> </td>
     <td class="channel_status"><span class="AusEagle"><b>...</b></span></td>
</tr>
 <tr class="even">
     <td><b>Beyno:</b></td>
     <td class="twitch_user"><a class="ltwitch" href="http://www.ozesports.net.au/misc.php?page=twitchtv" data-tnick="beyno4" target="_blank">beyno4</a> </td>
     <td class="channel_status"><span class="beyno4"><b>...</b></span></td>
</tr>
 <tr class="odd">
     <td><b>Bixby:</b></td>
     <td class="twitch_user"><a class="ltwitch" href="http://www.ozesports.net.au/misc.php?page=twitchtv" data-tnick="Bixbynoir" target="_blank">Bixbynoir</a> </td>
     <td class="channel_status"><span class="Bixbynoir"><b>...</b></span></td>
</tr>
 <tr class="even">
     <td><b>Bretty:</b></td>
     <td class="twitch_user"><a class="ltwitch" href="http://www.ozesports.net.au/misc.php?page=twitchtv" data-tnick="BRE77W" target="_blank">BRE77W</a> </td>
     <td class="channel_status"><span class="BRE77W"><b>...</b></span></td>
</tr>
<tr class="odd">
     <td><b>Chadwiko:</b></td>
     <td class="twitch_user"><a class="ltwitch" href="http://www.ozesports.net.au/misc.php?page=twitchtv" data-tnick="Chadwiko" target="_blank">Chadwiko</a> </td>
     <td class="channel_status"><span class="Chadwiko"><b>...</b></span></td>
</tr>
<tr class="even">
     <td><b>dsd:</b></td>
     <td class="twitch_user"><a class="ltwitch" href="http://www.ozesports.net.au/misc.php?page=datsamoandude" data-tnick="datsamoandude" target="_blank">datsamoandude</a> </td>
     <td class="channel_status"><span class="datsamoandude"><b>...</b></span></td>
</tr>
<tr class="odd">
     <td><b>Jake:</b></td>
     <td class="twitch_user"><a class="ltwitch" href="http://www.ozesports.net.au/misc.php?page=twitchtv" data-tnick="fedorathexplora_" target="_blank">fedorathexplora_</a> </td>
     <td class="channel_status"><span class="fedorathexplora_"><b>...</b></span></td>
</tr>
<tr class="even">
     <td><b>Lukozade:</b></td>
     <td class="twitch_user"><a class="ltwitch" href="http://www.ozesports.net.au/misc.php?page=twitchtv" data-tnick="Lukozade23" target="_blank">Lukozade23</a> </td>
     <td class="channel_status"><span class="Lukozade23"><b>...</b></span></td>
</tr>
<tr class="odd">
     <td><b>Pedge:</b></td>
     <td class="twitch_user"><a class="ltwitch" href="http://www.ozesports.net.au/misc.php?page=twitchtv" data-tnick="PedgeTV" target="_blank">PedgeTV</a> </td>
     <td class="channel_status"><span class="PedgeTV"><b>...</b></span></td>
</tr>
<tr class="even">
     <td><b>pleavitt:</b></td>
     <td class="twitch_user"><a class="ltwitch" href="http://www.ozesports.net.au/misc.php?page=twitchtv" data-tnick="pleavitt7" target="_blank">pleavitt7</a> </td>
     <td class="channel_status"><span class="pleavitt7"><b>...</b></span></td>
</tr>
</table>
</td>
</tr>

</tbody>
</table><br />


<table border="0" cellspacing="{$theme['borderwidth']}"  cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead2" style="text-align:center;font-family: 'PTSansNarrowRegular';font-size: 17px;">NFL Twitter Feed
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.gif" id="1_id_img" class="expander" alt="[-]" title="[-]" /></div>
</td>
</tr>
<tbody style="{$collapsed['unique_id_e']}" id="1_id_e">
<tr>
<td class="trow1" align="center">

<style type="text/css">
#twitter-widget-0{width:210px;}
</style>
<a class="twitter-timeline" href="https://twitter.com/Oz_eSports/nfl-tweets-2" data-widget-id="342137299590594560" data-chrome="noheader nofooter">Tweets from @Oz_eSports/nfl-tweets-2</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>




</td>
</tr>
</tbody>
</table><br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead2" style="text-align:center;font-family: 'PTSansNarrowRegular';font-size: 17px;">Other Sports Tweets
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.gif" id="2_id_img" class="expander" alt="[-]" title="[-]" /></div>
</td>
</tr>
<tbody style="{$collapsed['unique_id_e']}" id="2_id_e">
<tr>
<td class="trow1">

<style type="text/css">
#twitter-widget-1{width:210px;}
</style>
<a class="twitter-timeline"  href="https://twitter.com/Oz_eSports/other-sports-tweets"  data-widget-id="342138070772088833" data-chrome="noheader nofooter">Tweets from @Oz_eSports/other-sports-tweets</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>


</td>
</tr>
</tbody>
</table><br />

</div>
<div class="forums" style="float: left;width: 75%;">
{$forums}
</div><br class="clear" />
{$boardstats}
<br style="clear: both" />
{$footer}
</body>
</html>
MyBB 1.6 is no longer supported. But in the future if you are looking for help it would be extremely beneficial to give people more information like what template it is, what are you trying to change, etc.

This webpage not available doesn't seem like a MyBB error though...I would look elsewhere.
looks like it is related to Mod_security. it would be better to contact your web host and ask to disable such additional security !
(12-16-2015, 01:34 AM)Jason L. Wrote: [ -> ]MyBB 1.6 is no longer supported. But in the future if you are looking for help it would be extremely beneficial to give people more information like what template it is, what are you trying to change, etc.

This webpage not available doesn't seem like a MyBB error though...I would look elsewhere.

Yeh the Index template, just called 'index' in the acp... also happens on the header include... What Im trying to change didn't really seem relevant as I mentioned it happens even if I just try to save the template straight after opening it.

Might be code related but seems strange as its all valid php and was saving correctly previously... If there is any debugging places I could like like error logs or watevs that may be useful, I just dont know where they are

(12-16-2015, 02:21 AM).m. Wrote: [ -> ]looks like it is related to Mod_security. it would be better to contact your web host and ask to disable such additional security !

mod_security already being disabled in htaccess, but had web host turn it off just to be sure... didn't fix the issue Sad

As a work around i just directly updated the mybb table for this template.. :/