1 頁 (共 2 頁)

[問題]上傳頭像問題

發表於 : 2002-04-18 23:52
crab
當我測試上傳頭像時,格式都正確,但是送出後卻顯示\r

「頭像圖檔格式必須為 .jpg, .gif 或是 .png」

請問如何解決(我是在自己家裡架設)

發表於 : 2002-04-19 00:12
oO]-[Oo
資料不夠.. 你寫詳細一點

發表於 : 2002-04-19 00:24
crab
我使用頭像控制面板從我的電腦上傳圖檔到系統內\r
而且我所選的圖檔的格式都符合
但是它卻顯示"頭像圖檔格式必須為 .jpg, .gif 或是 .png"
我的圖檔是 .gif 但它卻不讓我上傳

發表於 : 2002-04-19 06:11
小竹子
你頭像的路徑連結呢?

發表於 : 2002-04-19 22:00
crab
我使用"從連結上傳圖檔"結果還是一樣\r
它還是顯示"頭像圖檔格式必須為 .jpg, .gif 或是 .png"
\n路徑 → E:\Temp\crab.jpg

發表於 : 2002-04-19 22:41
小竹子

你的路徑連結是錯誤的吧\r
我說的是你phpbb的頭像檔案路徑

個人頭像儲存路徑
在您 phpBB 2 根目錄底下的路徑, 例如: images/avatars
系統相簿儲存路徑
在您 phpBB 2 根目錄底下的路徑, 例如: images/avatars/gallery

發表於 : 2002-04-19 23:17
crab
抱歉,我誤會您的意思了
我的路徑就跟您所說的一樣\r
個人頭像儲存路徑:images/avatars
系統相簿儲存路徑:images/avatars/gallery

發表於 : 2002-04-19 23:18
小竹子
你上傳的檔案大小是小於等於你的設定值嗎?

發表於 : 2002-04-19 23:32
crab
檔案大小是小於設定值\r
且格式都符合

發表於 : 2002-04-19 23:35
小竹子
那你的資料夾屬性有開放嗎
是755嗎?

發表於 : 2002-04-20 00:08
crab
我是用Windows架設的
我不懂您所說的755

發表於 : 2002-06-07 09:39
Dreamer
我想請問一下,我在上傳圖檔的時候.......卻發出這種訊息,不知我是哪裡設定錯誤.
我想好像是權限的問題,但是我因該要如何解決呢??

Warning: Unable to create './images/avatars/3dd85c0d3d000a743bcaf.jpg': Permission denied in /usr/local/www/data.default/phpbb/includes/usercp_avatar.php on line 218

Warning: Cannot add header information - headers already sent by (output started at /usr/local/www/data.default/phpbb/includes/usercp_avatar.php:218) in /usr/local/www/data.default/phpbb/includes/page_header.php on line 451

Warning: Cannot add header information - headers already sent by (output started at /usr/local/www/data.default/phpbb/includes/usercp_avatar.php:218) in /usr/local/www/data.default/phpbb/includes/page_header.php on line 452

Warning: Cannot add header information - headers already sent by (output started at /usr/local/www/data.default/phpbb/includes/usercp_avatar.php:218) in /usr/local/www/data.default/phpbb/includes/page_header.php on line 453

發表於 : 2002-06-10 13:18
gordonn
請改變 images/acatars權限
chmod 777

發表於 : 2002-06-10 18:38
動機不明
我也問一下:
我的論壇會員每當更新一次頭像,在我的資料夾 images/avatars/uploads 裡面就會多出一個新的圖檔,之前使用的舊頭像不會被覆蓋過去,這是原本就有的問題嗎? (使用 RC2 時反而沒有這問題)

發表於 : 2002-06-10 19:31
小竹子
河風 寫:我也問一下:
我的論壇會員每當更新一次頭像,在我的資料夾 images/avatars/uploads 裡面就會多出一個新的圖檔,之前使用的舊頭像不會被覆蓋過去,這是原本就有的問題嗎? (使用 RC2 時反而沒有這問題)
他會一直順序的排下去\r
不會覆蓋原來的