path issue

Last post 03-29-2007, 3:32 AM by Adam. 5 replies.
Sort Posts: Previous Next
  •  03-26-2007, 3:36 AM 27723

    path issue

    When clicking on pdf icon (downloadable files) I get:

    Microsoft VBScript runtime error '800a004c'

    Path not found

    /blahblahblah/blah/browse_Document.asp, line 124

    My ASP:

    'Specifies the URL path of the Image Gallery. default "Uploads"
    editor.ImageGalleryPath = "../merchants/images/" & GLOBAL_Mer_ID & "/"
    'Specifies the URL path of the Flash Gallery. default "Uploads"
    editor.FlashGalleryPath = "../merchants/flash/" & GLOBAL_Mer_ID & "/"
    'Specifies the URL path of the Downloadable Files. default "Uploads"
    'editor.DocumentPath= "../documents/" & GLOBAL_Mer_ID & "/"
    editor.MediaGalleryPath = "../merchants/media/" & GLOBAL_Mer_ID & "/"
    editor.FilesGalleryPath = "../merchants/pdfs/" & GLOBAL_Mer_ID & "/"

    All the other buttons work and the directory is THERE.. I dont understand whats causing this...

    ideas??




  •  03-26-2007, 4:31 AM 27726 in reply to 27723

    Re: path issue

    MattSmith,
     
    Try use site-root path instead of relative path.
     
    For example:
     
    // this is correct
     
    /myfolder
     
    //this will cause problem
     
    ../myfolder
     
    Keep me posted
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-26-2007, 7:57 PM 27771 in reply to 27726

    Re: path issue

    Hi Adam,

    I have updated my ASP to:

    'Specifies the URL path of the Image Gallery. default "Uploads"

    editor.ImageGalleryPath = "images/" & GLOBAL_Mer_ID & "/"

    'Specifies the URL path of the Flash Gallery. default "Uploads"

    editor.FlashGalleryPath = "flash/" & GLOBAL_Mer_ID & "/"

    'Specifies the URL path of the Downloadable Files. default "Uploads"

    editor.MediaGalleryPath = "media/" & GLOBAL_Mer_ID & "/"

    editor.FilesGalleryPath = "pdfs/" & GLOBAL_Mer_ID & "/"

    After further testing only the image gallery functions.. The others get the path error...

    I have output the string that I pass to each and pasted it directly into the url and I get the directory...

    I cant see where Im going wrong... am I assigning the paths to the wrong method.. (ie editor.FilesGalleryPath)??

  •  03-26-2007, 8:34 PM 27772 in reply to 27726

    Re: path issue

    OK now Im sure I am not assigning the path correctly... How do I assign the path properly for the document "gallery"

    Im getting /uploads/ as the value for the variable current_Path within browse_Document.asp. Im sure this should read more like /pdfs/118/ based on my string.

    Let me know what Im doing wrong...


  •  03-28-2007, 10:20 PM 27845 in reply to 27726

    Re: path issue

    Adam,

    Have you got anywhere with this? I need to get pdf ability working asap
  •  03-29-2007, 3:32 AM 27852 in reply to 27771

    Re: path issue

    MattSmith,
     
    Try use site-root path instead of relative path.
     
    The following path will cause the problems:
     
    "images/" & GLOBAL_Mer_ID & "/"
     
    It should be something like this:
     
    "/images/" & GLOBAL_Mer_ID & "/"
     
    "/myfolder/images/" & GLOBAL_Mer_ID & "/"
     
    Keep me posted


     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML