Hello,
I've got a probleme while using Attachments:
The extention works if I don't use the variables of Attachments.
If I tell him to save in: uploads/%userid%/ it says there are is a Problem with the rights to create a now folder.
But "uploads" is on 777.
In any way one time it succeed to build new folders, but no picture in it.
Now, don't using variables, it works - but: I think after some month this folder will grow big and some day people may want to save a file with the same name as one with allready exists.
Has anyone an idea?
After switching to a new host, something about how my new environment is configured prohibits Attachments' recursive mkdir() function from creating the upload directory (it will create the first level(the year), but not the next (the month)). It's also adding the number representing the current month to the front of the filename. For instance if I upload foo.txt it will name the file 01foo.txt. I'm sure this is related to my new hosting environment but I'm hoping to add some code to Attachments to make it more robust.
Also, I had to add "binary/octet-stream" and "application/download" to the mime types to allow upload of a .pdf from a user using Firefox on MAC.
hi guys, ran into this problem, any ideas would be much appreciated:
Notice: Trying to get property of non-object in /usr/www/users/downt6sn/pet_sitter_bible/forum/extensions/TagThis/library/Function.TagThis.php on line 96
Notice: Trying to get property of non-object in /usr/www/users/downt6sn/pet_sitter_bible/forum/extensions/Attachments/default.php on line 703
Notice: Undefined property: stdClass::$DiscussionID in /usr/www/users/downt6sn/pet_sitter_bible/forum/library/Vanilla/Vanilla.Control.DiscussionForm.php on line 124
Thank you. I'm Vanilla beginner and this module works great for me. The only thing I had to do was to add "application/force-download" for PDF (thanks, [-Stash-]!)
Comments
I recently ran into this problem:
After switching to a new host, something about how my new environment is configured prohibits Attachments' recursive mkdir() function from creating the upload directory (it will create the first level(the year), but not the next (the month)). It's also adding the number representing the current month to the front of the filename. For instance if I upload foo.txt it will name the file 01foo.txt. I'm sure this is related to my new hosting environment but I'm hoping to add some code to Attachments to make it more robust.
Also, I had to add "binary/octet-stream" and "application/download" to the mime types to allow upload of a .pdf from a user using Firefox on MAC.
Notice: Trying to get property of non-object in /usr/www/users/downt6sn/pet_sitter_bible/forum/extensions/TagThis/library/Function.TagThis.php on line 96
Notice: Trying to get property of non-object in /usr/www/users/downt6sn/pet_sitter_bible/forum/extensions/Attachments/default.php on line 703
Notice: Undefined property: stdClass::$DiscussionID in /usr/www/users/downt6sn/pet_sitter_bible/forum/library/Vanilla/Vanilla.Control.DiscussionForm.php on line 124
I have downloaded this extension.
Also enabled it from settings page for admin.
Also created uploads folder in root vanilla folder.
Still I am not able to add attachment facility for comments.
It seems to be , plugin is not detected by the vanilla.
What can be the issue here ? please help .....
sne.