doddgolf
Guest
|
 |
Posting attachments not working
« on: January 09, 2003, 03:01:03 AM » |
|
I have installed 1.5.0 and seems to be fine except when posting with attachements. Tried small size .gif, set attachments for administator and logged on a such and get this error message
2: OpenDir: No such file or directory (errno 2) (/home/gbo/cgi-bin/yabbse/Sources/Post.php ln 871)
I have the file post.php in the directory shown so I cannot understand the error message.
Sort of new at this and could use some help, please excuse any idiot questions on my part.
Thanks in advance
|
|
« Last Edit: January 09, 2003, 03:01:37 AM by doddgolf »
|
Logged
|
|
|
|
|
doddgolf
Guest
|
 |
Re:Posting attachments not working
« Reply #2 on: January 09, 2003, 03:09:36 AM » |
|
Wish that is was that easy - already have the folder.
Thanks for the try.
Any other suggestions???
|
|
|
Logged
|
|
|
|
|
|
riz
Noobie

Posts: 12

I'm a llama!
|
 |
Re:Posting attachments not working
« Reply #5 on: January 09, 2003, 03:24:40 AM » |
|
i am getting this error too, but i think it is because i have not set the upload directory properly in the Installed 'Mods' in the admin panel. like an idiot i overwrote what was in the text box with what i thought was correct, all i remember it had was something like "httpd/myserver.com/yabbse/attachments/" but that doesnt work when i put it in. can somebody with working attachments please check what is in their "Attachments Upload Path" text box and let me know please btw it is version 1.5.0 i am running 
|
|
« Last Edit: January 09, 2003, 03:25:36 AM by riz »
|
Logged
|
|
|
|
mediman
Support Team
YaBB God
    
Posts: 2858

|
 |
Re:Posting attachments not working
« Reply #6 on: January 09, 2003, 03:46:42 AM » |
|
okay let me try to help you! look in your settings.php please, there is a var called $boarddir! this plus /attachments is the attachmentpath i.e. $boarddir = "/usr/local/httpd/htdocs/host/www/yabbse"; then your attachmentpath is /usr/local/httpd/htdocs/host/www/yabbse/attachments the attachment url is something like http://www.yourdomain.com/yabbse/attachmentsmediman
|
|
« Last Edit: January 09, 2003, 03:48:27 AM by mediman »
|
Logged
|
mainComm Dev Team
|
|
|
doddgolf
Guest
|
 |
Re:Posting attachments not working
« Reply #7 on: January 09, 2003, 12:20:43 PM » |
|
Thanks Mediman
I thought I had to use the httpd, but once I looked in my settings.php I found that $boarddir was actually
/home/username/cgi-bin/yabbse
tried it with /attachments added and works like a charm.
attachment path was already correct as per your example
Thanks again.
doddgolf
|
|
|
Logged
|
|
|
|
|
|
|
|
|
|
|