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 ForumsGalleryGalleryGallery Not working w/ my installGallery Not working w/ my install
Previous
 
Next
New Post
3/28/2007 1:55 PM
 
I agree that it is a file system permissions issue. This can happen inadvertently when you don't use a directory under the inetpub/wwroot directory.

Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
4/20/2007 12:10 AM
 

Well the problem has now been solved regarding my gallery issues.

Thanks in huge part to Patrick Chin at Pacific Online for trouble shooting this for me.  Attached is his blurb about what was wrong and what he did to fix it.

Hopefully this is of some help to others and/or some interest to the crew who writes this module.

 

> Hi Mark,

>I got the Gallery component to work!  I found a bug in Gallery that

> prevented it from working properly on UNC shares.  I also did some

> test uploads and they worked.

> 

> Also, the version of Gallery I am using comes from:

> http://www.jegers.com/DNN/Default.aspx?tabid=133

 

You can post the fix to the forum.

My fix is really a hack so maybe it's not the right fix to use but it at least illustrates the problem.

The problem has to do with the function "BuildPath()" in the file

Gallery\Utilities.vb:

 

Here is my "fixed" version:

========================================================================

=

 

' Provides more functionality than the path object static functions Public Shared Function BuildPath(ByVal Input() As String, ByVal Delimiter As String, ByVal StripInitial As Boolean, ByVal StripFinal As

Boolean) As String

            Dim output As StringBuilder = New StringBuilder

 

            output.Append(Join(Input, Delimiter))

 

                  '4/19/2007 - 1:27am - PC - Hack: If the beginning of the output begins with \\ then we are dealing

                  'with a UNC path.  Double the beginning slashes

(\\) to compensate for the following Replace call.

                  If output.ToString().Substring(0, 2) = "\\" Then

                        output.Insert(0, "\\")

                  End If

 

            output.Replace(Delimiter & Delimiter, Delimiter)

 

            If StripInitial Then

                If Left(output.ToString(), Len(Delimiter)) = Delimiter Then

                    output.Remove(0, Len(Delimiter))

                End If

            End If

 

            If StripFinal Then

                If Right(output.ToString, Len(Delimiter)) = Delimiter Then

                    output.Remove(output.Length - Len(Delimiter),

Len(Delimiter))

                End If

            End If

 

            Return output.ToString()

 

        End Function

 

 

========================================================================

================

 

Cheers,

 

Patrick Chin

IT Infrastructure Specialist

Pacific Online Inc.

Phone: (604) 638-6010 ext 223

Fax: (604) 638-6020

Toll Free: (877) 503-9870

 

http://www.pacificonline.com

 
New Post
4/20/2007 12:09 PM
 

For those interested, I have applied the above patch to my "patched" version and released it on my website.  For those of you experiencing this problem have at it and I hope it helps.

My website:  www.Jegers.com

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryGallery Not working w/ my installGallery Not working w/ my install


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