Polskie wsparcie PrestaShop
PrestaShop => Błędy => Wątek zaczęty przez: KEDARteam w Luty 04, 2011, 06:18:59 pm
-
Witam.
Klient rejestruje się w sklepie, wybiera odpowiedni produkt, wybiera opcję dostawy, wybiera opcję przelewu lub za pobraniem a następnie wyskakuje błąd:
nternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@kedarteam.pl and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at www.kedarteam.pl Port 80
adres sklepu: www.kedarteam.pl
Sklep jest oczywiście w katalogu /shop/ ale zrobiłem przekierowanie w pliku index na głównym katalogu.
To dzieje się niezależnie czy jest w katalogu /shop plik .htaccess czy też go nie ma.
Czy są włączone przyjazne linki czy też nie.
Nie wiem gdzie leży problem.
Z informacji udało mi się dowiedzieć, że baza mysql jest w wersji 4
Pozdrawiam
Zespół KEDAR
-
Po wprowadzeniu pewnych zmian w pliku .htaccess a dokładnie po dodaniu poniższych linijek:
[b]# Installation directory
RewriteBase /
# Protect application and system files from being viewed
RewriteRule ^(application|modules|system) - [F,L]
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT,L][/b]
pojawia się już inny komunikat, a mianowicie:
PRZY WYBORZE OPCJI ZA POBRANIEM:
Forbidden
You don't have permission to access /shop/modules/cashondelivery/validation.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at www.kedarteam.pl Port 80
A PRZY WYBORZE ZAPŁAĆ PRZELEWEM:
Forbidden
You don't have permission to access /shop/modules/bankwire/payment.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at www.kedarteam.pl Port 80
Pozdrawiam
Zespół KEDAR
-
Proszę usunąć:
# Protect application and system files from being viewed
RewriteRule ^(application|modules|system) - [F,L]
jeśli nie pomoże to jeszcze to:
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT,L]
-
Witam.
Pomogło bardziej nie to że zmieniono plik .htaccess gdyż nawet bez niego był ten sam problem jak to że zmieniłem uprawenia katalogom płatności na CHMOD 755. Wydaje mi się, że w instrukcji instalacji presty jest ten właśnie błąd nadawanie tym katalogom CHMOD 777.