Errors Output
  1. error compiling resultados.asp: Unrecognized character \xC3; marked by <-- HERE after COMUNICACI<-- HERE near column 354 at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 56. , /usr/local/share/perl/5.14.2/Apache/ASP.pm line 1466
Debug Output
  1. Semicolon seems to be missing at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 17.
  2. String found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 20, near """"""
  3. (Missing operator before ""?)
  4. Bareword found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 21, near ") tt"
  5. (Missing operator before tt?)
  6. Bareword found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 22, near ") tt"
  7. (Missing operator before tt?)
  8. String found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 24, near ") ' tt=replace(tt,"á","a") '" (Might be a runaway multi-line '' string starting on line 23)
  9. (Missing semicolon on previous line?)
  10. Bareword found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 24, near "' tt=replace(tt,"á","a") ' tt"
  11. (Missing operator before tt?)
  12. String found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 26, near ") ' tt=replace(tt,"í","i") '" (Might be a runaway multi-line '' string starting on line 25)
  13. (Missing semicolon on previous line?)
  14. Bareword found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 26, near "' tt=replace(tt,"í","i") ' tt"
  15. (Missing operator before tt?)
  16. String found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 28, near ") ' tt=replace(tt,"ú","u") '" (Might be a runaway multi-line '' string starting on line 27)
  17. (Missing semicolon on previous line?)
  18. Bareword found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 28, near "' tt=replace(tt,"ú","u") ' tt"
  19. (Missing operator before tt?)
  20. String found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 30, near ") ' tt=replace(tt,"É","e") '" (Might be a runaway multi-line '' string starting on line 29)
  21. (Missing semicolon on previous line?)
  22. Bareword found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 30, near "' tt=replace(tt,"É","e") ' tt"
  23. (Missing operator before tt?)
  24. String found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 32, near ") ' tt=replace(tt,"Ó","o") '" (Might be a runaway multi-line '' string starting on line 31)
  25. (Missing semicolon on previous line?)
  26. Bareword found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 32, near "' tt=replace(tt,"Ó","o") ' tt"
  27. (Missing operator before tt?)
  28. Semicolon seems to be missing at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 32.
  29. Semicolon seems to be missing at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 36.
  30. Semicolon seems to be missing at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 38.
  31. Backslash found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 40, near ""\") 'ruta2=ruta2 & "\" (Might be a runaway multi-line "" string starting on line 39)
  32. (Missing operator before \?)
  33. Backslash found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 41, near "" & ruta ruta2=ruta2 & "\" (Might be a runaway multi-line "" string starting on line 40)
  34. (Missing operator before \?)
  35. Backslash found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 41, near "biblioteca\"
  36. Bareword found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 53, near "ARQUITECTURA" (Might be a runaway multi-line "" string starting on line 41)
  37. (Missing operator before ARQUITECTURA?)
  38. String found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 56, near "ARQUITECTURA" end if if dep=2 then departamento="" (Might be a runaway multi-line "" string starting on line 53)
  39. Bareword found where operator expected at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 56, near "" end if if dep=2 then departamento="COMUNICACI"
  40. (Missing operator before COMUNICACI?)
  41. error compiling resultados.asp: Unrecognized character \xC3; marked by <-- HERE after COMUNICACI<-- HERE near column 354 at /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp line 56. , /usr/local/share/perl/5.14.2/Apache/ASP.pm line 1466
Compiled Data with Error 

  -: package Apache::ASP::Compiles::__ASP_w_beta_ucjc_edu_htdocs_biblioteca__x36a05dc8cab20b25c7ab1c93e23bd95d; ;; sub Apache::ASP::Compiles::__ASP_w_beta_ucjc_edu_htdocs_biblioteca__x36a05dc8cab20b25c7ab1c93e23bd95d::__ASP_du_htdocs_biblioteca_resultados_aspx0fb48f1a1ad17e87584f5437f6236b0fxINC {  ;; package Apache::ASP::Compiles::__ASP_w_beta_ucjc_edu_htdocs_biblioteca__x36a05dc8cab20b25c7ab1c93e23bd95d; ;; no strict;;use vars qw($Application $Session $Response $Server $Request);;
  -: #line 1 /var/www/www.beta.ucjc.edu/htdocs/biblioteca/resultados.asp
  1: ;;&Apache::ASP::WriteRef($main::Response, \('<html>
  2: <head>
  3: <title>INICIO BIBLIOTECA UCJC</title>
  4: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5: <link href="../css/estilos-hemeroteca.css" rel="stylesheet" type="text/css" />
  6: 
  7: <script language="JavaScript" >
  8: var winl = (screen.width - 300) / 2;
  9: var wint = (screen.height - 375) / 2;
 10: var windowprops= \'width=300,height=375,top=\'+wint+\',left=\'+winl+\',location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes\';
 11: function popup(pag) {
 12: 
 13: 	window.open(pag, "", windowprops);
 14: 
 15: }
 16: 	</script>
 17: '.( function limpia(t)
 18: dim tt
 19:   tt=t
 20:   tt=replace(tt,"""","")
 21:   tt=replace(tt,"'","")
 22:   tt=replace(tt,"--","")
 23: '  tt=replace(tt,"á","a")
 24: '  tt=replace(tt,"é","e")
 25: '  tt=replace(tt,"í","i")
 26: '  tt=replace(tt,"ó","o")
 27: '  tt=replace(tt,"ú","u")
 28: '  tt=replace(tt,"Á","a")
 29: '  tt=replace(tt,"É","e")
 30: '  tt=replace(tt,"Í","i")
 31: '  tt=replace(tt,"Ó","o")
 32: '  tt=replace(tt,"Ú","u")
 33: limpia=tt
 34: end function
 35: 
 36: function existeimagen(ruta)
 37: dim fs,ruta2
 38: set fs=Server.CreateObject("Scripting.FileSystemObject")
 39: ruta2=Server.Mappath("\")
 40: 'ruta2=ruta2 & "\" & ruta
 41: ruta2=ruta2 & "\biblioteca\" & ruta 'para el servidor
 42: 'response.write (ruta2)
 43: if fs.FileExists(ruta2)=true then
 44:   existeimagen=1
 45: else
 46:   existeimagen=0
 47: end if
 48: set fs=nothing
 49: end function
 50: 
 51: function departamento(dep)
 52: if dep=1 then
 53: departamento="ARQUITECTURA"
 54: end if
 55: if dep=2 then
 56: departamento="COMUNICACIÓN"
 57: end if
 58: if dep=3 then
 59: departamento="EDUCACIÓN"
 60: end if
 61: if dep=4 then
 62: departamento="INFORMÁTICA"
 63: end if
 64: if dep=5 then
 65: departamento="PSICOLOGÍA"
 66: end if
 67: if dep=6 then
 68: departamento="VARIOS"
 69: end if
 70: if dep=7 then
 71: departamento="CCAFD"
 72: end if
 73: if dep=8 then
 74: departamento="TURISMO"
 75: end if
 76: if dep=9 then
 77: departamento="DERECHO"
 78: end if
 79: if dep=10 then
 80: departamento="CRIMINOLOGÍA"
 81: end if
 82: if dep=11 then
 83: departamento="ENFERMERÍA"
 84: end if
 85: if dep=12 then
 86: departamento="FISIOTERAPIA"
 87: end if
 88: if dep=13 then
 89: departamento="ADE"
 90: end if
 91: if dep=12 then
 92: departamento="CC. TRANSPORTE"
 93: end if
 94: end function
 95: ).'
 96: </head>
 97: 
 98: <body text="#000000">
 99: 
100: <div id="container">
101:   <div id="mainContent" class="limpiar">
102:     <div id="main">
103:       <h1>Hemeroteca digital</h1>
104:       <!--########################################Cortar desde aqui contenidos ##################################################-->
105:       <!--#######################################################################################################################-->
106:       <!--#######################################################################################################################-->
107:       <div id="full">
108:         <p>Hemeroteca virtual de sumarios de revistas cient&iacute;ficas, todas ellas   disponibles en la colecci&oacute;n de publicaciones peri&oacute;dicas de la biblioteca. Su   objetivo es facilitar el acceso al contenido de dichos su</p>
109:         <p>marios. Sin necesidad   de trasladarse a la biblioteca, podremos localizar art&iacute;culos contenidos en las   revistas y saber en que n&uacute;mero concreto aparecen publicados. </p>
110: 
111:         <!--comienza modulo -->
112:         <div>
113: 
114: 
115: 
116: <table border="0" ALIGN="left">
117:   <tr>
118:     <td width="99%" colspan="3">
119: 	<b><font face="Verdana" size="2" color="#003366">RESULTADOS DE LA BUSQUEDA</font></b></td>
120:     
121:   </tr>
122:   <tr>
123:     <td width="99%" bgcolor="#003366" colspan="3">
124: 	<b><font face="Verdana" size="1" color="#FFFFFF"><a href="http://www.ucjc.edu/biblioteca/busquedas.htm">
125: 	<font color="#FFFFFF">VOLVER</font></a></font></b></td>
126: 
127:   </tr>
128:   <tr>
129:     <td width="99%" colspan="3">
130: 	&nbsp;</td>
131: 
132:   </tr>
133:   ')); dim con,rs,cont,id,tit,isn,ano,num,ruta,rs2,sql2
134: 
135: 
136:   id = Request.QueryString("id")
137:   if id <> "" then
138:   id=limpia(id)
139:   sql = "Select * from REVISTAS where titulo like '" & id  & "%' order by titulo"
140: 
141:   if id="NUM" then
142:   sql = "Select * from REVISTAS where titulo like '0%' or titulo like '1%' or titulo like '2%' or titulo like '3%' or titulo like '4%' or titulo like '5%' or titulo like '6%' or titulo like '7%' or titulo like '8%' or titulo like '9%' order by titulo"
143:   end if
144:   if id = "ARQ" then
145:   sql = "Select * from REVISTAS where iddept=1 order by titulo"
146:   end if
147:   if id = "COM" then
148:   sql = "Select * from REVISTAS where iddept=2 order by titulo"
149:   end if
150:   if id = "EDU" then
151:   sql = "Select * from REVISTAS where iddept=3 order by titulo"
152:   end if
153:   if id = "INF" then
154:   sql = "Select * from REVISTAS where iddept=4 order by titulo"
155:   end if
156:   if id = "PSI" then
157:   sql = "Select * from REVISTAS where iddept=5 order by titulo"
158:   end if
159:   if id = "VAR" then
160:   sql = "Select * from REVISTAS where iddept=6 order by titulo"
161:   end if
162:   if id = "CCA" then
163:   sql = "Select * from REVISTAS where iddept=7 order by titulo"
164:   end if
165:   if id = "TUR" then
166:   sql = "Select * from REVISTAS where iddept=8 order by titulo"
167:   end if
168:   if id = "DER" then
169:   sql = "Select * from REVISTAS where iddept=9 order by titulo"
170:   end if
171:   if id = "CRI" then
172:   sql = "Select * from REVISTAS where iddept=10 order by titulo"
173:   end if
174:   if id = "ENF" then
175:   sql = "Select * from REVISTAS where iddept=11 order by titulo"
176:   end if
177:   if id = "FIS" then
178:   sql = "Select * from REVISTAS where iddept=12 order by titulo"
179:   end if
180:   if id = "ADE" then
181:   sql = "Select * from REVISTAS where iddept=13 order by titulo"
182:   end if
183:   if id = "CCT" then
184:   sql = "Select * from REVISTAS where iddept=14 order by titulo"
185:   end if
186: 
187:   else
188:   tit =request.form("T1")
189:   isn =request.form("T2")
190:   ano =request.form("T3")
191:   num =request.form("T4")
192:   tit=limpia(tit)
193:   isn=limpia(isn)
194:   ano=limpia(ano)
195:   num=limpia(num)
196:   sql = "Select * from REVISTAS where 1=0"
197:   if tit<>"" or isn<>"" or ano<>"" or num<>"" then
198:   sql = "Select * from REVISTAS where 1=1"
199:   		if tit<>"" then
200: 		sql=sql & " and revistas.titulo like '%" & limpia(tit)  & "%'"
201: '		response.write(sql)
202:   		end if
203: 		if isn <>"" then
204: 		sql=sql & " and revistas.issn like '%" & limpia(isn)  & "%'"
205: '		response.write(sql)
206:   		end if
207: 		if ano<>"" then
208: 		sql=sql & " and revistas.titulo in (select sumarios.revista from sumarios where left(sumarios.sumarios,4) like '%" & limpia(ano)  & "%')"
209: 
210: '		response.write(sql)
211:   		end if
212: 		if num<>"" then
213: 		sql=sql & " and revistas.titulo in (select sumarios.revista from sumarios where sumarios.sumarios like '%" & limpia(num)  & "%')"
214: 		'response.write(sql)
215:   		end if
216: 		sql = sql & " order by titulo"
217:   end if
218:   end if
219:   cont=0
220:   
221:   set con = server.CreateObject("ADODB.Connection")
222:   con.open "Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & server.MapPath("revista.mdb")
223:   set rs = server.CreateObject("ADODB.Recordset")
224:   
225:    rs.open sql,con,1,2
226:   
227:   	 do until rs.eof; &Apache::ASP::WriteRef($main::Response, \('
228:   	
229: 	<tr>
230: 		<td width="21%" align="center" bgcolor="#003366">
231: 		<font color="#FFFFFF">
232: 		<font face="Verdana" size="1">DEPARTAMENTO</font><font face="Verdana">
233: 		</font>		
234: 		</font>		
235: 		</td>
236: 		<td width="58%" align="center" bgcolor="#3366CC">
237: 		<font color="#FFFFFF" face="Verdana" size="1">'.(departamento(rs.fields(1)) ).'</font><font color="#FFFFFF">
238: 		</font>
239: 		</td>
240: 		<td width="19%" align="center" bgcolor="#3366CC" rowspan="7">
241: 		<font face="Verdana" size="1">
242: 		')); 
243: 		ruta="img/" & rs.fields(1) & "/" & rs.fields(9) & "/" & rs.fields(10)
244: 		if existeimagen(ruta)=1 then
245: 		; &Apache::ASP::WriteRef($main::Response, \('
246: 		<img border="0" src="'.(ruta).'" width="112" height="140"></font></td>
247: 		'));else; &Apache::ASP::WriteRef($main::Response, \('
248:         imagen no disponible</font></td>
249: 		'));end if; &Apache::ASP::WriteRef($main::Response, \('
250: 		</tr>
251: 	<tr>
252: 		<td width="21%" align="center" bgcolor="#003366">
253: 		<font color="#FFFFFF">
254: 		<font face="Verdana" size="1">TITULO</font><font face="Verdana"> </font>		
255: 		</font>		
256: 		</td>
257: 		<td width="58%" align="center" bgcolor="#3366CC">
258: 		<font color="#FFFFFF" face="Verdana" size="1">'.(rs.fields(2) ).'</font><font color="#FFFFFF">
259: 		</font>
260: 		</td>	
261: 	</tr>
262: 	<tr>		
263: 		<td width="21%" align="center" bgcolor="#003366">
264: 		<font color="#FFFFFF">
265: 		<font face="Verdana" size="1">PERIODICIDAD</font><font face="Verdana">
266: 		</font>		
267: 		</font>		
268: 		</td>
269: 		<td width="58%" align="center" bgcolor="#3366CC">
270: 		<font color="#FFFFFF" face="Verdana" size="1">'.(rs.fields(4) ).'</font><font color="#FFFFFF">
271: 		</font>
272: 		</td>		
273: 	</tr>
274: 	<tr>
275: 		<td width="21%" align="center" bgcolor="#003366">
276: 		<font color="#FFFFFF">
277: 		<font face="Verdana" size="1">ISSN</font><font face="Verdana"> </font>		
278: 		</font>		
279: 		</td>
280: 		<td width="58%" align="center" bgcolor="#3366CC">
281: 		<font color="#FFFFFF" face="Verdana" size="1">'.(rs.fields(5) ).'</font><font color="#FFFFFF">
282: 		</font>
283: 		</td>
284: 	</tr>
285: 	<tr>
286: 		<td width="21%" align="center" bgcolor="#003366">
287: 		<font color="#FFFFFF">
288: 		<font face="Verdana" size="1">AÑO DE PUBLICACIÓN</font><font face="Verdana">
289: 		</font>		
290: 		</font>		
291: 		</td>
292: 		<td width="58%" align="center" bgcolor="#3366CC">
293: 		<font color="#FFFFFF" face="Verdana" size="1">'.(rs.fields(6) ).'</font><font color="#FFFFFF">
294: 		</font>
295: 		</td>
296: 		</tr>			
297: 	<tr>
298: 		<td width="21%" align="center" bgcolor="#003366">
299: 		<font color="#FFFFFF">
300: 		<font face="Verdana" size="1">ENLACE WEB</font><font face="Verdana">
301: 		</font>
302: 		</font>
303: 		</td>
304: 		<td width="58%" align="center" bgcolor="#3366CC">
305: 		<font face="Verdana" size="1"><a href="'.(rs.fields(7) ).'" target="_blank">
306: 		<font color="#FFFFFF">'.(rs.fields(7) ).'</font></a></font><font color="#FFFFFF">
307: 		</font>
308: 		</td>
309: 	</tr>
310: 	<tr>
311: 		<td width="21%" align="center" bgcolor="#003366">
312: 		<font color="#FFFFFF">
313: 		<font face="Verdana" size="1">TEXTO COMPLETO</font><font face="Verdana"> </font>
314: 		</font>		
315: 		</td>
316: 		<td width="58%" align="left" bgcolor="#3366CC">
317: 		<font color="#FFFFFF" face="Verdana" size="1">'.(rs.fields(3) ).'</font><font color="#FFFFFF">
318: 		</font>
319: 		</td>
320: 	</tr>
321: 	<tr>
322: 		<td width="21%" align="center" bgcolor="#003366">
323: 		<font color="#FFFFFF">
324: 		<font face="Verdana" size="1">OPAC</font><font face="Verdana"> </font>		
325: 		</font>		
326: 		</td>
327: 		<td width="58%" align="center" bgcolor="#3366CC" style="color: #FFFFFF">
328: 		'));if rs.fields(8)="http://80.37.120.41:443/opac/Docuopac.asp" then; &Apache::ASP::WriteRef($main::Response, \('
329: 		<font color="#FFFFFF" face="Verdana" size="1"><a href="http://80.37.120.41:443/opac/Docuopac.asp" target="_blank"><font color="#FFFFFF" face="Verdana" size="1">Los artículos están descritos en el catálogo</font></a></font><font color="#FFFFFF">
330: 
331: 		'));'<%=rs.fields(8) en lugar de "los aticulos..."
332: 		else; &Apache::ASP::WriteRef($main::Response, \('
333: 		<font color="#FFFFFF" face="Verdana" size="1">'.(rs.fields(8) ).'</font>
334: 		'));end if; &Apache::ASP::WriteRef($main::Response, \('
335: 		</td>		
336: 
337: 	</tr>
338: 	
339: 	<tr>
340:     <td width="21%" bgcolor="#C0C0C0">
341: 	<p align="center"><b><font face="Verdana" size="1">SUMARIOS</font></b></td>
342:     <td width="78%" colspan="2" bgcolor="#C0C0C0">
343: 	
344: 	'));
345: 		sql2="Select * from sumarios where revista='" & limpia(rs.fields(2)) & "' order by sumarios"
346: 		
347: 		set rs2 = server.CreateObject("ADODB.Recordset")
348:   		rs2.open sql2,con,1,2
349:         do until rs2.eof
350: 		ruta="img/" & rs.fields(1) & "/" & rs.fields(9) & "/" & rs2.fields(3)
351: '		response.write (ruta)
352: 		if existeimagen(ruta)=1 then; &Apache::ASP::WriteRef($main::Response, \('
353: 		<font face="Verdana" size="1">
354: 		<a href="javascript:popup(\''.(ruta).'\')"><font color="#000000">'.(rs2.fields(1) ).'	</font></a>
355: 		'));else; &Apache::ASP::WriteRef($main::Response, \('
356: 		<font face="Verdana" size="1">
357: 		<font color="#000000">'.(rs2.fields(1) ).'	(imagen no disponible)</font>
358: 		
359: 		'));end if; &Apache::ASP::WriteRef($main::Response, \('
360: 	</font><br>
361: 	'));	
362:     rs2.movenext
363:     loop
364:     rs2.close
365: 	; &Apache::ASP::WriteRef($main::Response, \('
366: 	</td>
367:     </tr>
368: 	
369: 	<tr>
370:     <td width="99%" colspan="3">
371: 	&nbsp;</td>
372:     </tr>
373: '));	
374: 	cont=cont+1
375:     rs.movenext
376:     loop
377:     rs.close
378: 	con.close
379: ; &Apache::ASP::WriteRef($main::Response, \('
380:    <td width="99%" colspan="3">
381: 	'.(cont ).' <font size="1">RESULTADOS DE LA BÚSQUEDA</font></td>
382:     </tr>	
383:   </table>
384: 
385: </div>
386: </div>
387: </div>
388: </div>
389: </div>
390: 
391: 
392: </body>
393: </html>')); ;; }


An error has occured with the Apache::ASP script just run. If you are the developer working on this script, and cannot work through this problem, please try researching it at the Apache::ASP web site, specifically the FAQ section. Failing that, check out your support options, and if necessary include this debug output with any query.