Advertisement:

Author Topic: Unable to load the \'replies\' template.  (Read 3860 times)

Offline bitmovel

  • Semi-Newbie
  • *
  • Posts: 88
Unable to load the \'replies\' template.
« on: October 13, 2008, 04:18:04 PM »
hi

I keep getting this errors:

Unable to load the 'replies' template.
Unable to load the 'unread' template.

those were supposed to show in:

/index.php?action=unreadreplies
/index.php?action=unread


what is going on?

best regards in advance ;)

Offline Nathaniel

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,117
  • Gender: Male
    • Verbtest.com
Re: Unable to load the 'replies' template.
« Reply #1 on: October 14, 2008, 01:23:40 AM »
I'll need a bit more information to help you. ;)

Do you have any related mods installed?
Which pages are these errors occuring on?
Do you have any related errors in your Forum Error Log?
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

Offline bitmovel

  • Semi-Newbie
  • *
  • Posts: 88
Re: Unable to load the 'replies' template.
« Reply #2 on: October 14, 2008, 05:29:23 AM »
thank you for your reply

here is my mod list:

1.     Advanced AJAX Shoutbox      1.21       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    Reg Bar    1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
3.    Load Standard Language    1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
5.    Custom Action Mod    3.0    [ Uninstall ] [ List Files ] [ Delete ]
6.    PortaMx v0.94.7    0.947    [ Uninstall ] [ List Files ] [ Delete ]
7.    Hide SMF Version    1.0.3a    [ Uninstall ] [ List Files ] [ Delete ]

I have also made some custom modifications. Nothing special I suppose.

Where should those templates be stored?


It occurs everytimes I open this links:

/index.php?action=unreadreplies
/index.php?action=unread

Best Regards
















EDIT: for some reason i am unable to post, so I edited this post.
yes. I am using a custom theme. Its energy theme.

moving to default theme, same error appears.

here is my recent.template.php

I think it is unmodified 2.0b4 version

[code]<?php
// Version: 2.0 Beta 4; Register

// Before registering - get their information.
function template_before()
{
   global $context, $settings, $options, $scripturl, $txt, $modSettings;

   // Make sure they've agreed to the terms and conditions.
   echo '
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/scripts/register.js"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
// CANALMAIL - Carrega Provincia

function CargaProvincias()
  {
    var i=0;
    var longitud;
    var o= new Array;
    var indice=0;
    indice= (document.creator.pais.selectedIndex);
    value_pais = document.creator.pais.options[indice].value;

    document.creator.provincia.length=1;

    longitud = (document.creator.provincia.length);
      for (j=0; j<longitud; j++)
        {
          o[j]=new Option(\'\',\'\');
          document.creator.provincia.options[j]=o[j];
        }     

   
    //CASO DE ESPAÑA
    if (value_pais == \'ESP\')
     {
      o[i++]=new Option(\'[Elige una provincia]\',\'\');
     o[i++]=new Option(\'-------------------------------\',\'\');
      o[i++]=new Option(\'Madrid\', \'M\');     
      o[i++]=new Option(\'Barcelona\', \'B\');
      o[i++]=new Option(\'Álava\', \'VI\');
      o[i++]=new Option(\'Albacete\', \'AB\');
      o[i++]=new Option(\'Alicante\', \'A\');
      o[i++]=new Option(\'Almeria\', \'AL\');
      o[i++]=new Option(\'Asturias\', \'O\');
      o[i++]=new Option(\'Avila\', \'AV\');
      o[i++]=new Option(\'Badajoz\', \'BA\');
      o[i++]=new Option(\'Baleares\', \'IB\');
      o[i++]=new Option(\'Burgos\', \'BU\');
      o[i++]=new Option(\'Caceres\', \'CC\');
      o[i++]=new Option(\'Cádiz\', \'CA\');
      o[i++]=new Option(\'Cantabria\', \'S\');
      o[i++]=new Option(\'Castellón\', \'CS\');
      o[i++]=new Option(\'Ceuta\', \'CE\');
      o[i++]=new Option(\'Ciudad Real\', \'CR\');
      o[i++]=new Option(\'Córdoba\', \'CO\');
      o[i++]=new Option(\'Cuenca\', \'CU\');
      o[i++]=new Option(\'Girona\', \'GI\');
      o[i++]=new Option(\'Granada\', \'GR\');
      o[i++]=new Option(\'Guadalajara\', \'GU\');
      o[i++]=new Option(\'Guipúzcua\', \'SS\');
      o[i++]=new Option(\'Huelva\', \'H\');
      o[i++]=new Option(\'Huesca\', \'HU\');
      o[i++]=new Option(\'Jaen\', \'J\');
      o[i++]=new Option(\'Coruña\', \'C\');
      o[i++]=new Option(\'La Rioja\', \'LO\');
      o[i++]=new Option(\'Las Palmas\', \'GC\');
      o[i++]=new Option(\'Leon\', \'LE\');
      o[i++]=new Option(\'Lleida\', \'L\');
      o[i++]=new Option(\'Lugo\', \'LU\');
      o[i++]=new Option(\'Málaga\', \'MA\');
      o[i++]=new Option(\'Melilla\', \'ME\');
      o[i++]=new Option(\'Murcia\', \'MU\');     
      o[i++]=new Option(\'Navarra\', \'NA\');
      o[i++]=new Option(\'Ourense\', \'OU\');
      o[i++]=new Option(\'Palencia\', \'P\');
      o[i++]=new Option(\'Pontevedra\', \'PO\');
      o[i++]=new Option(\'Salamanca\', \'SA\');
      o[i++]=new Option(\'Tenerife\', \'TF\');
      o[i++]=new Option(\'Segovia\', \'SG\');
      o[i++]=new Option(\'Sevilla\', \'SE\');     
      o[i++]=new Option(\'Soria\', \'SO\');
      o[i++]=new Option(\'Tarragona\', \'T\');
      o[i++]=new Option(\'Teruel\', \'TE\');
      o[i++]=new Option(\'Toledo\', \'TO\');
      o[i++]=new Option(\'Valencia\', \'V\');
      o[i++]=new Option(\'Valladolid\', \'VA\');
      o[i++]=new Option(\'Vizcaya\', \'BI\');
      o[i++]=new Option(\'Zamora\', \'ZA\');
      o[i++]=new Option(\'Zaragoza\', \'Z\');
     
     longitud = (o.length);
     for (j=0; j<longitud; j++)
       {
       document.creator.provincia.options[j]=o[j];
       }     
     
    }
    // *********************************************************************************************
    //CASO DE PORTUGAL
    else if (value_pais == \'POR\')
     {
      o[i++]=new Option(\'[Escolhe um Distrito]\',\'\');
     o[i++]=new Option(\'-------------------------------\',\'\');
     o[i++]=new Option(\'Angra do Heroismo\', \'AH\');     
      o[i++]=new Option(\'Aveiro\', \'AVE\');
      o[i++]=new Option(\'Beja\', \'BE\');
      o[i++]=new Option(\'Braga\', \'BRG\');
      o[i++]=new Option(\'Bragança\', \'BG\');
      o[i++]=new Option(\'Castelo Branco\', \'CBR\');
      o[i++]=new Option(\'Coimbra\', \'COI\');
      o[i++]=new Option(\'Évora\', \'EV\');
      o[i++]=new Option(\'Faro\', \'F\');
      o[i++]=new Option(\'Funchal\', \'FU\');
      o[i++]=new Option(\'Guarda\', \'G\');
      o[i++]=new Option(\'Horta\', \'HO\');
      o[i++]=new Option(\'Leiria\', \'LI\');
      o[i++]=new Option(\'Lisboa\', \'LB\');
      o[i++]=new Option(\'Ponta Delgada\', \'PD\');
      o[i++]=new Option(\'Portalegre\', \'PT\');
      o[i++]=new Option(\'Porto\', \'PR\');
      o[i++]=new Option(\'Santarém\', \'STR\');
      o[i++]=new Option(\'Setúbal\', \'SB\');
      o[i++]=new Option(\'Viana do Castelo\', \'VC\');
      o[i++]=new Option(\'Vila Real\', \'VR\');
      o[i++]=new Option(\'Viseu\', \'VS\');
     
     longitud = (o.length);
     for (j=0; j<longitud; j++)
       {
       document.creator.provincia.options[j]=o[j];
       }     
     
    } // END PORTUGAL   
   
   
    // ****************************************************************************************++
    // CASO DE MEXICO
    else if (value_pais == \'MEX\')
     {
      o[i++]=new Option(\'[Elige una provincia]\',\'\');
     o[i++]=new Option(\'-------------------------------\',\'\');
      o[i++]=new Option(\'Aguas Calientes\', \'AH\');     
      o[i++]=new Option(\'Baja Calif S.\', \'BCS\');
      o[i++]=new Option(\'Baja Calif\', \'BC\');
      o[i++]=new Option(\'Campeche\', \'CAM\');
      o[i++]=new Option(\'Chiapas\', \'CH\');
      o[i++]=new Option(\'Chihuahua\', \'CHI\');
      o[i++]=new Option(\'Ciudad de Mex\', \'CM\');
      o[i++]=new Option(\'Coahuila\', \'COA\');
      o[i++]=new Option(\'Colima\', \'CL\');
      o[i++]=new Option(\'Durango\', \'DU\');
      o[i++]=new Option(\'Estado de Mex.\', \'EM\');
      o[i++]=new Option(\'Guanajuato\', \'GUJ\');
      o[i++]=new Option(\'Guerrero\', \'GUE\');
      o[i++]=new Option(\'Hidalgo\', \'HI\');
      o[i++]=new Option(\'Sinaloa\', \'SI\');
      o[i++]=new Option(\'Sonora\', \'SON\');
      o[i++]=new Option(\'Tabasco\', \'TB\');
      o[i++]=new Option(\'Tamaulipas\', \'TM\');
      o[i++]=new Option(\'Tlaxcala\', \'TL\');
      o[i++]=new Option(\'Veracruz\', \'VC\');
      o[i++]=new Option(\'Yucatan\', \'YU\');
      o[i++]=new Option(\'Zacatecas\', \'ZAC\');
      o[i++]=new Option(\'Jalisco\', \'JA\');
      o[i++]=new Option(\'Michon\', \'MI\');
      o[i++]=new Option(\'Morelos\', \'MO\');
      o[i++]=new Option(\'Nayarit\', \'NY\');
      o[i++]=new Option(\'Nuevo Len\', \'NL\');
      o[i++]=new Option(\'Oxaca\', \'OX\');
      o[i++]=new Option(\'Puebla\', \'PU\');
      o[i++]=new Option(\'Quertaro\', \'QA\');
      o[i++]=new Option(\'Quintana Roo\', \'QR\');
      o[i++]=new Option(\'Sn Luis P.\', \'SP\');
     
     longitud = (o.length);
     for (j=0; j<longitud; j++)
       {
       document.creator.provincia.options[j]=o[j];
       }     
     } // END MEXICO
   
    //************************************************************************************************
   
   
    // ****************************************************************************************++
    // CASO DE ARGENTINA
    else if (value_pais == \'ARG\')
     {
      o[i++]=new Option(\'[Elige una provincia]\',\'\');
     o[i++]=new Option(\'-------------------------------\',\'\');    
      o[i++]=new Option(\'Charo\', \'CHA\');     
      o[i++]=new Option(\'Chubut\', \'CB\');
      o[i++]=new Option(\'C.Buenos Aires\',\'CBA\');
      o[i++]=new Option(\'Cordoba\', \'COR\');
      o[i++]=new Option(\'Corrientes\', \'CRR\');
      o[i++]=new Option(\'Entre Ros\', \'ER\');
      o[i++]=new Option(\'Jujuy\', \'JJ\');
      o[i++]=new Option(\'La Pampa\',\'LP\');
      o[i++]=new Option(\'La Rioja\',\'LR\');
      o[i++]=new Option(\'Mendoza\',\'MZ\');
      o[i++]=new Option(\'Misiones\',\'MS\');
      o[i++]=new Option(\'Neuqun\', \'NQ\');
      o[i++]=new Option(\'Rio Negro\', \'RN\');
      o[i++]=new Option(\'Salta\', \'ST\');
      o[i++]=new Option(\'San Juan\', \'SJ\');
      o[i++]=new Option(\'San Luis\', \'SL\');
      o[i++]=new Option(\'Santa Cruz\', \'SC\');
      o[i++]=new Option(\'Santa Fe\', \'SF\');
      o[i++]=new Option(\'Santiago\', \'SAN\');
      o[i++]=new Option(\'Tierra de F.\', \'TFU\');
      o[i++]=new Option(\'Tucumn\', \'TU\');


     longitud = (o.length);
     for (j=0; j<longitud; j++)
       {
       document.creator.provincia.options[j]=o[j];
       }     
     } // END ARGENTINA
   // CASO DE BRASIL
    else if (value_pais == \'BRA\')
     {
      o[i++]=new Option(\'[Escolhe um Estado]\',\'\');
     o[i++]=new Option(\'-------------------------------\',\'\');
     o[i++]=new Option(\'Acre\', \'ACR\');     
      o[i++]=new Option(\'Alagoas\', \'ALA\');
      o[i++]=new Option(\'Amapa\',\'AMA\');
      o[i++]=new Option(\'Amazonas\', \'AZ\');
      o[i++]=new Option(\'Ceara\', \'CEA\');
      o[i++]=new Option(\'Bahia\', \'BH\');
      o[i++]=new Option(\'Distrito Federal\', \'DF\');
      o[i++]=new Option(\'Espiritu Santo\',\'ES\');
      o[i++]=new Option(\'Golas\',\'GL\');
      o[i++]=new Option(\'Mato Grosso\',\'MG\');
      o[i++]=new Option(\'Mato G.Do Sul\',\'MGS\');
      o[i++]=new Option(\'Minas Gerais\', \'MN\');
      o[i++]=new Option(\'Para\', \'PAA\');
      o[i++]=new Option(\'Paraiba\', \'PRB\');
      o[i++]=new Option(\'Parana\', \'PRN\');
      o[i++]=new Option(\'Pernambuco\', \'PEA\');
      o[i++]=new Option(\'Piaui\', \'PI\');
      o[i++]=new Option(\'Rio de Janeiro\', \'RJ\');
      o[i++]=new Option(\'Rio Grande N.\', \'RG\');
      o[i++]=new Option(\'Rio Grande S.\', \'RGS\');
      o[i++]=new Option(\'Rondonia\', \'RO\');
      o[i++]=new Option(\'Roraima\', \'ROR\');
      o[i++]=new Option(\'Santa Cat.\', \'STC\');
      o[i++]=new Option(\'Sao Paulo\', \'SPA\');
      o[i++]=new Option(\'Sergipe\', \'SER\');
      o[i++]=new Option(\'Tocatins\', \'TOC\');

     longitud = (o.length);
     for (j=0; j<longitud; j++)
       {
       document.creator.provincia.options[j]=o[j];
       }     
     } // END Brasil
    else if (value_pais == \'\') //PAIS VAZIO
     {
       for (j=0; j<1; j++)
         {
           o[j]=  new Option(\'[Escolhe um País]             \',\'\');
           document.creator.provincia.options[j]=o[j];
         }     
     }
    else   // EL RESTO DE PAISES
     {
       for (j=0; j<1; j++)
         {
           o[j]=  new Option(\'-------------------------------\',\'ZZZ\');
           document.creator.provincia.options[j]=o[j];
         }     
     }
  }

// CANALMAIL FIM

   function verifyAgree()
   {
      if (currentAuthMethod == \'passwd\' && document.forms.creator.smf_autov_pwmain.value != document.forms.creator.smf_autov_pwverify.value)
      {
         alert("', $txt['register_passwords_differ_js'], '");
         return false;
      }

      //CANALMAIL - Verifica Campos
      
      if ((document.forms.creator.sexo[0].checked == false ) &&  (document.forms.creator.sexo[1].checked == false ) )
          {
           alert ("Selecciona o teu Sexo.");
         return false;
         }
        if (document.forms.creator.fec_ncto.value == "" )
           {
            alert ("Introduz o teu ano de nascimento");
            document.forms.creator.fec_ncto.focus();
         return false;
          }
        if (document.forms.creator.pais.value == "")
         {
         alert ("Introduz o teu país.");
         document.forms.creator.pais.focus();
         return false;
             }       
        if (document.forms.creator.provincia.value == "")
           {
           alert ("Introduz o teu Distrito/Provincia/Estado");
           document.forms.creator.provincia.focus();
         return false;
           }
       if (document.forms.creator.ocupacion.value == "" )
           {
           alert ("Introduz a tua Ocupação.");
           document.forms.creator.ocupacion.focus();
         return false;
           }
        if ( document.forms.creator.sector.value == "")
           {
            alert ("Introduz o teu sector");
           document.forms.creator.sector.focus();
         return false;
          }

      // Comprova a marcação de uma lista
 
       if (document.forms.creator.listas1.checked==false && document.forms.creator.listas2.checked==false && document.forms.creator.listas3.checked==false && document.forms.creator.listas4.checked==false && document.forms.creator.listas5.checked==false && document.forms.creator.listas6.checked==false && document.forms.creator.listas7.checked==false && document.forms.creator.listas8.checked==false
       && document.forms.creator.listas9.checked==false && document.forms.creator.listas10.checked==false && document.forms.creator.listas11.checked==false && document.forms.creator.listas12.checked==false && document.forms.creator.listas13.checked==false && document.forms.creator.listas14.checked==false && document.forms.creator.listas15.checked==false && document.forms.creator.listas16.checked==false)
        {
        alert("Deves marcar pelo menos uma Área de Interesse.");
              return false;
        }
      
// CANALMAIL - FIM Verifica Campos
';

   // If they haven't checked the "I agree" box, tell them and don't submit.
   if ($context['require_agreement'])
      echo '

      if (!document.forms.creator.regagree.checked)
      {
         alert("', $txt['register_agree'], '");
         return false;
      }';

   // Otherwise, let it through.
   echo '

      return true;
   }

   var currentAuthMethod = \'passwd\';
   function updateAuthMethod()
   {
      // What authentication method is being used?
      if (!document.getElementById(\'auth_openid\') || !document.getElementById(\'auth_openid\').checked)
         currentAuthMethod = \'passwd\';
      else
         currentAuthMethod = \'openid\';

      // No openID?
      if (!document.getElementById(\'auth_openid\'))
         return true;

      document.forms.creator.openid_url.disabled = currentAuthMethod == \'openid\' ? false : true;
      document.forms.creator.smf_autov_pwmain.disabled = currentAuthMethod == \'passwd\' ? false : true;
      document.forms.creator.smf_autov_pwverify.disabled = currentAuthMethod == \'passwd\' ? false : true;
      document.getElementById(\'smf_autov_pwmain_div\').style.display = currentAuthMethod == \'passwd\' ? \'\' : \'none\';
      document.getElementById(\'smf_autov_pwverify_div\').style.display = currentAuthMethod == \'passwd\' ? \'\' : \'none\';

      if (currentAuthMethod == \'passwd\')
      {
         verificationHandle.refreshMainPassword();
         verificationHandle.refreshVerifyPassword();
         document.forms.creator.openid_url.style.backgroundColor = \'\';
      }
      else
      {
         document.forms.creator.smf_autov_pwmain.style.backgroundColor = \'\';
         document.forms.creator.smf_autov_pwverify.style.backgroundColor = \'\';
         document.forms.creator.openid_url.style.backgroundColor = \'#FCE184\';
      }
   }';

   if ($context['require_agreement'])
      echo '
   function checkAgree()
   {
      document.forms.creator.regSubmit.disabled =  (currentAuthMethod == "passwd" && (isEmptyText(document.forms.creator.smf_autov_pwmain) || isEmptyText(document.forms.creator.user) || isEmptyText(document.forms.creator.email))) || (currentAuthMethod == "openid" && isEmptyText(document.forms.creator.openid_url)) || !document.forms.creator.regagree.checked;
      setTimeout("checkAgree();", 1000);
   }
   setTimeout("checkAgree();", 1000);';

   echo '
// ]]></script>';

   // Any errors?
   if (!empty($context['registration_errors']))
   {
      echo '
   <div class="windowbg" style="margin: 1ex; padding: 1ex 2ex; border: 1px dashed red; color: red;">
      <span style="text-decoration: underline;">', $txt['registration_errors_occurred'], '</span>
      <ul>';

      // Cycle through each error and display an error message.
      foreach ($context['registration_errors'] as $error)
            echo '
         <li>', $error, '</li>';

      echo '
      </ul>
   </div>';
   }

   echo '
<form action="', $scripturl, '?action=register2" method="post" accept-charset="', $context['character_set'], '" name="creator" id="creator" onsubmit="return verifyAgree();">
   <table border="0" width="100%" cellpadding="3" cellspacing="0" class="tborder">
      <tr class="titlebg">
         <td>', $txt['register'], ' - ', $txt['required_info'], '</td>
      </tr><tr class="windowbg">
         <td width="100%">
            <table cellpadding="3" cellspacing="0" border="0" width="100%">
               <tr>
                  <td width="40%">
                     <b>', $txt['choose_username'], ':</b>
                     <div class="smalltext">', $txt['identification_by_smf'], '</div>
                  </td>
                  <td>
                     <input type="text" name="user" id="smf_autov_username" size="30" tabindex="', $context['tabindex']++, '" maxlength="25" value="', isset($context['username']) ? $context['username'] : '', '" />
                     <span id="smf_autov_username_div" style="display: none;">
                        <a id="smf_autov_username_link" href="#">
                           <img id="smf_autov_username_img" src="', $settings['images_url'], '/icons/field_check.gif" alt="*" />
                        </a>
                     </span>
                  </td>
               </tr><tr>
                  <td width="40%">
                     <b>', $txt['email'], ':</b>
                     <div class="smalltext">', $txt['valid_email'], '</div>
                  </td>
                  <td>
                     <input type="text" name="email" id="smf_autov_reserve1" size="30" tabindex="', $context['tabindex']++, '" value="', isset($context['email']) ? $context['email'] : '', '" />
                     <label for="allow_email"><input type="checkbox" name="allow_email" id="allow_email" class="check" /> ', $txt['allow_user_email'], '</label>
                  </td>
               </tr>';

   // With openID disabled we put the password here.
   if (empty($modSettings['enableOpenID']))
      echo '
               <tr>
                  <td width="40%">
                     <b>', $txt['choose_pass'], ':</b>
                  </td>
                  <td>
                     <input type="password" name="passwrd1" id="smf_autov_pwmain" size="30" tabindex="', $context['tabindex']++, '" />
                     <span id="smf_autov_pwmain_div" style="display: none;">
                        <img id="smf_autov_pwmain_img" src="', $settings['images_url'], '/icons/field_invalid.gif" alt="*" />
                     </span>
                  </td>
               </tr><tr>
                  <td width="40%">
                     <b>', $txt['verify_pass'], ':</b>
                  </td>
                  <td>
                     <input type="password" name="passwrd2" id="smf_autov_pwverify" size="30" tabindex="', $context['tabindex']++, '" />

                      <!-- CANALMAIL - HTML -->
                            <tr>
                               <td class="row1" ><b>Sexo: </b></td>
                                 <td class="row2" >
                                 <input  style="BORDER: 0px; BACKGROUND: transparent;" type="radio" name="sexo" value="H" id="masc">
                              <font size="2"><label for="masc">Masculino</label></font>
                                   <input  style="BORDER: 0px; BACKGROUND: transparent;" type="radio" name="sexo" value="M" id="fem">
                              <font size="2"><label for="fem">Feminino</label></font>
                        </td>
                            </tr>

                            <tr>
                               <td class="row1"><b>Ano de Nascimento: </b></td>
                              <td class="row2">
                           <select name="fec_ncto">
                                 <option selected value="">[Selecciona]</option>
                                   <option value="01-01-2000">2000</option>
                                   <option value="01-01-1999">1999</option>
                              <option value="01-01-1998">1998</option>
                              <option value="01-01-1997">1997</option>
                              <option value="01-01-1996">1996</option>
                              <option value="01-01-1995">1995</option>
                              <option value="01-01-1994">1994</option>
                              <option value="01-01-1993">1993</option>
                              <option value="01-01-1992">1992</option>
                              <option value="01-01-1991">1991</option>
                              <option value="01-01-1990">1990</option>
                              <option value="01-01-1989">1989</option>
                              <option value="01-01-1988">1988</option>
                              <option value="01-01-1987">1987</option>
                              <option value="01-01-1986">1986</option>
                              <option value="01-01-1985">1985</option>
                              <option value="01-01-1984">1984</option>
                              <option value="01-01-1983">1983</option>
                              <option value="01-01-1982">1982</option>
                              <option value="01-01-1981">1981</option>
                              <option value="01-01-1980">1980</option>
                              <option value="01-01-1979">1979</option>
                              <option value="01-01-1978">1978</option>
                              <option value="01-01-1977">1977</option>
                              <option value="01-01-1976">1976</option>
                              <option value="01-01-1975">1975</option>
                              <option value="01-01-1974">1974</option>
                              <option value="01-01-1973">1973</option>
                              <option value="01-01-1972">1972</option>
                              <option value="01-01-1971">1971</option>
                              <option value="01-01-1970">1970</option>
                              <option value="01-01-1969">1969</option>
                              <option value="01-01-1968">1968</option>
                              <option value="01-01-1967">1967</option>
                              <option value="01-01-1966">1966</option>
                              <option value="01-01-1965">1965</option>
                              <option value="01-01-1964">1964</option>
                              <option value="01-01-1963">1963</option>
                              <option value="01-01-1962">1962</option>
                              <option value="01-01-1961">1961</option>
                              <option value="01-01-1960">1960</option>
                                 <option value="01-01-1959">1959</option>
                                 <option value="01-01-1958">1958</option>
                                 <option value="01-01-1957">1957</option>
                                 <option value="01-01-1956">1956</option>
                                 <option value="01-01-1955">1955</option>
                                 <option value="01-01-1954">1954</option>
                                 <option value="01-01-1953">1953</option>
                                 <option value="01-01-1952">1952</option>
                                 <option value="01-01-1951">1951</option>
                                <option value="01-01-1950">1950</option>
                                 <option value="01-01-1949">1949</option>
                                 <option value="01-01-1948">1948</option>
                                 <option value="01-01-1947">1947</option>
                                 <option value="01-01-1946">1946</option>
                                  <option value="01-01-1945">1945</option>
                                 <option value="01-01-1944">1944</option>
                                  <option value="01-01-1943">1943</option>
                                 <option value="01-01-1942">1942</option>
                                 <option value="01-01-1941">1941</option>
                                 <option value="01-01-1940">1940</option>
                           </select>
                        </td>
                     </tr>
                            <tr>
                               <td class="row1" ><b>Pa&iacute;s: </b></td>
                               <td class="row2" >
                           <select name="pais" onChange="CargaProvincias()">
                                 <option value="">[Escolhe um Pa&iacute;s]</option>
                                   <option value="">------------------</option>
                                 <option value="POR" selected>Portugal</option>
                                 <option value="">------------------</option>
                                 <option value="ESP">Espanha</option>
                                 <option value="MEX">M&eacute;xico</option>
                                 <option value="ARG">Argentina</option>
                                 <option value="CHL">Chile</option>
                                 <option value="PER">Per&uacute;</option>
                                 <option value="COL">Col&ocirc;mbia</option>
                                 <option value="VEN">Venezuela</option>
                                 <option value="">------------------</option>
                                 <option value="BOL">Bol&iacute;via</option>
                                 <option value="BRA">Brasil</option>
                                 <option value="CAB">C.Verde</option>
                                 <option value="CRI">Costa Rica</option>
                                 <option value="CUB">Cuba</option>
                                 <option value="ECU">Ecuador</option>
                                 <option value="ESA">El Salvador</option>
                                 <option value="FIL">Filipinas</option>
                                  <option value="GUA">Guatemala</option>
                                 <option value="HON">Honduras</option>
                                 <option value="NIC">Nicar&aacute;gua</option>
                                 <option value="PAN">Panam&aacute;</option>
                                 <option value="PAR">Paraguai</option>
                                 <option value="AND">Andorra</option>
                                 <option value="PUE">Puerto Rico</option>
                                 <option value="DOM">Rep.Dom.</option>
                                 <option value="USA">USA</option>
                                 <option value="URU">Uruguai</option>
                                 <option value="">------------------</option>
                                <option value="ZZZ">OUTROS</option>
                           </select>
                                </td>
                            </tr>                     
                            <tr>
                               <td class="row1" ><b>Distrito: </b></td>
                               <td class="row2" >
                           <select name="provincia">
                              <option selected value="">[Escolhe um Distrito]</option>
                                  <option value=´´>-------------------------------</option>
                              <option value="AH">Angra do Hero&iacute;smo</option>
                              <option value="AVE">Aveiro</option>
                              <option value="BE">Beja</option>
                              <option value="BRG">Braga</option>
                              <option value="BG">Bragan&ccedil;a</option>   
                              <option value="CBR">Castelo Branco</option>
                              <option value="COI">Coimbra</option>
                              <option value="EV">&Eacute;vora</option>
                              <option value="F">Faro</option>
                              <option value="FU">Funchal</option>
                              <option value="G">Guarda</option>
                              <option value="HO">Horta</option>
                              <option value="LI">Leiria</option>
                              <option value="LB">Lisboa</option>
                              <option value="PD">Ponta Delgada</option>
                              <option value="PT">Portalegre</option>
                              <option value="PR">Porto</option>
                              <option value="STR">Santar&eacute;m</option>
                              <option value="SB">Set&uacute;bal</option>
                              <option value="VC">Viana Do Castelo</option>
                              <option value="VR">Vila Real</option>
                              <option value="VS">Viseu</option>
                          </select>
                               </td>
                            </tr>   

                     <tr>
                              <td class="row1" ><b>Ocupac&atilde;o: </b></td>
                              <td class="row2" >
                        <select name="ocupacion">
                             <option selected value="">[Escolhe uma Ocupa&ccedil;&atilde;o]</option>
                             <option value="6">Estudante/Universit&aacute;rio</option>
                             <option value="1">Executivo/Empres&aacute;rio</option>
                             <option value="3">Empregado por conta de outrem</option>
                             <option value="5">Dona de Casa</option>
                             <option value="9">Licenciado/Mestrado/Douturado</option>
                             <option value="12">Aut&oacute;nomo/Profissional liberal</option>
                        </select>
                              </td>
                            </tr>
                     <tr >
                              <td class="row1" ><b>Sector: </b></td>
                              <td class="row2" >
                        <select  name="sector" >
                             <option value="" selected>[Escolhe um Sector]</option>
                             <option value="15">Publicidade/Comunica&ccedil;&otilde;es</option>   
                             <option value="2">Inform&aacute;tica (IS, MIS, DP)</option>
                             <option value="3">Inform&aacute;tica (Internet)</option>
                             <option value="4">Inform&aacute;tica (Desenv.de Software)</option>
                             <option value="5">Consultoria</option>
                             <option value="6">Educa&ccedil;&atilde;o</option>
                             <option value="7">Arquitectura/Constru&ccedil;&atilde;o</option>
                             <option value="7">Engenharia</option>
                             <option value="8">Governo/Ex&eacute;rcito</option>
                             <option value="9">Servi&ccedil;os Jur&iacute;dicos</option>
                             <option value="10">Produ&ccedil;&atilde;o/Fabrica&ccedil;&atilde;o</option>
                             <option value="11">Servi&ccedil;os M&eacute;dicos</option>
                             <option value="12">Investiga&ccedil;&atilde;o e Desenvolvimento</option>
                             <option value="13">Vendas/Com&eacute;rcio</option>
                            <option value="1">Contabilidade e Finan&ccedil;as</option>
                             <option value="14">Outros</option>
                           </select>
                              </td>
                            </tr>
                     <tr valign="top">
                        <td class="row1" ><b>Interesses: </b></td>
                       <td class="row2"> <div align="center"> Selecciona
                            os interesses para receberes as melhores promoções através da
                            <a href="http://www.canalmail.pt" target="_blank"><img src="http://a104.g.akamai.net/7/104/6603/cm01/promociones.canalmail.com/pruebas/canalmailpastilla.gif" align="texttop" border="0"></a>
                             </div> </td>
                        </tr>
                      <tr>
                         <td class="row1">&nbsp;  </td>
                         <td class="row2" >
                        <table style="FONT: 10px verdana;" width="476" border="0" cellpadding="0" cellspacing="0" >
                               <tr>
                                 <td height="22" width="119"> 
                                   <input name="listas1" type="checkbox" value="1" id="listas1" checked>
                                   <label for="listas1">Lazer</label></td>
                                 <td  width="119"> 
                                   <input type="checkbox" name="listas2" value="8" id="listas2" checked>
                                   <label for="listas2">Ofertas</label></td>
                                 <td  width="119"> 
                                   <input type="checkbox" name="listas3" value="30" id="listas3">
                                   <label for="listas3">Bancos</label></td>
                                 <td  width="119"> 
                                   <input type="checkbox" name="listas4" value="90" id="listas4">
                                   <label for="listas4">Emprego</label></td>
                              </tr>
                               <tr>
                                 <td height="22"  width="119"> 
                                   <input name="listas5" type="checkbox" value="41" id="listas5">
                                   <label for="listas5">Carros</label></td>
                                 <td width="119"> 
                                   <input type="checkbox" name="listas6" value="7" id="listas6">
                                   <label for="listas6">M&uacute;sica</label></td>
                                 <td width="119"> 
                                   <input type="checkbox" name="listas7" value="2418" id="listas7">
                                   <label for="listas7">Compras</label></td>
                                 <td width="119"> 
                                   <input type="checkbox" name="listas8" value="9" id="listas8">
                                   <label for="listas8">Desporto</label></td>
                              </tr>
                               <tr>
                                 <td height="22"  width="119"> 
                                   <input name="listas9" type="checkbox" value="13" id="listas9">
                                   <label for="listas9">Cursos</label></td>
                                 <td width="119"> 
                                   <input type="checkbox" name="listas10" value="690" id="listas10">
                                   <label for="listas10">Tudo para Ele</label></td>
                                 <td width="119"> 
                                   <input type="checkbox" name="listas11" value="11" id="listas11">
                                   <label for="listas11">Viagens</label></td>
                                 <td width="119"> 
                                   <input type="checkbox" name="listas12" value="1133" id="listas12" checked>
                                   <label for="listas12">Inform&aacute;tica</label></td>
                               </tr>
                               <tr >
                                 <td height="22"  width="119"> 
                                   <input type="checkbox" name="listas13" value="691" id="listas13">
                                   <label for="listas13">Crian&ccedil;as</label></td>
                                 <td width="119"> 
                                   <input type="checkbox" name="listas14" value="5" id="listas14">
                                   <label for="listas14">Sa&uacute;de</label></td>
                                 <td width="119"> 
                                   <input type="checkbox" name="listas15" value="25" id="listas15">
                                   <label for="listas15">Tudo para Ela</label></td>
                                 <td width="119"> 
                                   <input name="listas16" type="checkbox" value="2420" id="listas16">
                                   <label for="listas16">Not&iacute;cias</label></td>
                               </tr>
                          </table>
                     </td>
                   </tr>
               <!-- CANALMAIL -FIM -->

                     <span id="smf_autov_pwverify_div" style="display: none;">
                        <img id="smf_autov_pwverify_img" src="', $settings['images_url'], '/icons/field_valid.gif" alt="*" />
                     </span>
                  </td>
               </tr>';

   if ($context['visual_verification'])
   {
      echo '
               <tr valign="top">
                  <td width="40%" valign="top">
                     <b>', $txt['verification'], ':</b>
                  </td>
                  <td>', template_control_verification($context['visual_verification_id'], 'all'), '</td>
               </tr>';
   }

   // Are there age restrictions in place?
   if (!empty($modSettings['coppaAge']))
      echo '
               <tr>
                  <td colspan="2" align="center" style="padding-top: 1ex;">
                     <label for="skip_coppa"><input type="checkbox" name="skip_coppa" id="skip_coppa" tabindex="', $context['tabindex']++, '" ', !empty($context['skip_coppa']) ? 'checked="checked"' : '', ' class="check" /> <b>', $context['coppa_desc'], '.</b></label>
                  </td>
               </tr>';

      echo '
            </table>
         </td>
      </tr>';

   // If openID is enabled offer them the choice.
   if (!empty($modSettings['enableOpenID']))
      echo '
      <tr class="windowbg">
         <td colspan="2">
            <hr />
         </td>
      </tr>
      <tr class="windowbg" style="padding-left: 3px;">
         <td>
            <b>', $txt['authenticate_label'], ':</b>
         </td>
      </tr>
      <tr class="windowbg">
         <td width="100%">
            <table cellpadding="3" cellspacing="2" border="0" width="100%">
               <tr>
                  <td width="2%" align="center" class="windowbg2" rowspan="3">
                     <input type="radio" name="authenticate" value="passwd" id="auth_pass" ', empty($context['openid']) ? 'checked="checked" ' : '', ' onclick="updateAuthMethod();" />
                  </td>
                  <td colspan="2">
                     <label for="auth_pass"><b>', $txt['authenticate_password'], ':</b></label>
                  </td>
« Last Edit: October 14, 2008, 11:45:54 AM by bitmovel »

Offline Nathaniel

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,117
  • Gender: Male
    • Verbtest.com
Re: Unable to load the 'replies' template.
« Reply #3 on: October 14, 2008, 05:39:36 AM »
Those template functions should be stored in your '/Themes/{themename}/Recent.template.php' file, I should be able to identify any issue with it, if you can post it as an attachment.

Also, are you using a custom theme? If so, does swapping to the default theme fix this issue?
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

Offline bitmovel

  • Semi-Newbie
  • *
  • Posts: 88
Re: Unable to load the 'replies' template.
« Reply #4 on: October 14, 2008, 11:47:18 AM »
for some reason i am having problem creatng this new post. please check the edit o nmy previous post in this topic.

my firewall is not allowing to send big posts.

Offline Nathaniel

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,117
  • Gender: Male
    • Verbtest.com
Re: Unable to load the 'replies' template.
« Reply #5 on: October 14, 2008, 06:43:34 PM »
The code that you posted is cut off, and doesn't contain the template functions that you need. Your file may not have them, but I can't tell without the rest of the file. If you can't post it as an attachment, then can you upload it somewhere onto your website or another file storage location as a '.txt' file instead of a '.php' file, and then post a link to it?
SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

Offline bitmovel

  • Semi-Newbie
  • *
  • Posts: 88
Re: Unable to load the 'replies' template.
« Reply #6 on: October 15, 2008, 10:19:55 AM »
thank you for the reply

here it is

http://www.nsubs.com/Themes/default/Recent.template.php.txt



edit: here are the exact error message as shown in error log:

Quote
Apply Filter: Only show the error messages of this member  admc_antonio      Reverse chronological order of list  Today at 12:42:35
Apply Filter: Only show the error messages of this IP address 89.180.43.150      Apply Filter: Only show the error messages of this session df16b405f30de022239ddd87e75df044
     Apply Filter: Only show the errors of this type Type of error: Template
Apply Filter: Only show the error messages of this URL http://www.nsubs.com/index.php?action=unread;board=2.0;children
Apply Filter: Only show the errors with the same message
Não foi possivel abrir a template 'unread'.

Quote
Apply Filter: Only show the error messages of this member  cosmecar      Reverse chronological order of list  Today at 09:50:34
Apply Filter: Only show the error messages of this IP address 81.221.201.213      Apply Filter: Only show the error messages of this session ac205cf36f9a0e26a16fceca60dce7d3
     Apply Filter: Only show the errors of this type Type of error: Template
Apply Filter: Only show the error messages of this URL http://www.nsubs.com/index.php?action=unreadreplies
« Last Edit: October 15, 2008, 10:23:55 AM by bitmovel »

Offline bitmovel

  • Semi-Newbie
  • *
  • Posts: 88
Re: Unable to load the 'replies' template.
« Reply #7 on: October 15, 2008, 10:31:53 AM »
you were right. template was missing. i have replaced with original one and it is working now. best regards