Jump to content
Fórum Script Brasil
  • 0
Sign in to follow this  
Mateustg

Mural De Recados

Question

Olá galera!

Estou precisando da ajuda de vocês em relação a um código de administração de um mural de recados. Eu baixei este código e modifiquei ele, até ai tudo beleza, tudo ficou funcionando (evitar palavrões, etc), mas só o admin que não. Já olhei o bd e a senha e login estão corretos. Toda vez que entro no admin e digito os dados ele sempre aparece o seguinte dizer:

Sorry, you are not authorised to view the material in this part of the web site.

If you try again make sure you have session cookies enabled on your machine.

No bd há um campo chamado "cookie", eu deixei ele marcado e não funcionou, tentei desmarcar e deu na mesma.

Vou postar aqui os dados do admin, se alguém poder me ajudar vou agradecer muito mesmo, caso queiram posso enviar o código todo para ser melhor analisado.

Admin.htm

<html>

<head>

<title>Guestbook Admin Login</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

<body bgcolor="#FFFFFF" text="#000000">

<table width="518" border="0" cellspacing="0" cellpadding="0" align="center">

  <tr>

    <td align="center">

      <h1>Guestbook Admin Login</h1>

    </td>

  </tr>

</table>

<br>

<table width="347" border="0" cellspacing="0" cellpadding="1" align="center">

  <tr>

    <td align="center">Enter your username and password (case sensitive)</td>

  </tr>

</table>

<br>

<form name="Login" method="post" action="check_user.asp">

  <table width="273" border="0" cellspacing="0" cellpadding="1" bgcolor="#000000" align="center">

    <tr>

      <td>

        <table width="273" border="0" align="center" cellspacing="0" cellpadding="0" bgcolor="#CCCCCC">

          <tr>

            <td align="right" height="46" valign="bottom" width="94">User name:

            </td>

            <td height="46" valign="bottom" width="172">

              <input type="text" name="txtUserName">

            </td>

          </tr>

          <tr>

            <td align="right" width="94">Password: </td>

            <td width="172">

              <input type="password" name="txtUserPass">

            </td>

          </tr>

          <tr>

            <td align="right" height="44" width="94">&nbsp;</td>

            <td height="44" width="172"> &nbsp;

              <input type="submit" name="Submit" value="Enter">

              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

              <input type="reset" name="Submit2" value="Reset">

            </td>

          </tr>

        </table>

      </td>

    </tr>

  </table>

  </form>

<br>

<center>

  Session Cookies must be enabled on your web browser<br>

  <br>

</center>

</body>

</html>

admin_menu.asp

<!--#include file="common.asp" -->

<%

'Reset Server Variables

Set rsCommon = Nothing

adoCon.Close

Set adoCon = Nothing

'If the session variable is False or does not exsist then redirect the user to the unauthorised user page

If Session("blnIsUserGood") = False or IsNull(Session("blnIsUserGood")) = True then

'Redirect to unathorised user page

Response.Redirect"unauthorised_user_page.htm"

End If

%>

<html>

<head>

<title>Guestbook Admin Menu</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<!-- The Web Wiz Guestbook v. <% = strVersion %> is written by Bruce Corkhill ©2001-2003

      If you want your Guestbook then goto http://www.webwizguide.info -->

</head>

<body bgcolor="#FFFFFF" text="#000000">

<h1 align="center">Guestbook Admin Menu</h1>

<table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr>

    <td align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">It is highly recommend for security reasons that you change the username

      and password.</font></td>

  </tr>

</table>

<br>

<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">

<tr>

  <td><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><a href="comments_admin.asp" target="_self">Amend or Delete Comments</a><br>

   Amend or remove any inappropriate comments from the Guestbook<br>

   <br>

   </font></td>

</tr>

<tr>

  <td><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><a href="change_admin_username.asp" target="_self">Change the Admin Username and Password</a><br>

   This is highly recommended for higher security<br>

   <br>

   </font></td>

</tr>

<tr>

  <td><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><a href="configure_guestbook.asp" target="_self">Configure the Guestbook</a><br>

   Configure the guestbook to look and feel like the rest of your site by changing graphics, colours, fonts, etc.<br>

   <br>

   </font></td>

</tr>

<tr>

  <td><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><a href="setup_email_notification.asp" target="_self">E-mail notification Setup</a><br>

   Set up the e-mail notification so you can be notified when someone posts a comment in your guestbook.<br>

   <br>

   </font></td>

</tr>

<tr>

  <td><a href="configure_bad_word_filter.asp" target="_self"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Configure the Bad Word Filter</font></a><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><br>

   Remove or add new swear words to the bad word filter</font>.<br>

   <br>

  </td>

</tr>

<tr>

  <td><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><a href="remove_link_buttons.asp">Remove Powered By Web Wiz Guide links</a><br>

   Remove the Powered by Web Wiz Guestbook links.</font> <br> </td>

</tr>

</table>

<div align="center"><br>

  <br>

<table width="700" border="0" cellspacing="0" cellpadding="1" bgcolor="#000000">

  <tr>

   <td width="986"> <table width="100%" border="0" cellspacing="0" cellpadding="4" bgcolor="#EFEFEF">

     <tr>

      <td align="center" height="186" width="100%"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">I have spent many 1000's of unpaid hours in development and support this and the other applications<br>

       available for free from Web Wiz Guide. </font>

       <p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">If you like using this application then please help support the development and update of <br>

        this and future applications from Web Wiz Guide.</font><br>

        <font face="Verdana, Arial, Helvetica, sans-serif" size="2"><br>

        <a href="http://www.webwizguide.info/purchase/default.asp" target="_blank">Click here to purchase Link Removal Key from Web Wiz Guide for this Application</a><br>

        <br>

        The <b>Web Wiz Guestbook application remains free</b> and you may still use it as much as you like both <br>

        privately and commercially, <b>the donation is only a request</b> to help me cover some of the costs involved.<br>

        <br>

        <b>For more info contact: -</b><br>

        <a href="mailto:[email protected]">[email protected]</a><br>

        Web Wiz Guide, PO Box 4982, Bournemouth, BH8 8XP, United Kingdom. </font></p></td>

     </tr>

    </table></td>

  </tr>

</table>

<br>

<font size="3" face="Verdana, Arial, Helvetica, sans-serif"><br>

<%

'***** START WARNING - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE LICENSE AGREEMENT ******

Response.Write("<span class=""text"" style=""font-size:10px"">Powered by <a href=""http://www.webwizguide.info"" target=""_blank"" style=""font-size:10px"">Web Wiz Guestbook</a> version " & strVersion & "</span>")

Response.Write("<br><span class=""text"" style=""font-size:10px"">Copyright ©2001-2003 Web Wiz Guide</span>")

'***** END WARNING - REMOVAL OR MODIFICATION OF THIS CODE WILL VIOLATE THE LICENSE AGREEMENT ******

%>

</font></div>

</body>

</html>

Página unauthorised_user_page.htm

<html>
<head>
<title>Unauthorised Access</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="copyright" content="Copyright © 2001-2003 Bruce Corkhill">

</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="518" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td align="center"> 
      <h1>Unauthorised Access</h1>
    </td>
  </tr>
</table>
<div align="center">
  <h3><br>
    <br>
    Sorry, you are not authorised to view the material in this part of the web 
    site.</h3>
  
 <p><br>
  If you try again make sure you have session cookies enabled on your machine.<br>
 </p>
  </div>
</body>
</html>

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Sorry, you are not authorised to view the material in this part of the web site.
If you try again make sure you have session cookies enabled on your machine.

Seu navegador não esta aceitando a manipulação de cookies por isso esta sendo exibida a mensagem de erro.

Reconfigure o mesmo para seu sistema funcionar perfeitamente.

Até +

Share this post


Link to post
Share on other sites
  • 0
Guest Guest

beleza urso, mas como eu faço essa reconfiguração? Eu não localizei.

Share this post


Link to post
Share on other sites
  • 0

beleza urso, mas como eu faço essa reconfiguração? Eu não localizei. Desculpe estar postando de novo, é q não percebi que o nick não tava logado

Share this post


Link to post
Share on other sites
  • 0
beleza urso, mas como eu faço essa reconfiguração? Eu não localizei. Desculpe estar postando de novo, é q não percebi que o nick não tava logado

I.E 5.0/5.5

Ferramentar / Opções da Internet

Guia segurança / Nivel Personalizado

> Opção Redefinir em Médio / Redefinir

Responder Sim para o alerta na tela

Ok.

I.E 6.0

Ferramentar / Opções da Internet

Guia Privacidade / Baixar o controle até o indicador

informar 'Aceitar todos os Cookies'

Ok.

Veja se pode lhe ajudar...

Abraços!!!

[urso]

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

Cloud Computing


  • Forum Statistics

    • Total Topics
      148428
    • Total Posts
      643856
×
×
  • Create New...