Skocz do zawartości

FanPL

Użytkownicy
  • Zawartość

    81
  • Rejestracja

  • Ostatnio

  • Wygrane dni

    1

Posty napisane przez FanPL


  1. Inteiral =/

    2013/01/05 02:45:35 [error] 19747#0: *92 rewrite or internal redirection cycle while internally redirecting to "/error/404.html", client: Moje ip, server: domena.pl, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:90$
    

    Ten sam błąd =/


  2. Nginx przy włączaniu wywala bład. Ale w /usr/share[...] nie ma fastcgi_params bo tam w katalogu www trzymam po prostu stronę główną, a subdomeny w /var/www. Odziwo zrobiłem drugą subdomenę i zrobiłem w niej folder i wsadziłem tam plik .php i odtworzyło ładnie. Tylko z tym MyBB jakiś problem :/

     

    @edit

    Na subdomenę wgrałłem mybb i podczas wgrywanie, jak się jeszcze /inc nie zuplałdowało to był zwyłky error php falied to open (tamto require_once). A jak się już wgrało to znowu w logu jest:

    2013/01/05 18:40:19 [error] 17550#0: *8 rewrite or internal redirection cycle while internally redirecting to "/error/404.html", client: 66.249.78.4, server: test.iside.pl, request: "GET /ratethread.php?tid=32&rating=3&my_post_key=80da2$
    


  3. Więc tak, fpm.conf nie mogłem znaleźć :unsure:. Znalazłem za tofastci_params i mam takie same. A to mój plik (Wygenerowany przez ispconfig, trochę zmieniony) subdomeny.

    server {
        listen *:80;
    
    
        server_name kamil.iside.pl www.kamil.iside.pl;
    
        root   /var/www/kamil.iside.pl/web;
    
    
    
        index index.html index.htm index.php index.cgi index.pl index.xhtml;
    
    
    
        error_page 400 /error/400.html;
        error_page 401 /error/401.html;
        error_page 403 /error/403.html;
        error_page 404 /error/404.html;
        error_page 405 /error/405.html;
        error_page 500 /error/500.html;
        error_page 502 /error/502.html;
        error_page 503 /error/503.html;
        recursive_error_pages on;
        location = /error/400.html {
    	    internal;
        }
        location = /error/401.html {
    	    internal;
        }
        location = /error/403.html {
    	    internal;
        }
        location = /error/404.html {
    	    internal;
        }
        location = /error/405.html {
    	    internal;
        }
        location = /error/500.html {
    	    internal;
        }
        location = /error/502.html {
    	    internal;
        }
        location = /error/503.html {
    	    internal;
        }
    
        error_log /var/log/ispconfig/httpd/kamil.iside.pl/error.log;
        access_log /var/log/ispconfig/httpd/kamil.iside.pl/access.log combined;
    
    
        location ~ \.php$ {
    	    try_files $uri =404;
    	    include /etc/nginx/fastcgi_params;
    	    fastcgi_pass 127.0.0.1:9010;
    	    fastcgi_index index.php;
    	    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    	    fastcgi_param PATH_INFO $fastcgi_script_name;
    	    fastcgi_intercept_errors on;
        }
    
    
    
    }
    
    


  4. Jedynie to:

    013/01/05 02:45:35 [error] 19747#0: *92 rewrite or internal redirection cycle while internally redirecting to "/error/404.html", client: IP, server: domena.pl, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:90$
    

    (Poprawiłem strony błędów(Pliki .html na nowo wrzuciłem do /error/)


  5. Wydaje mi się, że błedem może być to, że Virtual Directory Support jest wyłączony.

    Linjka 19(global.php)[Daje z całą funkcją]:

    $working_dir = dirname(__FILE__);
    if(!$working_dir)
    {
       $working_dir = '.';
    }
    
    // Load main MyBB core file which begins all of the magic
    require_once $working_dir."/inc/init.php";
    


  6. Hej, niedawno postawiłem sobie na moim serwerze VPS nginx + php fm + mysql + ispconfig. Na mojej subdomenie dałem phpinfo i pokazało się ładnie, lecz jak wrzuciłem tam pliki myBB to mam błąd 500 Interial Server Error. Oto log z nginxa:

    2013/01/05 02:17:26 [error] 18315#0: *3 FastCGI sent in stderr: "PHP message: PHP Warning:  require_once(/var/www/clients/client0/web1/web/inc/init.php): failed to open stream: No such file or directory in /var/www/clients/client0/web1/$
    PHP message: PHP Fatal error:  require_once(): Failed opening required '/var/www/clients/client0/web1/web/inc/init.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/clients/client0/web1/web/global.php on line 19" while $
    

    Błąd niby wskazuje, że nie ma pliku init.php, ale przez FileZille sprawdziłem i okazało się, że jest.

    Macie jakiś pomysł jak to naprawić?


  7. Uphost jest moim zdaniem firmą wartą polecenia.

    Posiadam tam serwer www i miałem tam też VPS'a.

    Plusy:

    Miła administracja (Nie wiem o co nie którym chodzi z Panem Hubertem)

    Szybkie Serwery

    Uptime

    Cena

    Łączenie przez FTP (szybkie)

    Backupy

    Tego jest jeszcze więcej :).

    Minusy:

    Tak naprawdę jedynym minusem jaki mogę zarzucić uphost jest blokada na ściąganie plików ze strony.

×