Welcome, Guest. Please Login or Register.
November 18, 2024, 08:55:55 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  attachments fail « previous next »
Pages: [1] Reply Ignore Print
Author Topic: attachments fail  (Read 222 times)
chaozz
Noobie
*
Posts: 26


dodge this

attachments fail
« on: April 11, 2003, 10:54:12 AM »
Reply with quote

my YaBB 1.5.1 board works like a charm, and i like it a lot. there is one thing i can't seem to figure out, i can't upload attachments.

i think the upload succeeds, but moving the uploaded file to the attachments folder fails. it gives this error:

Quote
2: move_uploaded_file(/home/chaozz/public_html/forum/attachments/amd.gif) [function.move-uploaded-file]: failed to create stream: Permission denied
(/home/chaozz/public_html/forum/Sources/Post.php ln 910)


i chmodded the attachments folder to 666. the name of the folder is 'attachments' (without the quotes).

what is wrong? ???
Logged
Angel Skin
Full Member
***
Posts: 128


I'm a llama!

WWW
Re:attachments fail
« Reply #1 on: April 11, 2003, 11:58:18 AM »
Reply with quote

What are the attachments?

Mine don't always work because my server hasn't allowed jpg and png files to work with php.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:attachments fail
« Reply #2 on: April 11, 2003, 01:53:18 PM »
Reply with quote

Make sure the attachments folder is chmod'd writable.  (777 or whatever.)

-[Unknown]
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  attachments fail « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.170 seconds with 20 queries.