Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Attachments 1.4 Problem
Get this error when enabled
Notice: Undefined index: ATTACHMENT_DISPLAY_IMAGE_PROCESSING in /home/rtp/public_html/extensions/Attachments/default.php on line 532
Notice: Undefined index: ATTACHMENT_DISPLAY_IMAGE_PROCESSING in /home/rtp/public_html/extensions/Attachments/default.php on line 532
0
This discussion has been closed.
Comments
Any help?
I'm not asking you specifically though, Jazzman. I really appreciate your work. If anyone has any idea that's cool. If I'm forced to update the site (I soooo do not want to) I'll do it though
$Configuration['ATTACHMENT_DISPLAY_IMAGE_PROCESSING'] = 'Thickbox';
The value can be Thickbox, Lightbox or None
If it's not there, just add it
when i start a discussion, i get this error:
Fatal error: Call to undefined function: discussionform_validateattachments() in /***/vanilla/library/Framework/Framework.Class.Delegation.php on line 36
Please help! i can´t upgrade to 2.0 because there is no import for my 1.4 Attachments!
You can fix it by removing these lines (around line 450):
// Validate files on PreSaveComment $Context->AddToDelegate("DiscussionForm", "PreSaveDiscussion", "DiscussionForm_ValidateAttachments");
Attachments 2.0 will be released next week (with import script)
another problem... when i upload a zip file:
the upload works, but when i download the file and open it in NOTEPAD it contents:
Warning: readfile(/homepages/15/d83103864/htdocs/coolr.de/uploads/0.ilogo2_flyer.zip) [function.readfile]: failed to open stream: No such file or directory in /homepages/15/d83103864/htdocs/coolr.de/extensions/Attachments/default.php on line 200
Ok, works as well but I too had a zip file go corrupt. I can wait till 2.0 though since I'm only uploading images primarily