• 10-03-2021, 17:35:15
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Merhaba Arkadaşlar Sitemde Hata Vardı erorr_log Kayıtlarında ise index.php de 34.satırda hata veriyordu baktığımda ise

    Bu şekilde bir bölüm vardı sorun ne olabilir lütfen yardımcı olun teşekkkürler.
  • 10-03-2021, 17:38:52
    #2
    Sanırım decode edilmiş bir kod.
  • 10-03-2021, 17:39:19
    #3
    Tamamın atar mısınız
  • 10-03-2021, 17:41:50
    #4
    sanırım codeigniter index.php dosyası bu. eğer doğru anladıysam standart codeigniter index.php dosyası uükleyin düzelir
  • 10-03-2021, 17:44:14
    #5
    berkaycatak adlı üyeden alıntı: mesajı görüntüle
    Tamamın atar mısınız
    Hocam Pm Gönderdim
  • 10-03-2021, 17:44:45
    #6
    görsel olarak burada paylaşır mısınız?
    Wirem adlı üyeden alıntı: mesajı görüntüle
    Hocam Pm Gönderdim
  • 10-03-2021, 17:45:20
    #7
    berkturk adlı üyeden alıntı: mesajı görüntüle
    sanırım codeigniter index.php dosyası bu. eğer doğru anladıysam standart codeigniter index.php dosyası uükleyin düzelir
    Evet Hocam codeigniter dosyası bu . tam olarak neyi yükleyeceğimi anlamadım hocam
  • 10-03-2021, 17:47:10
    #8
    berkaycatak adlı üyeden alıntı: mesajı görüntüle
    görsel olarak burada paylaşır mısınız?
    <?php
    define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
    
    if (function_exists('date_default_timezone_set')) {
        date_default_timezone_set('Europe/Istanbul');
    }
    
    switch (ENVIRONMENT) {
    case ENVIRONMENT:
        error_reporting(-1);
        ini_set('display_errors', 1);
        break;
    
    default:
        switch (ENVIRONMENT) {
        case 'production':
            ini_set('display_errors', 0);
    
            if (version_compare(PHP_VERSION, '5.3', '>=')) {
                error_reporting(32767 & ~8 & ~8192 & ~2048 & ~1024 & ~16384);
            }
            else {
                error_reporting(32767 & ~8 & ~2048 & ~1024);
            }
    
            break;
        }
    default:
        error_reporting(32767 & ~8 & ~2048 & ~1024);
    }
    (, true, 503);
    
    echo 'The application environment is not set correctly.';
    exit(1);
    ENVIRONMENT;
    $system_path = 'system';
    $application_folder = 'application';
    $view_folder = '';
    
    if (defined('STDIN')) {
        chdir(dirname(__FILE__));
    }
    
    if (($_temp = realpath($system_path)) !== false) {
        $system_path = $_temp . DIRECTORY_SEPARATOR;
    }
    else {
        $system_path = strtr(rtrim($system_path, '/\\'), '/\\', DIRECTORY_SEPARATOR . DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
    }
    
    if (!is_dir($system_path)) {
        header('HTTP/1.1 503 Service Unavailable.', true, 503);
        echo 'Your system folder path does not appear to be set correctly. Please open the following file and correct this: ' . pathinfo(__FILE__, PATHINFO_BASENAME);
        exit(3);
    }
    
    define(, 'SELF');
    define('BASEPATH', $system_path);
    define('FCPATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
    define('SYSDIR', basename(BASEPATH));
    
    if (is_dir($application_folder)) {
        if (($_temp = realpath($application_folder)) !== false) {
            $application_folder = $_temp;
        }
        else {
            $application_folder = strtr(rtrim($application_folder, '/\\'), '/\\', DIRECTORY_SEPARATOR . DIRECTORY_SEPARATOR);
        }
    }
    else if (is_dir(BASEPATH . $application_folder . DIRECTORY_SEPARATOR)) {
        $application_folder = BASEPATH . strtr(trim($application_folder, '/\\'), '/\\', DIRECTORY_SEPARATOR . DIRECTORY_SEPARATOR);
    }
    else {
        header('HTTP/1.1 503 Service Unavailable.', true, 503);
        echo 'Your application folder path does not appear to be set correctly. Please open the following file and correct this: ' . SELF;
        exit(3);
    }
    
    define('APPPATH', $application_folder . DIRECTORY_SEPARATOR);
    
    if (!isset($view_folder[0]) && is_dir(APPPATH . 'views' . DIRECTORY_SEPARATOR)) {
        $view_folder = APPPATH . 'views';
    }
    else if (is_dir($view_folder)) {
        if (($_temp = realpath($view_folder)) !== false) {
            $view_folder = $_temp;
        }
        else {
            $view_folder = strtr(rtrim($view_folder, '/\\'), '/\\', DIRECTORY_SEPARATOR . DIRECTORY_SEPARATOR);
        }
    }
    else if (is_dir(APPPATH . $view_folder . DIRECTORY_SEPARATOR)) {
        $view_folder = APPPATH . strtr(trim($view_folder, '/\\'), '/\\', DIRECTORY_SEPARATOR . DIRECTORY_SEPARATOR);
    }
    else {
        header('HTTP/1.1 503 Service Unavailable.', true, 503);
        echo 'Your view folder path does not appear to be set correctly. Please open the following file and correct this: ' . SELF;
        exit(3);
    }
    
    define('VIEWPATH', $view_folder . DIRECTORY_SEPARATOR);
    require_once BASEPATH . 'core/CodeIgniter.php';
    
    ?>
  • 10-03-2021, 17:55:00
    #9
    Hata veren satıra
    header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
    yazarak dener misiniz?