gagal upload di wp e-commerce

Discussion in 'Desain Web dan Programming' started by tinyglam, 13 Mar 2012.

Thread Status:
Not open for further replies.
  1. tinyglam

    tinyglam Beginner 2.0

    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Dear all Master,

    ceritanya saya bikin subdomain di blog saya,trus sy install wp ecommerce sama theme buat ecommerce nya
    uda berhasil di localhost n lancar jaya, uda berhasil jg diupload di hosting tp tiap upload media/files muncul pesan erorr

    Warning: copy(/home/sloki/user/******/sites/****.net/www/wp-content/uploads/2012/03/banner04.jpg) [function.copy]: failed to open stream: Permission denied in /home/sloki/user/k5634266/sites/****.net/www/wp-admin/includes/file.php on line 348

    Warning: Cannot modify header information - headers already sent by (output started at /home/sloki/user/*******/sites/****.net/www/wp-admin/includes/file.php:348) in /home/sloki/user/*******/sites/****.masoki.net/www/wp-includes/pluggable.php on line 866

    sudah saya ubah permission file n foldernya jd writeable jg masih sama aja...knp ya? :(

    mohon saran :confused:
     
  2. vkios01

    vkios01 Expert 1.0

    Messages:
    749
    Likes Received:
    18
    Trophy Points:
    18
    ini satu file, atau keseluruhan file om?
    coba beritahu juga nama file dan besar file yang mau diupload.
    prediksi saya ada yg aneh dengan nama filenya.
     
  3. BennyKusman

    BennyKusman Hosting Guru DWH Guardian Web Hosting (Company)

    Messages:
    2,234
    Likes Received:
    239
    Trophy Points:
    63
    ini uploadnya satu per satu pake ftp ?
    coba di zipped semua, trus diupload, trus di unzip di servernya.. apa ok ?
     
  4. tinyglam

    tinyglam Beginner 2.0

    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    aneh gmn Tuan maksudnya?
    yg mau di upload tu file image Tuan,kecil kok...saya mau nambahin produk otomatis kan upload image nya...nah tiap mau "add new media" / image muncul pesan sperti itu, saya pke engine wordpress.
     
  5. tinyglam

    tinyglam Beginner 2.0

    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    pke filezilla Tuan,upload satu file saya zip trus saya ekstrak di server
     
  6. twistedshells

    twistedshells Apprentice 1.0

    Messages:
    277
    Likes Received:
    18
    Trophy Points:
    18
    @TS: coba dicek isi file.php dan pluggable.php khususnya baris 348 untuk file.php dan baris 866 untuk file pluggable.php
     
  7. JOGLOMedia

    JOGLOMedia Poster 1.0

    Messages:
    88
    Likes Received:
    4
    Trophy Points:
    8
    klo diliat dr errornya permission denied sptnya ada yg blm pas dngn permission file and directorynya om

    untuk web hosting dgn suphp / fastcgi seting aja permission directory ke 0755, file ke 0644
     
  8. dpnux

    dpnux Expert 1.0

    Messages:
    455
    Likes Received:
    28
    Trophy Points:
    28
    Kalau dilihat, sepertinya direktory/file untuk menyimpan hasil upload tidak memiliki ijin untuk dibaca oleh user lain. Biasanya php menaruh file yang di upload ke /tmp, dari /tmp inilah baru bisa didayagunakan seperi di pindah (move) atau di salin (copy). Perlu dicek apakah tmp mengijinkan pembacaan untuk semua user.

    Bisa juga diset dari php.ini, direktifnya "upload_tmp_dir", ke direktori yang bisa dibaca, misalnya ke direktori home dari user. Bisa buat direktorinya melalui ftp, kemudian diset direktif tadi. Intinya berada di luar dari direktori www aja.
     
  9. tinyglam

    tinyglam Beginner 2.0

    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    yg file.php

    // Copy the temporary file into its destination
    $new_file = $uploads['path'] . "/$filename";
    copy( $tmp_file, $new_file ); // baris 348

    yg pluggable.php baris 866
    header("Location: $location", true, $status);

    gmn Tuan?ada kah yg aneh?
    unlink($tmp_file);
     
  10. tinyglam

    tinyglam Beginner 2.0

    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    defaultnya jg uda seperti itu mas bro :)
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...