
Sunu Hatası 500 Nasıl Giderilir?
9
●136
- 22-12-2023, 09:17:09Kimlik doğrulama veya yönetimden onay bekliyor.Php + vue ile yazılmış bir websitesi, 500 kodlu sunucu hatası verip açılmıyor. Sorunun çözümü için php versiyon güncellemesi yapıldı hosting firması tarafından ama site tarafında da ayarlama yapılması lazım. Ne yapılması gerektiğine dair hiç bilmeyen birine anlatır gibi anlatabilecek var mı?

- 22-12-2023, 09:31:00ManoFire adlı üyeden alıntı: mesajı görüntüle
Hosting firması bunu yazmıştı:
"However for this you need to review you file shared below and This is customized scripting, we could not able to change it for you. We checked with full, Error 500 means problem with content/script.
/home/.../vendor/composer/platform_check.php on line 25" - 22-12-2023, 09:36:58platform_check.php dosyasının 25. satırında hangi kodlar yer alıyor hocam?
- 22-12-2023, 09:49:4225.satırı silip denediniz mi? @mazda;
kodları resim olarak değil yazı şeklinde gönderirmisiniz orada bir şey eksik gibi duruyor. - 22-12-2023, 10:28:42haberyerel adlı üyeden alıntı: mesajı görüntüle
<?php // platform_check.php @generated by Composer $issues = array(); if (!(PHP_VERSION_ID >= 80100)) { $issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You are running ' . PHP_VERSION . '.'; } if ($issues) { if (!headers_sent()) { header('HTTP/1.1 500 Internal Server Error'); } if (!ini_get('display_errors')) { if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); } elseif (!headers_sent()) { echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; } } trigger_error( 'Composer detected issues in your platform: ' . implode(' ', $issues), E_USER_ERROR ); } - 22-12-2023, 10:30:42Merhaba
PHP sürümünüzü php 8.1 olarak güncelleyip tekrar dener misiniz? - 22-12-2023, 10:38:34@SunucuCenter; hocamın dediğini yazacaktım bende o benden önce davranmış verdiği hata php 8.1 sürümü gerektirir diyor o şekilde denemen lazım @mazda;
