Internal Server Error po przeniesieniu strony na nowy server
Strona 1 z 2 12 OstatniOstatni
Wyniki 1 do 10 z 12

Temat: Internal Server Error po przeniesieniu strony na nowy server

  1. #1
    Debiutant
    Dołączył
    03-12-2014
    Wpisy
    7
    Punkty
    2

    Joomla! 3.0 Internal Server Error po przeniesieniu strony na nowy server

    Witam,
    Próbuję uruchomić stronę po jej przeniesieniu na nowy serwer (z home.pl na hekko.pl). Zarówno podczas przenoszenia za pomocą akeeba kickstart jak i "ręcznego" kopiowania plików przez ftp mam ten sam problem. Po wpisaniu adresu strony pojawia się komunikat "Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator at webmaster@ceworkforce.pl to inform them of the time this error occurred, and the actions you performed just before this 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."
    Gdy usuwam .htaccess to mogę się dostać na stronę główną i backend ale przy uruchamianiu innych zakładek/URL-ów otrzymuję komunikat "The requested URL /about-us was not found on this server". Jak w Global Configuration wyłączę SEF URL to wtedy strona działa.
    W czym właściwie tkwi problem? Chciałbym jednak używać Search Engine Friendly URL-s (z oczywistych powodów). I czy wogóle mogę zostawić katalog główny bez pliku .htaccess?

    Będę niezmiernie wdzięczny za pomoc bo walczę już z tym 4 dzień.

    PS. Przerzucałem też 2 inne strony na ten serwer i wszystko było ok.

  2. Pani Reklamowa
    Pani Reklamowa jest aktywna
    Avatar Panny Google

    Dołączył
    19-08-2010
    Skąd
    Internet
    Postów
    milion
    Pochwał
    setki
  3. #2
    Wyjadacz mac awatar
    Dołączył
    09-10-2011
    Skąd
    Warszawa
    Wpisy
    881
    Punkty
    115

    Domyślny

    A próbowałeś wgrać oryginalny plik .htaccess z instalki Joomli?
    I na jakim silniku jest szablon oraz czy masz może jakieś dodatki do cache-owania powłączane?
    A i czy miałeś na home plik php.ini? Jak tak to tez go "wyłącz"

  4. #3
    Debiutant
    Dołączył
    03-12-2014
    Wpisy
    7
    Punkty
    2

    Domyślny

    Gdyby ktoś miał czas zerknąć to mój .htaccess wyglądą tak:

    :Location *.php
    Use php53
    :Location

    ##
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.
    # @license GNU General Public License version 2 or later; see LICENSE.txt
    ##

    ##
    # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
    #
    # The line just below this section: 'Options +FollowSymLinks' may cause problems
    # with some server configurations. It is required for use of mod_rewrite, but may already
    # be set by your server administrator in a way that dissallows changing it in
    # your .htaccess file. If using it causes your server to error out, comment it out (add # to
    # beginning of line), reload your site in your browser and test your sef url's. If they work,
    # it has been set by your server administrator and you do not need it set here.
    ##

    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks

    ## Mod_rewrite in use.

    RewriteEngine On

    ## Begin - Rewrite rules to block out some common exploits.
    # If you experience problems on your site block out the operations listed below
    # This attempts to block the most common type of exploit `attempts` to Joomla!
    #
    # Block out any script trying to base64_encode data within the URL.
    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    # Block out any script that includes a ********** tag in URL.
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL.
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block out any script trying to modify a _REQUEST variable via URL.
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    # Return 403 Forbidden header and show the content of the root homepage
    RewriteRule .* index.php [F]
    #
    ## End - Rewrite rules to block out some common exploits.

    ## Begin - Custom redirects
    #
    # If you need to redirect some pages, or set a canonical non-www to
    # www redirect (or vice versa), place that code here. Ensure those
    # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
    #
    ## End - Custom redirects

    ##
    # Uncomment following line if your webserver's URL
    # is not directly related to physical file paths.
    # Update Your Joomla! Directory (just / for root).
    ##

    # RewriteBase /

    ## Begin - Joomla! core SEF Section.
    #
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    #
    # If the requested path and file is not /index.php and the request
    # has not already been internally rewritten to the index.php script
    RewriteCond %{REQUEST_URI} !^/index\.php
    # and the request is for something within the component folder,
    # or for the site root, or for an extensionless URL, or the
    # requested URL ends with one of the listed extensions
    RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
    # and the requested path and file doesn't directly match a physical file
    RewriteCond %{REQUEST_FILENAME} !-f
    # and the requested path and file doesn't directly match a physical folder
    RewriteCond %{REQUEST_FILENAME} !-d
    # internally rewrite the request to the index.php script
    RewriteRule .* index.php [L]
    #
    ## End - Joomla! core SEF Section.

    - - - Updated - - -

    php.ini miałem ale tam jest tylko magic_quotes_gpc = Off
    A .htaccess powinien być z oryginalnej instalki w wersji którą używam? Bo chyba go nie mam.

  5. #4
    Wyjadacz mac awatar
    Dołączył
    09-10-2011
    Skąd
    Warszawa
    Wpisy
    881
    Punkty
    115

    Domyślny

    tak z wersji któerj uzywasz, a zwykle nazywa sie
    txt.htaccess, trzeba mu po przegraniu na serwer zmienic nazwe na .htaccess

    a wpis
    Kod:
    :Location *.php
    Use php53
    :Location
    jest pod home.pl i moze nie dzialac na hekko

  6. #5
    Debiutant
    Dołączył
    03-12-2014
    Wpisy
    7
    Punkty
    2

    Domyślny

    Dzięki za radę, zmieniłem i wszystko działa. Choć cały czas jest to dla mnie dziwne, bo dwie inne strony przenosilem w identyczny sposób i działały bez podmieniania htaccess

  7. #6
    Nowicjusz
    Dołączył
    28-11-2019
    Wpisy
    15
    Punkty
    2

    Domyślny

    Jak mozna podpiac sie pod ten temat.


    Tez taki blad mi sie pokazuje po wgraniu kopii. Niestety nie mam juz mozliwosci zrobienia innej kopii. Zrobilem kopie wszystkich plikow dla zabezpieczenia na wszelki wypadek.

    Wyswietla mi sie info po wgraniu kopii o nastepujacej tresci:


    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at hosting2002417@hosting2002417.online.pro to inform them of the time this error occurred, and the actions you performed just before this 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.

    Zmienialem .htacces tez nie pomoglo.

    Prosze o pomoc w rozwiazaniu tego problemu. Dzieki

  8. #7
    Wyga siristru awatar
    Dołączył
    28-05-2009
    Skąd
    Szczecin
    Wpisy
    3 238
    Punkty
    302

    Domyślny

    Czy masz dostęp do zaplecza?
    Czy masz dostęp do logów serwera?
    Na Forum pomagam bezpłatnie ad maiorem Joomla gloriam
    Mimo pomocy na forum nie dajesz rady? Potrzebujesz by ekspert "zrobił to" za Ciebie?
    Napisz do mnie na PW. Argentum et Aurum nie zawsze jest konieczne ;)

  9. #8
    Nowicjusz
    Dołączył
    28-11-2019
    Wpisy
    15
    Punkty
    2

    Domyślny

    Hej
    Dzieki, dodam, bo dopiero teraz to zobaczylem, ze byly dwa pliki .htacces i htacces.txt
    Usunalem .htacces i cos sie zmienilo, bo teraz wyskakuje blad:

    Fatal error: Cannot redeclare JConfig::$offset in /southampton24.co.uk/configuration.php on line 51

    Dostepu do administratora tez nie mam. Pokazuje sie teraz ten sam blad. Poprzednio tez tak bylo.

    Ten blad poprawilem bo przy tym bledzie co pisalem wczesniej zmienialem i kombinowalem na wszystkie sposoby, wiec przywrocilem ze starej kopii to co bylo. A line 50 i 51 to:

    public $offset = 'UTC';
    public $offset_user = 'UTC';
    Prawde mowiac nie wiem o co w tych zapisach biega.Na inne domenie mam inne wpisy zupelnie i chodzi bez problemu.

    I po tych poprawkach o dziwo!!! pokazala sie strona, zaladowala sie i administrator tez. Tylko bardzo, bardzo, bardzo wolno to ladowanie trwalo. Co teraz radzisz zrobic. Takiego sposobu, podejscia do sprawy jeszcze nie znalem. Poprosze o nastepne wskazowki, co teraz poczac, aby to doprowadzic do skladu i ladu.

    Jezeli chodzi o logi serwera...., gdzie moge ich poszukac? Dostep do zaplecza juz mam. Co teraz zrobic? Chodzi, ze ta strona, jak juz napisalem chodzi bardzo wolno.
    Malo tego probowalem tylko jak chodzi strona na .htacces jak z powrotem wgralem. Pojawilo sie to samo, co na poczatku. Ale dziwna sprawa wyrzucilem dwa htacces i strona tez chodzi, i tez bardzo wolno, ale chodzi. Wgralem na koniec htacces.txt i tak teraz jest.

    Jesli chodzi o logi serwera, to mam teraz dostep do zaplecza i moze to chodzi o inforrmacje o systemie?
    To mam ta zakladke. Jakie infa sa tam wazne, aby poprawic te moje problemy?
    Dzieki

  10. #9
    Nowicjusz
    Dołączył
    28-11-2019
    Wpisy
    15
    Punkty
    2

    Domyślny

    juz nie moge dodac poprawki do tekstu, wiec pisze nowy post i wazna informacja:

    Strona glowna domeny sie otwiera, ale wszystkie zakladki, menu i artykuly juz nie i wyswietla sie blad i gdziekolwiek nie klikne pokazuje sie:

    Not Found

    The requested URL /ogloszenia was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Do zaplecza z tego co widze narazie mam dostep do wszystkiego bez ograniczen.

    OK, zrobilem pare poprawek w .htaccess i wstawilem na serwer i jest OK, wszystko sie laduje z tego co narazie widze.
    A swoja droga jak powinien wygladac .htaccess?
    aby byl prwidlowy i szybko strona chodzila?

    Dzieki
    Teraz bede podlaczal certyfikaty SSL, ale poki zadam pare pytan to chce sam poczytac o tym. Jestem swiezo po przenosinach na inny serwer i stad te problemy .

  11. #10
    Wyga siristru awatar
    Dołączył
    28-05-2009
    Skąd
    Szczecin
    Wpisy
    3 238
    Punkty
    302

    Domyślny

    LOL, no i poradziłeś sobie sam
    Bardzo dobrze.

    Cytat Wysłane przez Darek Czarny Zobacz wiadomość
    A swoja droga jak powinien wygladac .htaccess?
    aby byl prwidlowy i szybko strona chodzila?
    W każdym pakiecie instalacyjnym Joomli dołączany jest wzorcowy plik htaccess.txt skorzystaj z niego.
    Na Forum pomagam bezpłatnie ad maiorem Joomla gloriam
    Mimo pomocy na forum nie dajesz rady? Potrzebujesz by ekspert "zrobił to" za Ciebie?
    Napisz do mnie na PW. Argentum et Aurum nie zawsze jest konieczne ;)

Strona 1 z 2 12 OstatniOstatni

Podobne tematy

  1. Problem 404 po przeniesieniu strony na server z lokalnego
    przez ukasz1989 na forum Administracja - ogólnie
    Odpowiedzi: 4
    Ostatni post/autor: 05-01-2015, 17:40
  2. Hosting na nazwa.pl i Internal Server Error
    przez metmusic na forum Instalacja, aktualizacja
    Odpowiedzi: 9
    Ostatni post/autor: 02-09-2014, 13:14
  3. Internal Server Error po backupu j3.1.6
    przez Pawelo31 na forum Instalacja, aktualizacja
    Odpowiedzi: 8
    Ostatni post/autor: 16-03-2014, 13:46
  4. Internal server error
    przez Gnievko na forum Joomla 1.5 BŁĘDY
    Odpowiedzi: 0
    Ostatni post/autor: 15-05-2010, 20:09
  5. Internal Server Error
    przez ozter na forum Instalacje (Joomla!, składników)
    Odpowiedzi: 28
    Ostatni post/autor: 28-04-2006, 15:32

Reguły pisania

  • Nie możesz zakładać nowych tematów
  • Nie możesz dodawać wypowiedzi
  • Nie możesz dodawać załączników
  • Nie możesz poprawiać swoich postów
  •