- Posts: 64
- Thank you received: 0
Unable to view (access) the checkout
14 years 5 months ago - 14 years 5 months ago #48122
by XMAster
Unable to view (access) the checkout was created by XMAster
I don't understand why I cannot view checkout page. When I "add to cart", I see this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mywebsite.com 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.
----
Maybe I must able some option?
Can I solve?
Here my server log:
[Wed Apr 25 07:17:56 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/404.shtml
[Wed Apr 25 07:17:56 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/favicon.ico
[Wed Apr 25 07:17:56 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/500.shtml, referer: www.mywebsite/it/
[Wed Apr 25 07:13:18 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/404.shtml
[Wed Apr 25 07:13:18 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/favicon.ico
[Wed Apr 25 07:09:21 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/404.shtml
[Wed Apr 25 07:09:21 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/favicon.ico
[Wed Apr 25 07:09:20 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/500.shtml, referer: www.mywebsite.com/it/shop1/product/1.html
[Wed Apr 25 07:03:18 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/404.shtml
[Wed Apr 25 07:03:18 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/favicon.ico
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mywebsite.com 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.
----
Maybe I must able some option?
Can I solve?
Here my server log:
[Wed Apr 25 07:17:56 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/404.shtml
[Wed Apr 25 07:17:56 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/favicon.ico
[Wed Apr 25 07:17:56 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/500.shtml, referer: www.mywebsite/it/
[Wed Apr 25 07:13:18 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/404.shtml
[Wed Apr 25 07:13:18 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/favicon.ico
[Wed Apr 25 07:09:21 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/404.shtml
[Wed Apr 25 07:09:21 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/favicon.ico
[Wed Apr 25 07:09:20 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/500.shtml, referer: www.mywebsite.com/it/shop1/product/1.html
[Wed Apr 25 07:03:18 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/404.shtml
[Wed Apr 25 07:03:18 2012] [error] [client 82.50.80.243] File does not exist: /home/brand/public_html/favicon.ico
Last edit: 14 years 5 months ago by XMAster.
Please Log in or Create an account to join the conversation.
14 years 5 months ago - 14 years 5 months ago #48151
by XMAster
Replied by XMAster on topic Re: Unable to view (access) the checkout
This page seems inexistent (checkout page)
www.mywebsite.com/it/shop1/checkout.html
What's the problem??
www.mywebsite.com/it/shop1/checkout.html
What's the problem??
Last edit: 14 years 5 months ago by XMAster.
Please Log in or Create an account to join the conversation.
14 years 5 months ago #48217
by nicolas
Replied by nicolas on topic Re: Unable to view (access) the checkout
Hi,
Change the code:
if(!isset($this->currentShipping))$this->currentShipping = '';
if(method_exists($this->currentShipping, 'getShippingAddress')) {
to:
if(!empty($this->currentShipping) && method_exists($this->currentShipping, 'getShippingAddress')) {
in the file "address" of the view "checkout" of your front end template via the menu Display->Views and that should solve the problem.
Change the code:
if(!isset($this->currentShipping))$this->currentShipping = '';
if(method_exists($this->currentShipping, 'getShippingAddress')) {
to:
if(!empty($this->currentShipping) && method_exists($this->currentShipping, 'getShippingAddress')) {
in the file "address" of the view "checkout" of your front end template via the menu Display->Views and that should solve the problem.
Please Log in or Create an account to join the conversation.
Time to create page: 0.160 seconds