The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Attachments Not working
Im getting this error when I click on any attachment on the forum.
Code:
Warning: fopen(/home/myfreene/public_html/forums/attachment/1/1/121.attach) [function.fopen]: failed to open stream: Permission denied in [path]/attachment.php on line 252 |
#2
|
|||
|
|||
I think you need to make sure all the files under /home/myfreene/public_html/forums/attachment are readable by whatever user that the web server runs as (and maybe change them to be owned by that user, if they aren't already). Also, the directories need to have the right permissions.
I don't know why that would be happening - you may also need to change the mask used to set permissions for newly created file. |
#3
|
|||
|
|||
Ok fixed it by adding them to the database but one I try to move them back to the filesystem I get this
Code:
We attempted to write a test file to /home/myfreene/public_html/forums/attachments, but we were unsuccessful. Please verify that the web server has write/delete permissions for this path. |
#4
|
|||
|
|||
If you look now, are the permissions still the same for that folder, and if there are any subfolders that have been created, do they have the correct permissions?
|
#5
|
|||
|
|||
all the folders and files inside the attachment folder are set to 0777 yes.
But since it was not letting me use the same folder I try a new folder attachments with permissions set to 0777 as well but I get the same massage on both |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|