Avatar yukleme sorunu..

TripleH

New member
Katılım
7 Ara 2009
Mesajlar
44
Reaction score
0
Puanları
0
Konum
gurbet..
Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/../:/tmp:/var/tmp:/usr/local/lib/php/) in [path]/includes/class_dm_userpic.php on line 205

Warning: fopen() [function.fopen]: Filename cannot be empty in [path]/includes/class_image.php on line 334


Arkadaslar foruma avatar yukle dedigimde boyle bi hata ile karsilasiyorum vb yi yeni kullanmaya basladim ve pekde yetenekli oldugum soylenemez:crying:

intenetten biraz arastirdim bu sorun ile birkac mesaj var ve cozum niteleginde degiller . bu konu hakkinda bana yardimci olabilirmisiniz forumu daha yeni kurdum.

Cozum olarak nette safe directory de tmp diye bi dosya acin diyolar ancak GD kullanirsam olmuyor image magic 6 yi secip alttaki url ye dosyanin yolunu belirttigimde de kod almiyorum ama yine yuklemiyor hata veriyor. acaba class_image.php de manuel olarak dosya ismi mi girmemiz gerekiyor :bored:
Cozumlerinizi bekliyorum ..
 
Hata Bu ayarlamalar sonucu duzelmistir...

- Asagidaki konumdan izinleri kontrol edin

1- AdminCP > vBulletin Options > User Picture Options
Code:

Avatars Enabled = Yes
Avatar Display Width = 3
Avatars Per-Page = 6
Profile Pictures Enabled = Yes


2- AdminCP > vBulletin Options > User Listing & Profile Viewing > Member List Field Options
Code:

Profile Picture = Yes
Avatar = Yes


3- AdminCP > vBulletin Options > User Registration Options > Default Registration Options
Code:

Display Avatars = Yes

AdminCP > vBulletin Options > Message Attachment Options
Code:

Limit Space Taken Up By Attachments (Total) = 0
Attachments Per Post = 5
Attachment Upload Inputs = 5
Attachment URL Inputs = 5

B-Kullanici Grup izinleri :

1- AdminCP > Usergroups > Usergroup Manager > [Registered User] > Picture Uploading Permissions
Code:

Can Upload Profile Pictures = Yes
Can Upload Animated Profile Picture = Yes
Profile Picture Maximum Width (pixels) = 150
Profile Picture Maximum Height (pixels) = 150
Profile Picture Maximum File Size (bytes) = 153600
Can Upload Custom Avatars = Yes
Can Upload Animated Avatar = Yes
Custom Avatar Maximum Width (pixels) = 150
Custom Avatar Maximum Height (pixels) = 150
Custom Avatar Maximum File Size (bytes) = 153600
Can Upload Images for Signature = Yes
Can Upload Animated GIF for Signature = Yes
Signature Image Maximum Width (pixels) = 150
Signature Image Maximum Height (pixels) = 150
Signature Image Maximum Filesize (bytes) =153600

2- AdminCP > Usergroups > Usergroup Manager > [Registered User] > Attachment Permissions
Code:

Can Upload Attachments = Yes
Space (in bytes) that a user's total attachment usage may consume = 0

C- Forum izinleri (Eklenti):
AdminCP > Attachments > Attachment Permissions (Bu kisimda istenilen uzanti icin kullanici grubu izinlei düzenlenir (jpg resmi icin asagidaki gibidir)
Code:

Can use this extension = 153600
Maximum Width = 1024
Maximum Height = 1024

D- Avatar Depolama Konumu :

Eger avatarlar dosya sisteminde depolanacak ise dizinlerin varligi asagidaki gibi olmalidir ve CHMOD 755 (bazi sunucularda 777) olmalidir

AdminCP > Avatars > User Picture Storage Type
Code:

Avatar File Path = ./customavatars
URL to avatars = customavatars
Profile Picture Path = ./customprofilepics
URL to Profile Pictures = customprofilepics
Signature Picture Path = ./signaturepics
URL to Signature Pictures = signaturepics

E- Script Sorunlari :
1-Yüklemeyi engelleyici 3.parti Hack/Plug-in veya script izinleri
2-vBulletin Orjinal kodlarin disinda yapilan düzenlemeler (modifiye)
3- Thema/ Stil kaynakli sorunlar


F- Sunucu Sorunlari
1- Asagidaki konumdan php.ini degiskenlerini dogrulayin

Code:

allow_url_fopen = On
upload_tmp_dir
upload_max_filesize = 8MB
safe_mode = off
extension_dir = ./
file_uploads = On

2- AdminCP > vBulletin Options > Server Settings and Optimization Options
Code:

Safe Mode Upload Enabled = No
Safe Mode Temporary Directory = /tmp
 
Geri
Üst