| Autore |
Messaggio |
mcontesso
 Principiante
6 Discussioni
|
18 febbraio 2004 alle 14:50:54 
Salve ho installato ASP-Nuke quest'oggi seguendo il vostro tutorial, e il portale funziona correttamente, il problema si presenta quando tento di entrare in amministrazione. Mi loggo con lo user amministrativo e mi appare nel menù il link "Amministrazione" ma appena lo seleziono mi appare una pagina di errore che riporta:
HTTP 500.100 - Internal Server Error - ASP error Internet Information Services
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Error Type: Microsoft VB_Script runtime (0x800A01A8) Object required: 'DBRecordSet(...)' /asp-nuke/includes/sessions-inc.asp, line 107
Browser Type: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
Page: GET /asp-nuke/admin/Default.asp
Ho effettuato la verifica delle Path per gli include ma mi sembra tutto a posto
<!-- #include file='../variables-inc.asp' --> <!-- #include file='../configuration-inc.asp' --> <!-- #include file='../consts-inc.asp' --> <!-- #include file='../manager-inc.asp' --> <!-- #include file='../admin/admin-inc.asp' --> <!-- #include file='../sessions-inc.asp' --> <!-- #include file='../mail-inc.asp' --> <!-- #include file='../database-inc.asp' --> <!-- #include file='../advertising-inc.asp' --> <!-- #include file='../functions-inc.asp' --> <!-- #include file='../blocks-inc.asp' --> <!-- #include file='../display-inc.asp' --> <!-- #include file='../polls-inc.asp' --> <!-- #include file='../pages-inc.asp' --> <!-- #include file='../webcounter-inc.asp' --> <!-- #include file='menu-inc.asp' -->
l'operazione che viene effettuata dalla linea 107 dell'include incriminato è una banalissima assegnazione di un recordset
Set oRs = DBRecordSet(oCn, rSQL)
Potreste aiutarmi a risolvere il problema.
Grazie, Saluti Massimo
|
mcontesso
 Principiante
6 Discussioni
|
18 febbraio 2004 alle 15:08:49 
Un'aggiunta, anche accedendo al forum dà lo stesso problema sulla stessa linea dell'include.
Saluti
Massimo
|
nextart
 Eliminato
0 Discussione
|
18 febbraio 2004 alle 15:12:47   Modificato il 18 febbraio 2004 alle 15:15:03
Lo dava anche a me in locale, ho rifatto il setup ed e' andato a posto, probabilmente non ha creato tutto correttamente.
|
mcontesso
 Principiante
6 Discussioni
|
18 febbraio 2004 alle 15:17:11 
Grazie nextart
Provo a buttare via tutto e rifare.
Saluti
Massimo
|
mcontesso
 Principiante
6 Discussioni
|
18 febbraio 2004 alle 15:27:25 
Nulla Nexstart
Ho cancellato e ricreato tutto, la configurazione è avvenuta correttamente, ma cotinua a persistere l'errore.
Saluti
Massimo
|
nextart
 Eliminato
0 Discussione
|
18 febbraio 2004 alle 15:32:00 
MI SERVIREBBE QUALCHE INFO IN +!! (r) SEI IN LOCALE? WIN2000/2003/XP? ECC. X RIFARE IL SETUP INTENDEVO CANCELLARE IL FILE CONFIGURATION-INC.ASP E RILANCIARE IL FILE SETUP.ASP.
|
mcontesso
 Principiante
6 Discussioni
|
18 febbraio 2004 alle 17:01:13 
Ciao nextart hai ragione, non li avevo indicati. Dunque, il sitema è XP Pro con tutti gli aggiornamenti, IIS 5.1 e lavoro in locale, non ho alrti siti o Web Server installati, se non quello standard installato da IIS, e il default web server è la VD di Asp-Nuke.
Per quanto riguarda il setup ho provato sia a rifare il solo setup cancellando il config-inc.asp, che a cancellare tutto e ripartire da zero, ma il problema resta invariato.
Non riesco a capire se mi manca qualche cosa o se sbaglio qualche passaggio.
Riporto anche il configuration-inc.asp, a me sembra a posto ma non si sà mai:
<% ' General website's information ' Website's name Const GLOBAL_SITE_NAME = "Test_Server" ' Website's url Const GLOBAL_SITE_URL = "http://localhost" ' Webmaster's email Const GLOBAL_SITE_EMAIL = "xxxxxxxxx@xxx.xx" ' Accounts email Const GLOBAL_ACCOUNTS_EMAIL = "xxxxxxxxx@xxx.xx" ' Copyright display at bottom Const GLOBAL_SITE_COPYRIGHT = "©2004 M.C." ' Default language file Const GLOBAL_SITE_DEFAULT_VERSION = "IT"
' META info ' Keywords Const GLOBAL_META_KEYWORDS = "" ' Description Const GLOBAL_META_DESCRIPTION = "" ' Author Const GLOBAL_META_AUTHOR = "" ' Head structure of subtable Const GLOBAL_SITE_SUBTABLE = "<table width=""100%"" class=""myTable"" cellspacing=""1"" cellpadding=""2"" align=""center"">"
' Paths. Edit ALL paths IF YOU ARE IN A VIRTUAL DIRECTORY ! ' put a "/myAspNukeDir" before paths if you're in a virtual directory, ' where /myAspNukeDir is your virtual directory. ' For example : Const GLOBAL_SITE_PATH = "/mywebsite/"
' Website path Const GLOBAL_SITE_PATH = "/asp-nuke/" ' admin path Const GLOBAL_SITE_ADMIN_PATH = "/asp-nuke/admin/" ' Themes Path Const GLOBAL_SITE_THEMES_PATH = "/asp-nuke/themes/" ' Pictures directory Const GLOBAL_SITE_IMAGES_PATH = "/asp-nuke/imgs/" ' News pictures directory Const GLOBAL_SITE_IMAGES_NEWS_PATH = "/asp-nuke/imgs/news/" ' Smileys pictures directory Const GLOBAL_SITE_IMAGES_SMILEYS_PATH = "/asp-nuke/forum/smileys/" ' Backend path and file Const GLOBAL_SITE_BACKEND = "/asp-nuke/scripts/display_news.js" ' Database path Const GLOBAL_SITE_DATABASE_PATH = "db" ' Language files path Const GLOBAL_SITE_VERSIONS_PATH = "/asp-nuke/lang/"
' Database constants Const DB_MAIN = "main" Const DB_FORUM = "forum"
' Display configuration (left column) ' Dynamic count display Const bDisplayDynamicCount = True ' Advertising display Const bDisplayAdvertising = True ' Search engine display Const bDisplaySearchEngine = True ' Newsletter Const bNewsletter = True ' Favorites display Const bDisplayFavorites = True ' Accounts display Const bDisplayAccounts = True ' Last websites display Const bDisplayLastSites = True ' Display a bullet before menu choices Const bDisplayBullet = True ' Allow or not private avatar Const bAllowPrivateAvatars = True ' Auto accept private avatar or not by default Const bAutoAcceptPrivateAvatar = True ' Display language choice Const bDisplayVersions = True ' Automatic signup Const bAutoSignup = True
' Back End ' Automatic backend generated Const bAutoBackEnd = False
' TOP results for each section Const GLOBAL_NEWS_TOP = 5 Const GLOBAL_NEWS_LINKS_TOP = 10 Const GLOBAL_COMMENTS_TOP = 10 Const GLOBAL_ARTICLES_TOP = 5 Const GLOBAL_DOWNLOADS_TOP = 10 Const GLOBAL_FORUM_TOP = 5 Const GLOBAL_SEARCH_TOP = 10 Const GLOBAL_POLLS_TOP = 1 Const GLOBAL_IMAGES_TOP = 10 Const GLOBAL_DIRECTORY_TOP = 10 Const GLOBAL_COMMENTS_PAGE = 10 Const GLOBAL_IMAGES_PAGE = 12 Const GLOBAL_POLLS_MAX_RESULTS = 5 Const GLOBAL_CUSTOM_BLOCKS = 0 %>
Grazie ancora nextart
Saluti Massimo
|
nextart
 Eliminato
0 Discussione
|
18 febbraio 2004 alle 17:22:21 
sembrerebbe sbagliato il path del database.prova a correggere a mano questa riga ' Database path Const GLOBAL_SITE_DATABASE_PATH = "db"
in ' Database path Const GLOBAL_SITE_DATABASE_PATH = ""/asp-nuke/db"
. essendo sbsagliato il percorso del db.....
|
mcontesso
 Principiante
6 Discussioni
|
18 febbraio 2004 alle 17:30:23 
Ciao nextart
Così funzionaaaaaaa. Grazie mille. A queto punto però deve essere corretto il tutorial che consiglia di lasciare solo db nel path dei database. Forse dipende da sistema a sistema.
Graze ancora Saluti Massimo
|
nextart
 Eliminato
0 Discussione
|
18 febbraio 2004 alle 17:46:29 
non credo che il tutorial sia sbagliato pero' nel configuration-inc.asp ci sono i commenti che ti avvisano di questa modifica:
Paths. Edit ALL paths IF YOU ARE IN A VIRTUAL DIRECTORY ! ' put a "/myAspNukeDir" before paths if you're in a virtual directory, ' where /myAspNukeDir is your virtual directory. ' For example : Const GLOBAL_SITE_PATH = "/mywebsite/"
. comunque quel conta e' che funzioni.ciao.
|