Forum 

Forum AspNuke.it - Il tuo Portale OpenSource in ASP

HTML AREA - Dove sbaglio?

Autore Messaggio
iceman123

Amatore
Amatore
30 Discussioni



Profilo - iceman123
07 febbraio 2004 alle 20:00:36 Profilo - iceman123Invia un messaggio privato Rispondi quotando
Ecco il codice copiato pari pari dal tutorial sulla mia pagina downloads-inc.asp:

<%
' ************************************************************************
' * ASP-Nuke: Free web portal in ASP *
' ************************************************************************
' * Copyright (c) 2002-2003 by Gaetan Bouveret (webmaster@asp-nuke.com) *
' * http://www.asp-nuke.com *
' * *
' * This program is free software. You can redistribute it and/or modify *
' * it under the terms of the GNU General Public License as published by *
' * the Free Software Foundation; either version 2 of the License, or *
' * (at your option) any later version. *
' * *
' ************************************************************************
%>

<script language="Java_Script1.2"><!-- // load htmlarea
_editor_url = "htmlarea/" // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
document.write(' document.write(' <language="Java_Script1.2"></scr' + 'ipt>');
} else { document.write('function editor_generate() { return false; }</scr'+'ipt>'); }
// --></script>


<%
' Display the top downloads list (by date or by hits depending of the sort attribute
' IN : iTop (int) : number of results wanted
' : sTypeSort (string) : type of sort (date or hits)
' OUT : -
Sub DisplayTopDownloads(iTop, sTypeSort)
Dim oCn, oRs, rSQL, iLine

Set oCn = DBConnexion(DB_MAIN)

rSQL = "SELECT TOP " & iTop & " * FROM downloads WHERE dValid=1"
Select Case sTypeSort
Case "date"



Response.Write " <tr class=""tableline1"">" & vbCRLF
Response.Write " <td>" & GetTranslation("LANG_TITLE") & "</td>" & vbCRLF
Response.Write " <td><input name=""dTitle"" value="""" maxlength=""100"" size=""50"" class=""cell""></td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write " <tr class=""tableline2"">" & vbCRLF
Response.Write " <td>" & GetTranslation("LANG_DATE") & "</td>" & vbCRLF
Response.Write " <td>" & GetDateDDMMYYYY(Now()) & "<input type=""hidden"" name=""dDate"" value=""" & DateTimeToString(Now()) & """></td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write " <tr class=""tableline1"">" & vbCRLF
Response.Write " <td>" & GetTranslation("LANG_DESCRIPTION") & "</td>" & vbCRLF


Response.Write "<script language=""Java_Script1.2"" defer>" & VbCrlf
Response.Write "editor_generate('dDescription');" & VbCrlf
Response.Write "</script>" & VbCrlf
Response.Write " <td><textarea name=""dDescription"" cols=""50"" rows=""8"" class=""cell""></textarea></td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write " <tr class=""tableline2"">" & vbCRLF
Response.Write " <td>" & GetTranslation("LANG_URL") & "</td>" & vbCRLF
Response.Write " <td><input name=""dURL"" value=""http://"" maxlength=""250"" size=""50"" class=""cell""></td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write " <tr class=""tableline1"">" & vbCRLF
Response.Write " <td>" & GetTranslation("LANG_SIZE") & "</td>" & vbCRLF
Response.Write " <td><input name=""dSize"" value=""0"" maxlength=""10"" size=""10"" class=""cell""></td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write " <tr class=""tableline2"">" & vbCRLF
Response.Write " <td>" & GetTranslation("LANG_CATEGORY") & "</td>" & vbCRLF
Response.Write " <td>" & vbCRLF
Response.Write " <select name=""dCategory"" class=""cell"">" & vbCRLF

While Not oRs.EOF
Response.Write " <option value=""" & oRs("cID") & """"
If oRs("cID") = iCat Then Response.Write " selected"
Response.Write ">" & Server.HTMLEncode(oRs("cTitle")) & "</option>" & vbCRLF
oRs.MoveNext
WEnd


Il problema è che non mi da nemmeno errore, rimane semplicemente tutto come prima come se non avessi fatto modifiche! Bho!?

Dove sbaglio?
djveleno

Amministratore

Esperto
Esperto
1025 Discussioni



Profilo - djveleno
07 febbraio 2004 alle 21:07:20 Profilo - djvelenoInvia un messaggio privato Rispondi quotando
_editor_url = "../htmlarea/" // URL to htmlarea files

Inserisci così l'URL della cartella di HTMLAREA, chiaramente la cartella si deve chiamare così, se l'hai chiamata diversamente, cambia nome.
Ciauzz DJ
---------------
A lavare la testa ai somari, ci si rimette l'acqua e il sapone!

http://aspnuke208.somee.com/Default.asp

iceman123

Amatore
Amatore
30 Discussioni



Profilo - iceman123
08 febbraio 2004 alle 10:07:58 Profilo - iceman123Invia un messaggio privato Rispondi quotando
Ho fatto come hai detto ecco il codice:


<%
' ************************************************************************
' * ASP-Nuke: Free web portal in ASP *
' ************************************************************************
' * Copyright (c) 2002-2003 by Gaetan Bouveret (webmaster@asp-nuke.com) *
' * http://www.asp-nuke.com *
' * *
' * This program is free software. You can redistribute it and/or modify *
' * it under the terms of the GNU General Public License as published by *
' * the Free Software Foundation; either version 2 of the License, or *
' * (at your option) any later version. *
' * *
' ************************************************************************
%>

<script language="Java_Script1.2"><!-- // load htmlarea
_editor_url = "../htmlarea/" // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
document.write(' document.write(' <language="Java_Script1.2"></scr' + 'ipt>');
} else { document.write('function editor_generate() { return false; }</scr'+'ipt>'); }
// --></script>


<%
' Display the top downloads list (by date or by hits depending of the sort attribute
' IN : iTop (int) : number of results wanted
' : sTypeSort (string) : type of sort (date or hits)
' OUT : -



Response.Write " <td>" & GetTranslation("LANG_DATE") & "</td>" & vbCRLF
Response.Write " <td>" & GetDateDDMMYYYY(Now()) & "<input type=""hidden"" name=""dDate"" value=""" & DateTimeToString(Now()) & """></td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write " <tr class=""tableline1"">" & vbCRLF
Response.Write " <td>" & GetTranslation("LANG_DESCRIPTION") & "</td>" & vbCRLF


Response.Write "<script language=""Java_Script1.2"" defer>" & VbCrlf
Response.Write "editor_generate('dDescription');" & VbCrlf
Response.Write "</script>" & VbCrlf
Response.Write " <td><textarea name=""dDescription"" cols=""50"" rows=""8"" class=""cell""></textarea></td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write " <tr class=""tableline2"">" & vbCRLF
Response.Write " <td>" & GetTranslation("LANG_URL") & "</td>" & vbCRLF
Response.Write " <td><input name=""dURL"" value=""http://"" maxlength=""250"" size=""50"" class=""cell""></td>" & vbCRLF
Response.Write " </tr>" & vbCRLF
Response.Write " <tr class=""tableline1"">" & vbCRLF


Ma nulla, nessun messaggio di errore e nessun cambiamento!?
Non so più dove sbattere la testa!
Ho uplodato tutti i files nuovi e modificati,
la cartella dove ho scaricato htmlarea si chiama htmlarea,
ed il codice è quello che vedi! :~(

A questo punto mi basterebbe anche un messaggio di errore!!!
Invece proprio nulla, tutto uguale a prima!
Nettuno

Amatore
Amatore
49 Discussioni



Profilo - Nettuno
19 febbraio 2004 alle 19:56:40 Profilo - NettunoInvia un messaggio privato Rispondi quotando
da vero incompetente posso dire hai provato a dargli tutta la vera url cioe http://miosito/htmlarea/

oppure /htmlarea/

fammi sapere
---------------
www.portalmovie.net

Log in

Login
Password
Memorizza i tuoi dati:

Cerca

 

Sostieni AspNuke

Un piccolo gesto per aiutarci a mantenere AspNuke.it online

Promo

MusicWebItalia.it
Video Testi Traduzioni Spot Colonne sonore Accordi e Spartiti gratis.

Visitatori

Visitatori Correnti : 82
Membri : 0 offline Anna

Iscritti

 Utenti: 18940
Ultimo iscritto : glauco
Lista iscritti
Messaggi privati: 3373 Commenti: 2210 Immagini: 39 Downloads: 144 Articoli: 49 Pagine: 101 Siti web: 425 Notizie: 180 Sondaggi: 11 Preferiti: 216931 Post sui forum: 51195 Libro degli ospiti: 4 Eventi: 7

Versioni

Temi