Jump to content

[solved] Problem z modułem płatności.


waldemar [pl]

Recommended Posts

Witam,

 

W czasie składania zamówienia, a dokładnie gdy dochodzi do wyboru pomiędzy płatnością przelewem a płatnością przy odbiorze pojawia się taki błąd:

 

500 Internal Server Error

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

Please contact the server administrator, *** 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.

 

link skasowany.

 

Presta w wersji: 1.2.5.0

hosting: ovh

Link to comment
Share on other sites

z tego co widze blad 500 wystepuje przy wielu okazjach w katalogu moduly - prawdopodobnie jest to zwiazane z htaccess lub jakimis innymi ustawieniami serwera (usun np katalog .svn)

http://www.mat-hurtownia.com.pl/modules/bankwire/

uruchomienie dowolnego php w tym i powyzszych katalogach wyswietla mi 500. To nie ma zwiazku z modulem platnosci.

Link to comment
Share on other sites

Usunąłem wszystkie .svn. Nadal to samo.
a w .htaccess jest to:

# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [L,E]
RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [L,E]
RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [L,E]
RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [L,E]
RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E]
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2$4 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$1$3 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$1 [QSA,L,E]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /supplier.php?id_supplier=$1$3 [QSA,L,E]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]
RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E]

# Catch 404 errors
ErrorDocument 404 /404.php

SetEnv PHP_VER 5
SetEnv REGISTER_GLOBALS 0

Link to comment
Share on other sites

Witam ponownie. A więc mam rozwiązanie. Co ciekawe rozwiązaniem są uprawnienia dostępu do folderów, które w przypadku OVH powinny mieć 705.
Dla tego hostingu uprawnienia 777 są niedopuszczalne - chodzi o bezpieczeństwo.

Wielkie dzięki dla Pawła za szybką reakcję i chęć pomocy! Duży (szkoda że wirtualny) kufel piwa!

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...