Jump to content


cobaia

Member Since 20/02/2004
Offline Last Active 06/08/2004, 23:13
-----

Topics I've Started

Erro De Codigo

07/07/2004, 21:23

Estou com uma dúvida aqui, vejam isto:Forum
Eu baixei este Forum da Web Wiz e esta dando este problema, não sei se eu tenho que editar alguma coisa porque não tenho muita experiencia nisso.
o ERRO como vcs podem ver no link é este:
Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'strTxtMemberlist'

/webcaxaum/forum/includes/navigation_buttons_inc.asp, line 71

e o código do navigation_buttons_inc.asp é
 <%
'****************************************************************************************
'**  Copyright Notice    
'**
'**  Web Wiz Guide - Web Wiz Forums
'**                                                              
'**  Copyright 2001-2004 Bruce Corkhill All Rights Reserved.                                
'**
'**  This program is free software; you can modify (at your own risk) any part of it 
'**  under the terms of the License that accompanies this software and use it both 
'**  privately and commercially.
'**
'**  All copyright notices must remain in tacked in the scripts and the 
'**  outputted HTML.
'**
'**  You may use parts of this program in your own private work, but you may NOT
'**  redistribute, repackage, or sell the whole or any part of this program even 
'**  if it is modified or reverse engineered in whole or in part without express 
'**  permission from the author.
'**
'**  You may not pass the whole or any part of this application off as your own work.
'**   
'**  All links to Web Wiz Guide and powered by logo's must remain unchanged and in place
'**  and must remain visible when the pages are viewed unless permission is first granted
'**  by the copyright holder.
'**
'**  This program is distributed in the hope that it will be useful,
'**  but WITHOUT ANY WARRANTY; without even the implied warranty of
'**  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR ANY OTHER 
'**  WARRANTIES WHETHER EXPRESSED OR IMPLIED.
'**
'**  You should have received a copy of the License along with this program; 
'**  if not, write to:- Web Wiz Guide, PO Box 4982, Bournemouth, BH8 8XP, United Kingdom.
'**    
'**
'**  No official support is available for this program but you may post support questions at: -
'**  http://www.webwizguide.info/forum
'**
'**  Support questions are NOT answered by e-mail ever!
'**
'**  For correspondence or non support questions contact: -
'**  info@webwizguide.info
'**
'**  or at: -
'**
'**  Web Wiz Guide, PO Box 4982, Bournemouth, BH8 8XP, United Kingdom
'**
'****************************************************************************************

%><table width="<% = strTableVariableWidth %>" border="0" cellspacing="0" cellpadding="4" align="center">
 <tr> 
  <td class="text">
   <% 
'If there is a forum image then dsiplay it
If NOT strTitleImage = "" Then
    Response.Write("<a href=""" & strWebsiteURL & """ target=""_self""><img src=""" & strTitleImage & """ border=""0""></a>")
End If
%>
  </td>
  <td align="center" height="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
     <td align="center"><%
'If the user is admin display a link to the admin memnu
If intGroupID = 1 Then Response.Write("<a href=""admin/frame_set.asp"" target=""_self"" class=""nav""><img src=""" & strImagePath & "admin_icon.gif"" align=""absmiddle"" border=""0"" alt=""" & strTxtAdmin & """>" & strTxtAdmin & "</a>")
     
'Make sure that the forum ID number has a number in it otherwise set it to 0
If isEmpty(intForumID) OR intForumID = "" Then intForumID = 0

	'Display the other common buttons
	Response.Write ("&nbsp;&nbsp;<a href=""active_topics.asp"" target=""_self"" class=""nav""><img src=""" & strImagePath & "active_topics.gif"" align=""absmiddle"" border=""0"" alt=""" & strTxtActiveTopics & """>" & strTxtActiveTopics & "</a>")
	Response.Write ("&nbsp;&nbsp;<a href=""members.asp"" target=""_self"" class=""nav""><img src=""" & strImagePath & "members_list.gif"" border=""0"" align=""absmiddle"" alt=""" & strTxtMembersList & """>" & strTxtMemberlist & "</a>")
	Response.Write ("&nbsp;&nbsp;<a href=""search_form.asp?FID=" & intForumID & """ target=""_self"" class=""nav""><img src=""" & strImagePath & "search.gif"" align=""absmiddle"" border=""0"" alt=""" & strTxtSearchTheForum & """>" & strTxtSearch & "</a>")
	Response.Write ("&nbsp;&nbsp;<a href=""help.asp"" target=""_self"" class=""nav""><img src=""" & strImagePath & "help_icon.gif"" align=""absmiddle"" border=""0"" alt=""" & strTxtHelp & """>" & strTxtHelp & "</a>")
     	 Response.Write ("<br />")
     	 
     	 %></td>
    </tr>
    <tr>
     <td align="center"><!-- #include file="pm_check_inc.asp" --><%
     
'If the user has logged in then the Logged In User ID number will not be 0 and not 2 for the guest account
If lngLoggedInUserID <> 0 AND lngLoggedInUserID <> 2 Then
	
	'Dispaly a welcome message to the user in the top bar
	Response.Write ("&nbsp;&nbsp;<a href=""member_control_panel.asp"" target=""_self"" class=""nav""><img src=""" & strImagePath & "admin_icon.gif"" border=""0"" align=""absmiddle"" alt=""" & strTxtMemberCPMenu & """>" & strTxtSettings & "</a>")
	Response.Write ("&nbsp;&nbsp;<a href=""log_off_user.asp"" target=""_self"" class=""nav""><img src=""" & strImagePath & "log_off_icon.gif"" alt=""" & strTxtLogOff & """ border=""0"" align=""absmiddle"">" & strTxtLogOff & " [" & strLoggedInUsername & "]</a>")
	

'Else the user is not logged
Else
   	 'Display a welcome guset message with the option to login or register
   	 Response.Write ("&nbsp;&nbsp;<a href=""registration_rules.asp?FID=" & intForumID & """ target=""_self"" class=""nav""><img src=""" & strImagePath & "register_icon.gif"" alt=""" & strTxtRegister & """ border=""0"" align=""absmiddle"">" & strTxtRegister & "</a>")
   	 Response.Write ("&nbsp;&nbsp;<a href=""login_user.asp?FID=" & intForumID & """ target=""_self"" class=""nav""><img src=""" & strImagePath & "login_icon.gif"" alt=""" & strTxtLogin & """ border=""0"" align=""absmiddle"">" & strTxtLogin & "</a>")
End If

%></td>
    </tr>
   </table>
  </td>
 </tr>
</table>
vcs poderiam ver para mim oque esta dando de erro?
acho que é um erro simples e tenho que editar algum codigo..mais nao sei por onde comecar

Filme

28/05/2004, 10:25

Tipo fiz uma animaçao (é paia porque estou comecando agora e ainda nao tenho muita experiencia e nao caprichei muito no comeco nem no fim porque é meio trabalhoso), mais gostaria de por o Preloader e o botao de Play no comeco e replay no final...Como faco?????

Aqui esta o filme, paia mais legal (y)

espero que alquem possa me ajudar.....t+

Iis

18/05/2004, 21:06

Já tentei de tudo,estou quase consequindo.
O meu problema é o sequinte:
Meu IIS esta instalado.
Eu só quero saber como visualizar minhas paginas atraves dele,
eu sei que tenho que entrar nele,Clicar com o botão direito em "Site da Web Padrão" e inserir novo diretorio virtual até ai tudo bem.
eu ponho em alias o que????,
eu coloquei "site"
no diretorio, eu coloquei: "C:\Sistemadenoticias"
em permitir, marquei as 2 primeiras caixinhas.
Pronto e dai???
eu sei que tenho q fazer uma coisa +/- assim ir no meu computador e escrever localhost\C:\Sistemadenoticias\nomedoarquivo.asp e ele vai aparecer.
Ja tentei isso e não consigo,tentei assim localhost\Sistemadenoticias\nomedoarquivo.asp nao deu,alquem oode me ajudar,
tenho pouca pratica em asp.
Uso Windows XP e,ah, como que faço isto atravez do Macromedia Dreamweaver MX para eu nao precisar fazer oque eu fiz acima??

Obrigado, nao quendo mais :shit: e nao consequir.. estou :matrix: contra o pc

Validar Formulario

27/03/2004, 18:54

Nao sei se precisa estar no servido de teste para dar certo mais gostaria que avaliassem isso e me falassem o que posso corrigir:
Esta é a parte de validar:
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' Precisa de um endereco de e-mail valido.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' Precisa ser um valor numerico.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' precisa ser um valor entre '+min+' e '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' Voce deve preencher todos os campos.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}
//-->
</script>
Aqui esta o formulario:
<form action="enviar_detonado.mdb" method="post" name="formulario" id="formulario" onSubmit="MM_validateForm('nome','','R');MM_validateForm('estado','','R');MM_validateForm('titulo','','R');MM_validateForm('textarea','','R');return document.MM_returnValue">
          <p>Nome : 
            <input name="nome" type="text" id="nome">
            <br>
            Estado: 
            <input name="estado" type="text" id="estado" size="5" maxlength="2">
            <br>
            Sexo: 
            <input name="sexo" type="radio" value="masculino" checked>
            Masculino 
            <input type="radio" name="sexo" value="feminino">
            Feminino </p>
          <p>T&iacute;tulo: 
            <input name="titulo" type="text" id="titulo">
            <br>
            Detonado:<br>
            <textarea name="detonado" cols="50" rows="10" wrap="PHYSICAL" id="textarea"></textarea>
          </p>
          <p> 
            <input name="enviar" type="submit" id="enviar" value="Enviar">
            <input name="limpar" type="reset" id="limpar" value="Limpar formulario">
            <br>
          </p>
        </form>

Quero saber como conectar com o banco de dados,se esta tudo ok,se esta faltando alq coisa e etc...obrigado

Duvidas Sobre Conf. Para Asp

27/03/2004, 18:21

Alq me modia dizer como configurar o sevidor ISS no windows Xp? :(
Qual é o melhor windows a utilizar,o windows 2000 server?? <_<
Oque é o Visual Basic Script?
Como conf. o template para que quando o monitor for 17" ou mais nao comece a repitir de novo?E quando for aumentando tbm!(essa acho q nao seria aqui o lugar ideao)
Essas são minhas principais duvidas,mexia com HTML mais este é o basico por isso vim para o asp.Pesso por favor para que me ajudem,Obrigado!

IPB Skin By Virteq