Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumPost New Thread (use avatar of Gallery) - Critical error Post New Thread (use avatar of Gallery) - Critical error
Previous
 
Next
New Post
6/25/2007 10:17 PM
 

I've just Gallery to show Avatar for all user. but I got a critical error when I post/edit thread :

 

exec dbo.dnn_AddEventLog @LogGUID='70b42281-4c8c-4c49-99da-52ffda0ff24b',@LogTypeKey=N'MODULE_LOAD_EXCEPTION',
@LogUserID=NULL,@LogUserName=N'admin',@LogPortalID=0,@LogPortalName=NULL,@LogCreateDate='2007-06-25 19:28:16:987',@LogServerName=N'DELIVERY2-SRV01',@LogProperties=N'<LogProperties><LogProperty><PropertyName>ModuleId</PropertyName><PropertyValue>881</PropertyValue>
</LogProperty><LogProperty><PropertyName>ModuleDefId</PropertyName><PropertyValue>151</PropertyValue></LogProperty>
<LogProperty><PropertyName>FriendlyName</PropertyName><PropertyValue>Add/Edit Post</PropertyValue></LogProperty>
<LogProperty><PropertyName>ModuleControlSource</PropertyName><PropertyValue>
DesktopModules/Forum/Forum_PostEdit.ascx</PropertyValue></LogProperty><LogProperty><PropertyName>AssemblyVersion
</PropertyName><PropertyValue>04.05.01</PropertyValue></LogProperty><LogProperty><PropertyName>PortalID</PropertyName>
<PropertyValue>0</PropertyValue></LogProperty><LogProperty><PropertyName>PortalName</PropertyName><PropertyValue>SAIGON SECURITIES INC</PropertyValue></LogProperty><LogProperty><PropertyName>UserID</PropertyName><PropertyValue>2</PropertyValue>
</LogProperty><LogProperty><PropertyName>UserName</PropertyName><PropertyValue>admin</PropertyValue></LogProperty>
<LogProperty><PropertyName>ActiveTabID</PropertyName><PropertyValue>150</PropertyValue></LogProperty><LogProperty>
<PropertyName>ActiveTabName</PropertyName><PropertyValue>Diễn đàn</PropertyValue></LogProperty><LogProperty>
<PropertyName>RawURL</PropertyName><PropertyValue>/Default.aspx?tabid=150&amp;ctl=PostEdit&amp;mid=881&amp;forumid=1
&amp;postid=15&amp;action=reply</PropertyValue></LogProperty>
<LogProperty><PropertyName>AbsoluteURL</PropertyName><PropertyValue>/Default.aspx</PropertyValue></LogProperty>
<LogProperty><PropertyName>AbsoluteURLReferrer</PropertyName><PropertyValue>http://delivery2-srv01/Default.aspx?
tabid=150&amp;ctl=PostEdit&amp;mid=881&amp;forumid=1&amp;postid=15&amp;action=reply</PropertyValue></LogProperty>
<LogProperty><PropertyName>UserAgent</PropertyName><PropertyValue>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Avant Browser; .NET CLR 1.1.4322; .NET CLR 2.0.50727)</PropertyValue></LogProperty><LogProperty><PropertyName>DefaultDataProvider</PropertyName><PropertyValue>DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider</PropertyValue></LogProperty><LogProperty><PropertyName>ExceptionGUID</PropertyName><PropertyValue>fa9a4d9d-e403-466d-ba0b-c2424cf12c81</PropertyValue></LogProperty><LogProperty><PropertyName>InnerException</PropertyName><PropertyValue>
Could not find a part of the path ''D:\SSI_Project\Build\SSI_Build_20070625\SSI_20070503\Portals\0\ForumSmiley''.
</PropertyValue></LogProperty><LogProperty><PropertyName>FileName</PropertyName><PropertyValue />
</LogProperty><LogProperty><PropertyName>FileLineNumber</PropertyName><PropertyValue>0</PropertyValue></LogProperty>
<LogProperty><PropertyName>FileColumnNumber</PropertyName><PropertyValue>0</PropertyValue></LogProperty><LogProperty>
<PropertyName>Method</PropertyName><PropertyValue>System.IO.__Error.WinIOError</PropertyValue></LogProperty><LogProperty>
<PropertyName>StackTrace</PropertyName><PropertyValue /></LogProperty><LogProperty><PropertyName>Message</PropertyName>
<PropertyValue>DotNetNuke.Services.Exceptions.ModuleLoadException: Could not find a part of the path ''D:\SSI_Project\Build\SSI_Build_20070625\SSI_20070503\Portals\0\ForumSmiley''. 
---&gt; System.IO.DirectoryNotFoundException: Could not find a part of the path ''D:\SSI_Project\Build\SSI_Build_20070625\SSI_20070503\Portals\0\ForumSmiley''.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)

   at System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption)

   at System.IO.Directory.GetDirectories(String path)

   at DotNetNuke.Modules.Forum.Smilies.PopulateAllFolders(String Path)

   at DotNetNuke.Modules.Forum.Smilies..ctor(Int32 SmileyGalleryModuleID)

   at DotNetNuke.Modules.Forum.Smilies.GetSmileys(Int32 SmileyGalleryModuleID)

   at DotNetNuke.Modules.Forum.Smilies.FormatSmiley(String InputText, Int32 SmileyGalleryModuleID)

   at DotNetNuke.Modules.Forum.PostEdit.PostToDatabase()

   --- End of inner exception stack trace ---</PropertyValue></LogProperty><LogProperty><PropertyName>Source</PropertyName><PropertyValue /></LogProperty></LogProperties>',@LogConfigID=5

Please help me!

 
New Post
6/29/2007 4:01 AM
 

Look bellow code for to fix this error (Module: DotNetNude.Forum class: DNNForum):

 

Public Class DNNForum
        Inherits ForumBaseControl

        Public Sub New()

            MyBase.New()           
            If Not HttpContext.Current Is Nothing Then

                Dim item As String
                item = HttpContext.Current.Request.QueryString("scope")
               
                If Not item Is Nothing Then
                    Dim pos As Integer = item.IndexOf("#")
                    If pos > 0 Then
                        item = item.Substring(0, pos)
                    End If
                    Scope = CType([Enum].Parse(GetType(ForumScope), item, True), ForumScope)                 
                Else
                    If (Not HttpContext.Current.Request.QueryString("postid") Is Nothing) Then
                        Scope = ForumScope.PortalSearch
                    Else
                        Scope = ForumScope.Groups
                    End If

                End If

            End If

        End Sub

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumPost New Thread (use avatar of Gallery) - Critical error Post New Thread (use avatar of Gallery) - Critical error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out