Visualizzazione dei risultati da 1 a 6 su 6
  1. #1

    Errore installazione script

    Ciao a tutti, sul mio spazio web(aruba) sto installando uno script per una galleria di immagini( ecco la guida : http://www.b-cp.com/igallery/installation.asp ), solo che mi blocco nell'installazione quando mi compare il seguente errore:

    Active Server Pages error 'ASP 0126'

    Include file not found

    /igallery/include/menu.asp, line 84

    The include file 'igallery/searchform.asp' was not found.

    Ho provato a mettere sia il percorso virtuale che il percorso fisico ma niente, chi sarebbe così gentile da dirmi come posso fare per risolvere questo errore che mi sta facendo uscire pazzo?

  2. #2
    L'errore è qui -->/igallery/include/menu.asp, line 84

    Posta il codice di "menu.asp" e indica cosa c'è scritto alla linea 84 (magari in rosso).
    Provare paura per un qualcosa che ti possa capitare nel futuro non ti evita quell'evento,ti fa soltanto vivere un presente sbagliato!

  3. #3
    codice:
    <%
    '####################################
    '## Application:   Blue-Collar Productions
    '## File Name:     menu.asp
    '## File Version:  4.0
    '## Copyright:     This code is copyrighted and has limited warranties. Please see http://www.b-cp.com for details.
    '####################################
    %>
    
    <script type="text/javascript">
    <!--
    function CompactRepair(url) {
    var leftPos = (screen.availWidth-500) / 2
    var topPos  = (screen.availHeight-175) / 2 
    var iforgot = window.open(url,'','width=500,height=175,scrollbars=no,resizable=no,status=no,toolbar=no,location=no,top=' + topPos + ',left=' + leftPos);
    }
    //-->
    </script>
    
    [img]images/spacer.gif[/img]
    
    
    <table width="200" cellspacing="0" cellpadding="0" border="0">
    <tr>
    <td width="19" valign="bottom">[img]images/sm-folder.gif[/img]</td>
    <td class="textsm" valign="bottom"><%= GalleryName %></td>
    </tr>
    </table>
    
    [img]images/spacer.gif[/img]
    
    
    
    <table width="200" cellspacing="0" cellpadding="0" border="0">
    <%
    On Error Resume Next
    
    folderc = 0
    For Each fn1 In FileList
    folderc = folderc +1
    Next
    
    currentf = 1
    For Each fn In FileList
    If NOT LCase(fn.Name) = "_vti_cnf" Then ' Hide Front Page "_vti_cnf" Folder In Menu
    
    If Request("D") Then
    String1 = LCase(Request("D"))
    Else
    String1 = "\"&LCase(Replace(Request("folder"),"/","\"))&"\"
    End If
    String2 = "\"&LCase(fn.Name)&"\"
    If InStr(String1,String2)>0 Then
    ShowFolder = True
    Else
    ShowFolder = False
    End if
    
    If len(fn.Name) > 30 Then 
    FolderName = Left(fn.Name,30)&"..."
    Else
    FolderName = fn.Name
    End if
    
    Directory = fn
    Directory = Replace(LCase(Directory),LCase(UploadPath),"")
    Directory = URLSpace(Directory)
    %>
    
    <tr>
    <td height="18" width="17">[img]images/sm-tree2.gif[/img]</td>
    <td width="18" nowrap>[img]images/sm-folder<% If ShowFolder Then %>4<% Else %>5<% End If %>.gif[/img]</td>
    <td width="100%" nowrap><%= FolderName %></td>
    </tr>
    
    <%
    End If
    currentf = currentf + 1
    Next
    %>
    </table>
    
    
    [img]images/spacer.gif[/img]
    
    
    ------ > 
    
    <hr size="1" color="silver">
    
    <% If Anonymous Then %>
    
    <table cellspacing="0" cellpadding="2" border="0">
    <tr>
    <td>[img]images/sm-portrait.gif[/img]</td>
    <td class="textsm"><%= IGmenu_spo %>:</td>
    </tr>
    </table>
    
    <table width="200" cellspacing="0" cellpadding="0" border="0">
    <tr>
    <td height="17" align="right"><%= IGmenu_subfrm %></td>
    <% If Request("mi") = "1" Then %>
    <td width="20" style="padding-right:2px;" align="right" nowrap>[img]images/xsm-email.gif[/img]</td>
    <% Else %>
    <td width="20" style="padding-right:2px;" align="right" nowrap>[img]images/arrow-rt.gif[/img]</td>
    <% End If %>
    </tr>
    </table>
    
    <% End If %>
    
    
    <% If Session("userLevel") = "99" Then %>
    
    <hr size="1" color="silver">
    
    <table cellspacing="0" cellpadding="2" border="0">
    <tr>
    <td>[img]images/sm-users.gif[/img]</td>
    <td class="textsm"><%= IGmenu_ua %>:</td>
    </tr>
    </table>
    
    <table width="200" cellspacing="0" cellpadding="0" border="0">
    <tr>
    <td height="17" align="right"><%= IGmenu_anu %></td>
    <% If Request("mi") = "2" Then %>
    <td width="20" style="padding-right:2px;" align="right" nowrap>[img]images/sm-cal.gif[/img]</td>
    <% Else %>
    <td width="20" style="padding-right:2px;" align="right" nowrap>[img]images/arrow-rt.gif[/img]</td>
    <% End If %>
    </tr>
    <tr>
    <td height="17" align="right"><%= IGmenu_mu %></td>
    <% If Request("mi") = "3" Then %>
    <td width="20" style="padding-right:2px;" align="right" nowrap>[img]images/sm-cal.gif[/img]</td>
    <% Else %>
    <td width="20" style="padding-right:2px;" align="right" nowrap>[img]images/arrow-rt.gif[/img]</td>
    <% End If %>
    </tr>
    <tr>
    <td height="17" align="right"><%= IGmenu_ulf %></td>
    <% If Request("mi") = "4" Then %>
    <td width="20" style="padding-right:2px;" align="right" nowrap>[img]images/sm-cal.gif[/img]</td>
    <% Else %>
    <td width="20" style="padding-right:2px;" align="right" nowrap>[img]images/arrow-rt.gif[/img]</td>
    <% End If %>
    </tr>
    </table>
    
    [img]images/spacer.gif[/img]
    
    
    <table cellspacing="0" cellpadding="2" border="0">
    <tr>
    <td>[img]images/sm-system1.gif[/img]</td>
    <td class="textsm"><%= IGmenu_smngt %>:</td>
    </tr>
    </table>
    
    <table width="200" cellspacing="0" cellpadding="0" border="0">
    <tr>
    <td height="17" align="right"><%= IGmenu_smaint %></td>
    <% If Request("mi") = "5" Then %>
    <td width="20" style="padding-right:2px;" align="right" nowrap>[img]images/sm-cal.gif[/img]</td>
    <% Else %>
    <td width="20" style="padding-right:2px;" align="right" nowrap>[img]images/arrow-rt.gif[/img]</td>
    <% End If %>
    </tr>
    <tr>
    <td height="17" align="right"><%= IGmenu_candr %></td>
    <% If Request("mi") = "6" Then %>
    <td width="20" style="padding-right:2px;" align="right" nowrap>[img]images/sm-cal.gif[/img]</td>
    <% Else %>
    <td width="20" style="padding-right:2px;" align="right" nowrap>[img]images/arrow-rt.gif[/img]</td>
    <% End If %>
    </tr>
    </table>
    
    <hr size="1" color="silver">
    
    
    <% If MessageBoard Then %>
    <script type="text/javascript">
    <!--
    var ie=document.all
    var ns6=document.getElementById&&!document.all
    var dragapproved=false
    var z,x,y
    function move(e){
    if (dragapproved){
    z.style.left=ns6? temp1+e.clientX-x: temp1+event.clientX-x
    z.style.top=ns6? temp2+e.clientY-y : temp2+event.clientY-y
    return false}}
    function drags(e){
    if (!ie&&!ns6)
    return
    var firedobj=ns6? e.target : event.srcElement
    var topelement=ns6? "HTML" : "BODY"
    while (firedobj.tagName!=topelement&&firedobj.className!="drag"){
    firedobj=ns6? firedobj.parentNode : firedobj.parentElement}
    if (firedobj.className=="drag"){
    dragapproved=true
    z=firedobj
    temp1=parseInt(z.style.left+0)
    temp2=parseInt(z.style.top+0)
    x=ns6? e.clientX: event.clientX
    y=ns6? e.clientY: event.clientY
    document.onmousemove=move
    return false}}
    document.onmousedown=drags
    document.onmouseup=new Function("dragapproved=false")
    //-->
    </script>
    <div align="center">
    <div class="drag" style="position: relative; cursor: move;">
    <div style="padding:5px; border:1px solid #cccccc; width:180px; background-color:#fbfbfb; filter:alpha(opacity=60);">
    <div style="padding-bottom:5px; width:180px;">
    <table style="font-family:Verdana; font-size:10px; font-weight:bold; text-align:left;" width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr>
    <td><%= IGmenu_mb %></td>
    <td align="right">[img]images/stomp-pad.gif[/img]</td>
    </tr>
    </table>
    </div>
    <iframe name="v7" src="http://www.b-cp.com/updates/igsu.asp" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" height="100" width="180"></iframe>
    </div>
    </div>
    <% End If %>
    
    
    
    <% End If %>
    La riga con il ---> davanti è quella in questione.

  4. #4
    Partendo dalla root il percorso è quello?

    Prova con lo slash davanti:
    Provare paura per un qualcosa che ti possa capitare nel futuro non ti evita quell'evento,ti fa soltanto vivere un presente sbagliato!

  5. #5
    Ora mi dice

    Active Server Pages error 'ASP 0130'

    Invalid File attribute

    /igallery/include/menu.asp, line 84

    File attribute '/igallery/searchform.asp' cannot start with forward slash or back slash.

  6. #6

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.