Fatal error di wordpress.

Discussion in 'Desain Web dan Programming' started by agil, 1 Sep 2013.

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

    agil Poster 1.0

    Messages:
    74
    Likes Received:
    2
    Trophy Points:
    8
    saya baru saja melakukan upgrade beberapa plugin...
    setelah semua upgrade selesai...

    halaman admin tidak bisa dikases. pesan yang muncul adalah :

    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 122880 bytes) in /home/alumni/public_html/wp-admin/includes/menu.php on line 126


    mohon bantuan solusi..
     
  2. Ady Putra

    Ady Putra Beginner 2.0

    Messages:
    29
    Likes Received:
    3
    Trophy Points:
    3
    itu maximum memory untuk process php Tuan uda melebihi batas,
    makanya langsung muncul fatal error seperti itu

    Tuan hostingan nya pakai cpanel kah?
    kalo iya, coba buat file .htaccess di folder public_html dengan isi sebagai berikut

    Code:
    php_value memory_limit 128M
    
    semoga tidak terjadi internal server error,
    kalau muncul error seperti itu, berarti Tuan haru hapus file .htaccess tadi,
    dan request ke hostingan Tuan untuk naekin memory limit php nya
     
  3. agil

    agil Poster 1.0

    Messages:
    74
    Likes Received:
    2
    Trophy Points:
    8

    setelah saya coba gunakan php_value memory_limit 128M, seperti ini :
    # BEGIN WordPress

    # END WordPress
    php_value memory_limit 128M

    maka hasilnya :


    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@xxxxxxxxx.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.xxxxxxxx.org Port 8
     
  4. dhyhost

    dhyhost Hosting Guru Web Hosting

    Messages:
    3,929
    Likes Received:
    613
    Trophy Points:
    113
    coba tanyakan ke pihak hosting berapa limit memory php yang diberikan...
    jika dibawah 128M coba minta dinaikan saja limitnya, kalau tidak bisa ya mau tidak mau harus nonaktifkan plugin yang memberatkan itu...
     
  5. BikinDesainSitus

    BikinDesainSitus Hosting Guru

    Messages:
    1,425
    Likes Received:
    84
    Trophy Points:
    48
    beberapa hoster memang membatasi user untuk memodifikasi file php.ini atau .httacces, coba konsultasi dulu ke hoster yang bersngkutan
     
  6. andhi

    andhi Hosting Guru

    Messages:
    1,678
    Likes Received:
    132
    Trophy Points:
    63
    Pake cloudlinux ga hostingnya? Klo pake ada menu select php version ga ? Klo ada bsa diset tuh memory limitnya :D
     
  7. antmediahost

    antmediahost Apprentice 1.0

    Messages:
    262
    Likes Received:
    41
    Trophy Points:
    28
    Kalau berbasis cpanel, umumnya php.ini bisa di customs sendiri...
    buat saja file php.ini di dir yang membutuhkan lalu isikan :

    memory_limit 128M
     
  8. agil

    agil Poster 1.0

    Messages:
    74
    Likes Received:
    2
    Trophy Points:
    8
    katanya pakai CentOS
     
  9. andhi

    andhi Hosting Guru

    Messages:
    1,678
    Likes Received:
    132
    Trophy Points:
    63
    Mending mnta bantuan hosternya ajah untuk naikkin limit memorynya ke 128
     
  10. LIMS

    LIMS Poster 2.0

    Messages:
    137
    Likes Received:
    51
    Trophy Points:
    28
    hapus manual saja via cpanel plugin yg bikin berat itu, jgn lupa backup dulu plugin tsb, kan nanti bisa di balikin klo memory nya dah naik :D

    untuk cek memory limit di wp bisa pakai plugin ini WP-Memory-Usage jd ketahuan berapa memory limit nya, terus tanya he hosternya
     
    Tiroid and BikinDesainSitus like this.
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...