Internal Server Error


Status
Not open for further replies.

agil

Poster 2.0
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, [email protected] 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
 

Adhie

Expert 1.0
Verified Provider
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, [email protected] 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

kemungkinan ga bisa override php.ini mas
CMIIW
 

galuh82

Hosting Guru
Verified Provider
error setelah update .htaccess itu bisa disebabkan versi php tidak kompatible dengan scripting webnya .. coba downgrade versi phpnya atau sesuaikan scriptnya. CMIIW
 

localhost

Apprentice 2.0
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
 

agil

Poster 2.0
error setelah update .htaccess itu bisa disebabkan versi php tidak kompatible dengan scripting webnya .. coba downgrade versi phpnya atau sesuaikan scriptnya. CMIIW

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.
 

agil

Poster 2.0
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

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..
 

localhost

Apprentice 2.0
tidak boleh ada php_value di .htaccess
pindahkan semua ke php.ini
 

jagoan

Apprentice 1.0
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.
 
Status
Not open for further replies.

Top