> Forums > Active Forums > Community Support > Attachment Issues
Last Post 06 Jun 2011 06:31 PM by Andy G. 7 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
MaverickUK
Customers
MaverickUK
Post Count:7

--
07 Apr 2011 02:53 AM
    • Active Forums Version: 4.2.6
    • DotNetNuke Version: 5.2.0
    At the moment we are having two issues with attaching files to forum posts:

    1. Once you've uploaded an image to be attached, clicked on "Create Thumbnail", then clicked on "Create" in the pop-up box - the browser closes (losing your post).

    2. Some users can upload attachments but they won't attach to the post. 

    Here is what our IT department said: 

    "The attachment files are saved into a folder named activeforums_Attach. Attachment details are saved to the activeforums_Attachments table, records have a unique ID of AttachId. My attachment is in this table, with the AttachId of 457. There is a UserID field in this table so I guess this is used to display and individual user's attachments when the My Files tab is selected when adding attachments.

    "There is another table named activeforums_Content, records have a unique ID of ContentId. Another table is called activeforums_Content_Attachments and has only two fields: ContentId and AttachId which is where the Content and Attachment records are linked by IDs. My AttachId 457 is not in this table so presumably not linked to the forum content, which would explain why it doesn't work.
     
    "That is as far as I can go with my investigations. I think the ActiveForums code is not working properly to populate the activeforums_Content_Attachments table, but I could be totally wrong of course!"

    Any ideas/solutions?

    Thanks, as always!
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1644

    --
    07 Apr 2011 11:15 AM
    1. What browser are you using? I can not reproduce this. Is your site running in medium-trust or full-trust?

    2. Entries will not be added to the Content_Attachments table until the post is created successfully. A single file can be uploaded once, but attached to multiple topics, so that multiple entries would be created in this table with the same AttachId. The rest of your assessments are correct.

    You can also choose to save files in the database. Do the files actually exist in the activeforums_Attach directory? If you upload a non-image attachment (eg .txt file) does it work correctly?
    MaverickUK
    Customers
    MaverickUK
    Post Count:7

    --
    11 Apr 2011 07:34 AM
    Unfortunately we're on IE6, and our IT seem to think we're running in full-trust but they aren't sure.

    Attachements have previously worked fine - including adding thumbnails, it is only recently that we have been having trouble.

    Yes, they exist in that directory.

    The problems are quite varied and not consistent, the more we look into it the more we seem to find. Sometimes an upload button doesn't appear. Sometimes when the attachment doesn't add itself to the message, if you go back and edit the message you can attach it that way and it will work. We've checked the setting of the forums and nothing seems to have changed to have brought this on. The only consistent seems to be that the Create Thumbnail pop up will close the browser.
    Andy G
    Customers
    Andy G
    Post Count:195

    --
    23 Apr 2011 05:16 PM
    I had that issue after upgrading the AF and not the AS. When I upgraded the AS the system worked fine. If I remember correctly, it was a javascript issue. Not positive, I don't recall exactly what happened.
    The Fabricator Network
    MaverickUK
    Customers
    MaverickUK
    Post Count:7

    --
    26 Apr 2011 05:33 AM
    Thanks for the help Andy, can you just define what you mean by AF and AS? Cheers.
    Terry Sadler
    Customers
    Terry Sadler
    Post Count:270

    --
    26 Apr 2011 08:02 AM
    Posted By MaverickUK on 11 Apr 2011 08:34 AM
    Unfortunately we're on IE6, and our IT seem to think we're running in full-trust but they aren't sure.

    Maverick...if there is anyway you can move away from IE6 you should...there are a host of vulnerabilities with IE6 and unless you are in a completely closed network I wouldn't recommend anyone chance the risks associated.
    Terry Sadler, CISSP
    Compass North Group, LLC

    Any man who may be asked in this century, what he did to make his life Worthwhile, can respond with a good deal of Pride and Satisfaction, "I served in the United States Navy". JFK
    MaverickUK
    Customers
    MaverickUK
    Post Count:7

    --
    26 Apr 2011 08:54 AM
    We've been campaigning to move away from IE6 for years.
    Andy G
    Customers
    Andy G
    Post Count:195

    --
    06 Jun 2011 06:31 PM
    Posted By MaverickUK on 26 Apr 2011 06:33 AM
    Thanks for the help Andy, can you just define what you mean by AF and AS? Cheers.

    Sorry for the late reply, AF - Active Forum and AS - Active Social
    The Fabricator Network
    You are not authorized to post a reply.
    > Forums > Active Forums > Community Support > Attachment Issues
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy