Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorwakeup
    • CommentTimeMay 20th 2008
     # 151
    I'm using the new. It's better the old?

    thanks
    • CommentAuthorfysicsluvr
    • CommentTimeMay 20th 2008
     # 152
    All the new one does is store the attachment info in the database, rather than in a file (like PageManager does). I think once the new one was created, the old one was abandoned, and I wanted to be sure that wasn't the source of your troubles. As a short term fix, try not "forgetting" to put in a topic. :-P
  1.  # 153
    Is there any way that I can sort multiple attachments by name?
    • CommentAuthorJared
    • CommentTimeJul 2nd 2008
     # 154
    Curious, how difficult would it be for me to allow posting comments w/o any text in the input box?

    As in, I'd like to have people able to upload images and not have to type anything out.

    I ask this because w/o any text in the input, you get this error:

    Some problems were encountered
    You must enter a value for the comments input.


    If this has already been brought up before, sorry that I missed it. I tried looking around though.
    • CommentAuthorAbacus
    • CommentTimeJul 12th 2008
     # 155
    Is there anyway to actually view the attachments in a message rather than just having the link?
    • CommentAuthorAbacus
    • CommentTimeJul 12th 2008
     # 156
    Okay got it! inlineimage...
    •  
      CommentAuthorjtyler
    • CommentTimeJul 13th 2008
     # 157
    Attachments used to work for me... and now it suddenly doesn't. I've tried reinstalling it a few times and without fail I get this message when I go to the attachments setting page:

    Notice: Undefined index: ATTACHMENT_DISPLAY_IMAGE_PROCESSING in /home/uncohel8/public_html/thesentinelsguild/extensions/Attachments/default.php on line 530


    Line 530 in default.php for me is this:

    $Selector->SelectedValue = $this->Context->Configuration['ATTACHMENT_DISPLAY_IMAGE_PROCESSING'];


    Can anyone help?
    •  
      CommentAuthorjtyler
    • CommentTimeJul 13th 2008
     # 158
    Hah, somehow I had downloaded version 1.4 of attachments. Not sure how that happened? Anyway, updated to 2 and it works like a charm.
    • CommentAuthordubLeE
    • CommentTimeJul 22nd 2008
     # 159
    Can we attachment any file type with this?
    I was trying to attach a MS Publisher file and got the following error:

    Some problems were encountered
    You are not allowed to upload (Calendar.pub) the requested file type: application/vnd.ms-publisher
    • CommentAuthordavestewart
    • CommentTimeJul 28th 2008 edited
     # 160
    Ok - I'm having major grief with Attachments

    I've just moved to a new dedicated server, and attachments were not working, and seemed to lose the post when uploading:

            Some problems were encountered
    The requested discussion could not be found


    I've now managed to solve this by reading through this thread to find the link to this post which advises editing the Vanilla core to solve the problem (which works!)

    http://lussumo.com/community/discussion/7935/forced-category/#Comment_84234


    So, next up I discover that I can't now upload files.

            Some problems were encountered
    Failed to upload the file: continue.gif


    So, some playing around with phpinfo() leads me to discover that my upload_tmp_dir was not set!
    Very strange for a default install, but there you go. So I've edited that but now there's no luck either.

    Can anyone help? I have spent days on this so far...

    Thanks,
    Dave
    • CommentAuthordionhall85
    • CommentTimeJul 28th 2008
     # 161
    Great add-on!!!!!
    • CommentAuthordavestewart
    • CommentTimeJul 31st 2008 edited
     # 162
    Regarding my previous comments, we seem to have got to the bottom of the problem.

    It appears error reporting was OFF in this new installation, so I was getting no feedback at all with regards to the nature of the problem. Having made the changes to turn error reporting ON, I then got this error:

    Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect.
    The script whose uid is 10001 is not allowed to access
    /var/www/vhosts/kickasskandy.com/httpdocs/forum/uploads/6
    owned by uid 48 in
    /var/www/vhosts/kickasskandy.com/httpdocs/forum/library/Framework/Framework.Class.Uploader.php on line 113


    To rectify the problem, my server admin had to go in and change the *ownership* of the folder. Here is his response, in case it helps anyone:

    It seems that when thta forum software created the folder it doesn't create them as the ftp user, it creates them with ownership by the apache process, so the ftp user isn't allowed to access them

    there is probably a long complicated way of rewriting the forum code to create them with the ftp user, but I have gone in via SSH and changed the ownership of those folders to the FTP user.

    To do this, (in case it comes up in future) you login via ssh, navigate to that folder (cd /var/www/vhosts/kickasskandy.com/httpdocs/forum/uploads) and then change the ownership (chown [username] [foldername]) and you will be able to upload after that.


    I hope that helps someone.

    Cheers,
    Dave
  2.  # 163
    And just when you think it's sorted, the same issue for other users.
    Any help anyone?
    •  
      CommentAuthorDinoboff
    • CommentTimeOct 8th 2008 edited
     # 164
    Is anybody wants to maintain this extension since Jazzman has not logged in since last november (2007)?
    • CommentAuthornc_matt
    • CommentTimeNov 5th 2008
     # 165
    alright maybe I have missed the boat here. But I have succesfully installed the exension and can upload a test file to the server and that works fine. But how do I access the file after that? I don't see anything?
  3.  # 166
    http://lussumo.com/community/?CommentID=75472 (Attachments # 123) I get this same problem, somehow Attachements is borking the url :/
    • CommentAuthorSpliffster
    • CommentTime5 days ago edited
     # 167
    I hope I haven't missed something here in the comments or in the Forum. I am facing the following problem:

    My Forum is a closed user group, no anonymous posting allowed, registration upon admin confirmation only. Some people in our community are developing software and want to make it available through the forum. However, the content-type tests seem to be annoying at best.

    After reading some code I have come to the conclusion, that content-type checking of uploads is a core feature and is enforced as long as extension developers use the offered api functions (I use the Attachment 2.1 with "Multi File Upload" and "Inline Images").

    So i went into library/Framework/Framework.Class.Uploader.php and commented out the content-type checking part.

    I know that checking content-types and file sizes might in most situations be desired on a public site but not always.

    Did I miss some configuration options?

    If not, would it be possible to make "turn off" content-type checking available or make it possible to use wildecards in content-types (something like this):

    $this->AllowedFileTypes = array (
    //all javascript files like text/javascript or application/javascript. ending doesn't matter
    // because it could be named anything anyway
    '*/javascript' => array('*'),
    // allow the following text files
    'text/* => array('css', 'js', 'txt', 'csv')
    );
    •  
      CommentAuthormwbarker
    • CommentTime2 days ago edited
     # 168
    I get the following error message at the top of the page when trying to upload a file that is now allowed:

    Notice: Undefined property: DiscussionID in myfilepath/library/Vanilla/Vanilla.Control.DiscussionForm.php on line 124

    Anybody have any ideas why that would show up only then? If I upload attachments that are configured correctly in the ATTACHMENTS_ALLOWED_FILETYPES area, everything works great.
Add your comments
    Username Password
  • Format comments as