a******i 发帖数: 30 | 1 I just installed vBulletin on my site. Everything runs Ok except that I can
not upload images even I did turned the function on. Any one knows why? |
z****k 发帖数: 49 | 2 文件夹的权限设置的对吗?
【在 a******i 的大作中提到】 : I just installed vBulletin on my site. Everything runs Ok except that I can : not upload images even I did turned the function on. Any one knows why?
|
a******i 发帖数: 30 | 3 set /tmp folder to 777. should be everyone can write and read.
can
【在 z****k 的大作中提到】 : 文件夹的权限设置的对吗?
|
s**********i 发帖数: 711 | 4
does the php configuration allow uploading to outside of the
php directory? if not, you may need to create a subdir in
the same directory use as temporary folder.
【在 a******i 的大作中提到】 : set /tmp folder to 777. should be everyone can write and read. : : can
|
a******i 发帖数: 30 | 5 It is supposed to write all the thing directly to MySQL database. It should
not have anything to do with the folder permission. Still can not figure out
what is the problem.
【在 s**********i 的大作中提到】 : : does the php configuration allow uploading to outside of the : php directory? if not, you may need to create a subdir in : the same directory use as temporary folder.
|
s**********i 发帖数: 711 | 6
it's not supposed to write directly to DB.
it creates a temp file first.
and it's configurable under admin control.
99% it's permission problem.
【在 a******i 的大作中提到】 : It is supposed to write all the thing directly to MySQL database. It should : not have anything to do with the folder permission. Still can not figure out : what is the problem.
|
a******i 发帖数: 30 | 7 I will try again see if it work. Thanks, I will let you later.
should
out
【在 s**********i 的大作中提到】 : : it's not supposed to write directly to DB. : it creates a temp file first. : and it's configurable under admin control. : 99% it's permission problem.
|
a******i 发帖数: 30 | 8 The PHP safe mode is off. Should I turn it on. i think that it should work
whent he safe mode is off because in the admin control that is the option that
set yes if the safe mode is on and no if that is off. Then only if the afe
mode is on you need to set a temp folder for upload attachmnets. It is not
upload avatars. I did not enable the upload avatars yet. In my understanding
that it is supposed to put attachment somewhere and write to the DB. Where
that filer should be? can not be the real /t
【在 s**********i 的大作中提到】 : : it's not supposed to write directly to DB. : it creates a temp file first. : and it's configurable under admin control. : 99% it's permission problem.
|
s**********i 发帖数: 711 | 9
you can't turn on php safe mode on or off. it's server configuration,
not vbulletin. you can only choose to use safe mode or not depending
on how your server is setup. i.e., if your server uses safe mode,
you must choose yes there and give a temporary folder name. you also
must create this folder under your vbulletin directory and set the
permission to 777.
【在 a******i 的大作中提到】 : The PHP safe mode is off. Should I turn it on. i think that it should work : whent he safe mode is off because in the admin control that is the option that : set yes if the safe mode is on and no if that is off. Then only if the afe : mode is on you need to set a temp folder for upload attachmnets. It is not : upload avatars. I did not enable the upload avatars yet. In my understanding : that it is supposed to put attachment somewhere and write to the DB. Where : that filer should be? can not be the real /t
|
s**********i 发帖数: 711 | 10
this temp folder MUST be under your vbulletin folder. it can't be
/tmp or everwhere out of your vbulletin folder. because that's what
safe mode do: prevent anyone upload files to outside of the folder.
【在 s**********i 的大作中提到】 : : you can't turn on php safe mode on or off. it's server configuration, : not vbulletin. you can only choose to use safe mode or not depending : on how your server is setup. i.e., if your server uses safe mode, : you must choose yes there and give a temporary folder name. you also : must create this folder under your vbulletin directory and set the : permission to 777.
|
a******i 发帖数: 30 | 11 Actually, I am running a small server. So i do can turn safe mode on and off.
I already figure out what is the problem now. It is a stupid mistake. The php
configuration did not turn on the file handling upload function. I am really
stupid. Thank you shishishishi. Once I finished my site construction, you may
want to take a look at it. Again, thank you. talk you later.
that
understanding
【在 s**********i 的大作中提到】 : : this temp folder MUST be under your vbulletin folder. it can't be : /tmp or everwhere out of your vbulletin folder. because that's what : safe mode do: prevent anyone upload files to outside of the folder.
|