• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Cách khắc phục lỗi upload avatar

congtust24

Well-Known Member
Vip
Cái này hôm bữa có member hỏi sao không hiện avatar nên hôm nay rảnh viết bài này anh em nào có bị như vậy còn biết cách khắc phục.
Upload of file failed
Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/***:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/class_upload.php on line 346
những lỗi này có thể là do safe mode, hoặc open_basedir restrictions gây nên.

Cách khắc phục:
1/ Admin CP -> vBulletin Options -> Server Settings and Optimization Options -> Safe Mode Upload Enabled -> chọn yes
2/ tạo 1 thư mục tên tmp trong thư mục forum và chmod nó thành 777
3/ trong Admin CP -> vBulletin Options -> Server Settings and Optimization Options -> Safe Mode Temporary Directory điền /tmp
nguồn nsc
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top