C
Asked
Dear Tecdiary team,
I am getting 500 internal error after I submit an order on the shop checkout page.
I can see that the orders are present when I look at My Orders page of the user (for cash orders online).
Usually I should see a succespage with your order has been succesfully placed i guess?
I check my error log and the following is logged. No other error were present.
**::1 - - [13/Dec/2019:10:41:39 +0100] "POST /sma/shop/order HTTP/1.1" 500 -**
**::1 - - [13/Dec/2019:10:44:45 +0100] "POST /sma/shop/order HTTP/1.1" 301 240**
Could maybe be a htaccess issue?
***
htaccess:
DirectoryIndex index.php index.html
<IfModule mod_rewrite.c>
RewriteEngine On
# RewriteBase /basepath/
RewriteCond $1 !^(index\.php|assets|install|update)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# For godady Shared Hosting Server uncomment the line below
RewriteRule ^(.*)$ index.php?/$1 [L]
# Please comment this if you have uncommented the above
# RewriteRule ^(.*)$ index.php/$1 [NC,L,QSA]
</IfModule>
***
Please help!
I am getting 500 internal error after I submit an order on the shop checkout page.
I can see that the orders are present when I look at My Orders page of the user (for cash orders online).
Usually I should see a succespage with your order has been succesfully placed i guess?
I check my error log and the following is logged. No other error were present.
**::1 - - [13/Dec/2019:10:41:39 +0100] "POST /sma/shop/order HTTP/1.1" 500 -**
**::1 - - [13/Dec/2019:10:44:45 +0100] "POST /sma/shop/order HTTP/1.1" 301 240**
Could maybe be a htaccess issue?
***
htaccess:
DirectoryIndex index.php index.html
<IfModule mod_rewrite.c>
RewriteEngine On
# RewriteBase /basepath/
RewriteCond $1 !^(index\.php|assets|install|update)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# For godady Shared Hosting Server uncomment the line below
RewriteRule ^(.*)$ index.php?/$1 [L]
# Please comment this if you have uncommented the above
# RewriteRule ^(.*)$ index.php/$1 [NC,L,QSA]
</IfModule>
***
Please help!
- CAnsweredDear Tecdiary team,
I am getting 500 internal error after I submit an order on the shop checkout page.
I can see that the orders are present when I look at My Orders page of the user (for cash orders online).
Usually I should see a succespage with your order has been succesfully placed i guess?
I check my error log and the following is logged. No other error were present.
**::1 - - [13/Dec/2019:10:41:39 +0100] "POST /sma/shop/order HTTP/1.1" 500 -**
**::1 - - [13/Dec/2019:10:44:45 +0100] "POST /sma/shop/order HTTP/1.1" 301 240**
Could maybe be a htaccess issue?
```php
htaccess:
DirectoryIndex index.php index.html
<IfModule mod_rewrite.c>
RewriteEngine On
# RewriteBase /basepath/
RewriteCond $1 !^(index\.php|assets|install|update)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# For godady Shared Hosting Server uncomment the line below
RewriteRule ^(.*)$ index.php?/$1 [L]
# Please comment this if you have uncommented the above
# RewriteRule ^(.*)$ index.php/$1 [NC,L,QSA]
</IfModule>
```
Please help! - MSAnsweredHello,
You need to check the server error logs for 500 error details. Only 500 error log is useful to know the cause.
Please let me know the error details sot that I can suggest.
Thank you - CAnsweredUPDATE:
I only got the 500 error on localhost. On webserver it is working! - MSAnsweredWherever you get 500, you need to check error logs of that server and let us know so that we can suggest solution.
- Login to Reply