Wsparcie » Zaawansowane » WordPress nie kończy publikować wpisu

  • Hej!
    Słuchajcie trafiłem na dziwny problem. WordPress nie chce przestać publikować wpisy tzn. po kliknięciu „publikuj” wywala w efekcie po długim myśleniu błąd 500…

    spotkał się ktoś z tym?
    Dotychczasowe informacje zdobyte nic nie dają, ani dodanie php.ini, ani reinstalacja..

Viewing 5 replies - 1 through 5 (of 5 total)
  • sprawdź w logach serwera jakimi błędami sypie

    Thread Starter rwtryb

    (@rwtryb)

    [Mon Mar 04 01:15:56 2013] [warn] [client adres] mod_fcgid: read data timeout in 125 seconds
    [Mon Mar 04 01:15:56 2013] [error] [client adres] Premature end of script headers: php-fcgi
    [Mon Mar 04 01:41:52 2013] [warn] [client adres] mod_fcgid: stderr: PHP Fatal error:  Call to undefined function  get_header() in (taka tam ścieżka do motywu) index.php on line 27
    [Mon Mar 04 02:15:55 2013] [warn] [client adres] mod_fcgid: read data timeout in 125 seconds
    [Mon Mar 04 02:15:55 2013] [error] [client adres] Premature end of script headers: php-fcgi
    [Mon Mar 04 03:15:43 2013] [warn] [client adres] mod_fcgid: read data timeout in 125 seconds
    [Mon Mar 04 03:15:43 2013] [error] [client adres] Premature end of script headers: php-fcgi
    [Mon Mar 04 04:17:23 2013] [warn] [client adres] mod_fcgid: read data timeout in 125 seconds
    [Mon Mar 04 04:17:23 2013] [error] [client adres] Premature end of script headers: php-fcgi

    motyw to wiem, że pewnie trzeba od nowa plik wrzucić. A reszta wynika z niego i to będzie to prawdopodobnie? http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    Znalazłem konfig timeoutów fcgid

    Wrzucam kod z komentarzami:

    <IfModule mod_fcgid.c>
      AddHandler    fcgid-script .fcgi
      IPCConnectTimeout 20                                                                                                                              
    
    # IdleTimeout n (300 seconds)
    # An idle fastcgi application will be terminated after IdleTimeout seconds.
    IdleTimeout 900
    
    # IdleScanInterval n (120 seconds)
    # The scan interval for idle fastcgi applications.
    IdleScanInterval 120
    
    # BusyTimeout n (300 seconds)
    # A fastcgi application will be terminated if handing a single request
    # longer than busy timeout.
    BusyTimeout 300
    
    # BusyScanInterval n (120 seconds)
    # The scan interval for busy timeout fastcgi applications.
    BusyScanInterval 120
    
    # ErrorScanInterval n (3 seconds)
    # The scan interval for exit pending fastcgi applications. fastcgi
    # applications will be terminated within this scanning.
    ErrorScanInterval 9
    
    # ZombieScanInterval n (3 seconds)
    # The scan interval for zombie process.
    ZombieScanInterval 9
    
    # ProcessLifeTime n (3600 seconds)
    # A fastcgi application will be terminated if lifetime expired,
    # even no error is detected.
    ProcessLifeTime 3600
    
    # MaxProcessCount n (1000)
    # The max count of total fastcgi process count.
    MaxProcessCount 15
    
    # DefaultMaxClassProcessCount n (100)
    # The maximum number of fastcgi application instances allowed to run for
    # particular one fastcgi application.
    DefaultMaxClassProcessCount 8
    
    # DefaultMinClassProcessCount n (3)
    # The minimum number of fastcgi application instances for any one fastcgi
    # application.
    # Idle fastcgi will not be killed if their count is less than n
    # Set this to 0, and tweak IdleTimeout
    DefaultMinClassProcessCount 6
    
    </IfModule>

    Thread Starter rwtryb

    (@rwtryb)

    dobra mam 🙂
    Dziękuje wszystkich za pomoc 🙂

    rozwiązanie z tego miejsca: http://blog.mixmaxspace.com/wordpress-2/mengatasi-high-cpu-load-untuk-wordpress-admin-ajax-php

    Dodajemy:

    if ( ! isset( $_REQUEST['action'] ) )
    die(‘-1′);

    w sumie to działa i publikuje post, a póki co nie ma żadnych dodatkowych problemów

    Thread Starter rwtryb

    (@rwtryb)

    nie mogę już edytować poprzedniego, ale to jednak nie rozwiązuje problemu do końca

Viewing 5 replies - 1 through 5 (of 5 total)
  • Temat ‘WordPress nie kończy publikować wpisu’ jest zamknięty na nowe odpowiedzi.