Jump to content
  • 0

Błąd 500


DonArkanio

Question

Witam serdecznie,

 

podczas instalowania modułu przelewy24 i wybraniu opcji: „Wymuś kompilację” i Pamięć podręczna: Nie wywaliło mi błąd 500. Proszę o pomoc. 

Wymuś kompilację”Wymuś kompilację”

 

Dodam że mam hosting na kylosie. 

 

Plik htaccess:

# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums

<IfModule mod_rewrite.c>
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>
RewriteEngine on


#Domain: odziezuzywana.net.pl
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api$ api/ [L]

RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

# Images
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
# AlphaImageLoader for IE and fancybox
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]

# Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
</IfModule>

AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/x-font-woff .woff
<IfModule mod_headers.c>
	<FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$">
		Header add Access-Control-Allow-Origin "*"
	</FilesMatch>
</IfModule>

#If rewrite mod isn't enabled
ErrorDocument 404 /index.php?controller=404

# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again

Logi:

[Thu Jun 30 09:29:38.984568 2016] [core:alert] [pid 506967] [client 94.254.177.3:14249] /home/odziezu/public_html/odziezuzywana.net.pl/.htaccess: </IfModule> without matching <IfModule> section
[Thu Jun 30 09:29:38.984465 2016] [core:alert] [pid 506967] [client 94.254.177.3:14249] /home/odziezu/public_html/odziezuzywana.net.pl/.htaccess: </IfModule> without matching <IfModule> section
[Thu Jun 30 09:29:36.866039 2016] [core:alert] [pid 507265] [client 94.254.177.3:14267] /home/odziezu/public_html/odziezuzywana.net.pl/.htaccess: </IfModule> without matching <IfModule> section
[Thu Jun 30 09:29:36.865914 2016] [core:alert] [pid 507265] [client 94.254.177.3:14267] /home/odziezu/public_html/odziezuzywana.net.pl/.htaccess: </IfModule> without matching <IfModule> section
[Thu Jun 30 09:29:07.186848 2016] [core:alert] [pid 504984] [client 94.254.176.22:41916] /home/odziezu/public_html/odziezuzywana.net.pl/.htaccess: </IfModule> without matching <IfModule> section, referer: http://odziezuzywana.net.pl/admin1/index.php?controller=AdminXAllegroMain&token=9e4646d4385a91317ab6b312cf60cb89&id_product=31&conf=1
[Thu Jun 30 09:29:07.186692 2016] [core:alert] [pid 504984] [client 94.254.176.22:41916] /home/odziezu/public_html/odziezuzywana.net.pl/.htaccess: </IfModule> without matching <IfModule> section, referer: http://odziezuzywana.net.pl/admin1/index.php?controller=AdminXAllegroMain&token=9e4646d4385a91317ab6b312cf60cb89&id_product=31&conf=1
[Thu Jun 30 09:28:25.296209 2016] [core:alert] [pid 489891] [client 94.254.177.3:14265] /home/odziezu/public_html/odziezuzywana.net.pl/.htaccess: </IfModule> without matching <IfModule> section
[Thu Jun 30 09:28:25.296054 2016] [core:alert] [pid 489891] [client 94.254.177.3:14265] /home/odziezu/public_html/odziezuzywana.net.pl/.htaccess: </IfModule> without matching <IfModule> section
[Thu Jun 30 09:28:23.236535 2016] [core:alert] [pid 489898] [client 94.254.177.3:14266] /home/odziezu/public_html/odziezuzywana.net.pl/.htaccess: </IfModule> without matching <IfModule> section
[Thu Jun 30 09:28:23.236383 2016] [core:alert] [pid 489898] [client 94.254.177.3:14266] /home/odziezu/public_html/odziezuzywana.net.pl/.htaccess: </IfModule> without matching <IfModule> section
Edited by DonArkanio (see edit history)
Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

Jeśli Ci chodzi o define('_PS_MODE_DEV_', true); 

To mam to zrobione od początku jak mi błąd wywaliło:

 

Internal Server Error

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

Please contact the server administrator at [email protected] 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.

 

Nie mogę się dostać nigdzie, ani na stronę, ani na zaplecze. 

Link to comment
Share on other sites

  • 0

Rozpakuj moduł na localu i zobacz co ma w katalogu override.

Skasuj przez ftp te wszystkie nadpisania i skasuj /cache/class_index.php

Skasuj wszystkie katalogi z:

/cache/smarty/cache/

/cache/smarty/compile/

Zrobiłem jak pisałeś. Moduł wcześniej już usunąłem. Nic się nie zmieniło. 

Link to comment
Share on other sites

  • 0

Ten moduł przelewy24 jest OK.

Przejrzałem go, zainstalowałem, wymusiłem kompilacje. Zero błędów.

 

Jak wymusiłeś kompilację, to jakiś inny moduł wprowadził swoje błędy.

Trzeba szukać w error.logach.

W katalogu głównym domeny obok public_html powinien być katalog logs, a w nim pewnie spakowana tar.gz paczka logów.

Pobierz ją rozpakuj i w pliku error.log zobacz najnowsze błędy.

W katalogu presty w log też jest exception.log zawierający ewentualne błędy.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...