Welcome, Guest. Please Login or Register.
November 28, 2024, 05:36:41 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  |  error attach file again !!!! « previous next »
Pages: [1] Reply Ignore Print
Author Topic: error attach file again !!!!  (Read 761 times)
SuSe
Noobie
*
Posts: 8


I'm a llama!

error attach file again !!!!
« on: February 28, 2003, 04:07:51 PM »
Reply with quote

2: OpenDir: Invalid argument (errno 22)
(c:\Inetpub\Home\thcity.com\horus\yabbse\Sources\Post.php ln 689)

teach me to set up it  ???
thank you
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:error attach file again !!!!
« Reply #1 on: February 28, 2003, 04:59:32 PM »
Reply with quote

Bad directory.  Your attachments dir should be set to:

c:/Inetpub/Home/thcity.com/horus/yabbse/attachments

-[Unknown]
Logged
SuSe
Noobie
*
Posts: 8


I'm a llama!

Re:error attach file again !!!!
« Reply #2 on: March 02, 2003, 06:11:03 PM »
Reply with quote

 ??? ??? ???
when I attach file  has error


2: OpenDir: Invalid argument (errno 22)
(c:\Inetpub\Home\thcity.com\horus\yabbse\Sources\Post.php ln 689)

this code in Post.php line 689
$dir=opendir($modSettings['attachmentUploadDir']);

error on sourcecode or Mod????
I setup path attach file in admin
httpd/home/thcity.com/horus/yabbse/attachments
http://www.thcity.com/horus/yabbse/attachments

If you read  not understand
I'm sorry my english not strong :-X
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:error attach file again !!!!
« Reply #3 on: March 02, 2003, 06:18:41 PM »
Reply with quote

This is, I'm sorry to tell you, a user error.

You are assuming that you are on a linux serevr with a linux path - this is not the case, which is clear from your error message.

To get the attachments path, I simply take the c:\Inetpub\Home\thcity.com\horus\yabbse\Sources\Post.php from your error, and strip off the Sources\Post.php.  Then, I add attachments.

Therefore, your path is:
c:\Inetpub\Home\thcity.com\horus\yabbse\attachments
OR
c:/Inetpub/Home/thcity.com/horus/yabbse/attachments
(either one works just as well.)

There should be NO httpd in your paths, and there SHOULD be a "c:".

-[Unknown]
Logged
SuSe
Noobie
*
Posts: 8


I'm a llama!

Re:error attach file again !!!!
« Reply #4 on: March 03, 2003, 04:31:22 PM »
Reply with quote

Thank you very much for your advice
I use it :D :D :D
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  error attach file again !!!! « 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.029 seconds with 21 queries.