Internal Server Error

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

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

    agil Poster 1.0

    Messages:
    74
    Likes Received:
    2
    Trophy Points:
    8
    Mohon bantuan masalah internal server error...

    pesan yang muncul :

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

    Please contact the server administrator, webmaster@xxxxxxxxxxx.com 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.


    saya coba lihat .htaccess
    isinia : php_value register_globals 1

    kalau isi .htaccess saya hilangin, maka web bisa terbuka namun ada beberapa pesan error yang muncul, yaitu :

    Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /home/xxxx/public_html/configdb.php on line 13

    Warning: Cannot modify header information - headers already sent by (output started at /home/realbis/public_html/configdb.php:13) in /home/xxxx/public_html/affiliate.php on line 24

    Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /home/xxxxx/public_html/lisensi.php on line 8
     
  2. Adhie

    Adhie Expert 1.0

    Messages:
    733
    Likes Received:
    56
    Trophy Points:
    28
    kemungkinan ga bisa override php.ini mas
    CMIIW
     
  3. galuh82

    galuh82 Hosting Guru Web Hosting (Company)

    Messages:
    2,514
    Likes Received:
    186
    Trophy Points:
    63
    error setelah update .htaccess itu bisa disebabkan versi php tidak kompatible dengan scripting webnya .. coba downgrade versi phpnya atau sesuaikan scriptnya. CMIIW
     
  4. localhost

    localhost Apprentice 2.0

    Messages:
    576
    Likes Received:
    39
    Trophy Points:
    28
    Internal Server Error saat menggunakan parameter php di .htaccess karena php tidak diinstall sebagai mod_php melainkan cgi/fastcgi jadi solusi gunakan php.ini dengan lokasi yang sama dengan scriptnya.


    Warning: date() [function.date]: tambahkan baris perintah ini di php.ini
    date.timezone = "lokasl" misal date.timezone = "Asia/Jakarta"


    Warning: Cannot modify header information - headers already sent by ... itu karena di php.ini session sudah diset sebagai auto start, solusinya bisa dimatikan auto startnya atau : fungsi pemanggilan session pada script disimpan paling atas
    misal :

    <?php
    ob_start();
    session_start();
    ?>
    .... isi selanjutnya...



    koreksi kalau ada salah ya :)

    salam
     
  5. 1stserver

    1stserver Hosting Guru Web Hosting

    Messages:
    1,801
    Likes Received:
    175
    Trophy Points:
    63
    Kalau lihat errornya, sepertinya hosting provider anda baru saja upgrade PHP dari 5.2.x ke 5.3.x
    Sebaiknya kasih tahu ke hoster-nya untuk dibetulkan setting PHP.INI nya
     
  6. agil

    agil Poster 1.0

    Messages:
    74
    Likes Received:
    2
    Trophy Points:
    8
    saya juga punya web di hosting yang sama, scriptnya sama, hanya domainnya saja yang berbeda. web tersebut jalan dengan baik.
    tapi ketika saya buat web lagi pakai script tersebut untuk hosting yang sama, DNS yang sama...IP servernya juga sama...
    hasilnya error.
     
  7. agil

    agil Poster 1.0

    Messages:
    74
    Likes Received:
    2
    Trophy Points:
    8
    isi file .htaccess

    php_value register_globals 1



    isi file php.ini

    register_globals = on


    mohon dibantu apa yang perlu ditambahkan dan apa yang perlu dikurangi..
     
  8. localhost

    localhost Apprentice 2.0

    Messages:
    576
    Likes Received:
    39
    Trophy Points:
    28
    tidak boleh ada php_value di .htaccess
    pindahkan semua ke php.ini
     
  9. jagoan

    jagoan Apprentice 1.0 Web Hosting (Company)

    Messages:
    207
    Likes Received:
    20
    Trophy Points:
    18
    Untuk setting php, coba ditanyakan ke provider hostingnya apakah dilakukan via .htaccess atau php.ini.
    Serta bila menggunakan cpanel, untuk error internat server error tersebut bisa dicek penyebabnya di menu error log.
    semoga segera selesai.
     
  10. agil

    agil Poster 1.0

    Messages:
    74
    Likes Received:
    2
    Trophy Points:
    8
    di .htaccess seharusnya isi dengan apa?
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...