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.
Intermittent but persistent Attachments error
davestewart
New
We are just banging our heads against the wall on this one. Does anyone know why we keep getting this error when trying to upload files using attachments, but only for some users, and not all?
Thanks,
Dave
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/68 owned by uid 48 in /var/www/vhosts/kickasskandy.com/httpdocs/forum/library/Framework/Framework.Class.Uploader.php on line 113We recently moved servers to a dedicated server, and they think the following:
Notice: Trying to get property of non-object in /var/www/vhosts/kickasskandy.com/httpdocs/forum/extensions/Attachments/default.php on line 703
Notice: Undefined property: stdClass::$DiscussionID in /var/www/vhosts/kickasskandy.com/httpdocs/forum/library/Vanilla/Vanilla.Control.DiscussionForm.php on line 125
The upload part is always going to be a problem unless you can modify the forum software to create a new folder as the FTP user rather than as apache. As it is being created as apache, the FTP user then doesn't have the correct permissions to upload to the folder. I have modified the folders that are there to have the ftp user so that you can upload to them but the software seems to be fairly random in its creation of foldersCan anyone help!!??
Thanks,
Dave
0
This discussion has been closed.
Comments
Thanks for the info. I'll look at doing what you said, and will report back.
Cheers,
Dave