Hi Mohamed,
Thank you for your reply. Unfortunately, when I turn on Debug System in my Joomla configuration, and set public $error_reporting = ‘E_ALL’; in my site's configuration, no debugging or error information is shown on the messed up checkout page.
I've had a look at the page source when I go to the checkout page when not logged in, and it appears that there is a whole lot of code missing. The source code for the page that is displayed (as in the screenshot in my previous message) is as follows:
<div style="display:none;"><a rel="{handler: 'iframe',size: {x: 480, y: 140}}" id="hikashop_notice_box_trigger_link" href="/index.php/en/checkout/checkout/notice/cart_type-cart/tmpl-component"></a><a rel="{handler: 'iframe',size: {x: 480, y: 140}}" id="hikashop_notice_wishlist_box_trigger_link" href="/index.php/en/checkout/checkout/notice/cart_type-wishlist/tmpl-component"></a></div><div id="hikashop_checkout_page" class="hikashop_checkout_page hikashop_checkout_page_step0">
<div class="hikashop_wizardbar">
<ul>
<li class="hikashop_cart_step_current">
<span class="badge badge-info">1</span>
Login <span class="hikashop_chevron"></span>
</li>
<li class="">
<span class="badge badge-">2</span>
<a href="/index.php/en/checkout/checkout/task-step/step-1">
Details </a>
<span class="hikashop_chevron"></span>
</li>
<li class="">
<span class="badge badge-">3</span>
<a href="/index.php/en/checkout/checkout/task-step/step-2">
Overview </a>
<span class="hikashop_chevron"></span>
</li>
<li class="">
<span class="badge badge-">4</span>
<a href="/index.php/en/checkout/checkout/task-step/step-3">
End </a>
<span class="hikashop_chevron"></span>
</li>
</ul>
</div>
<form action="/index.php/en/checkout/checkout/task-step/step-1" method="post" name="hikashop_checkout_form" enctype="multipart/form-data" onsubmit="if('function' == typeof(hikashopSubmitForm)) { hikashopSubmitForm('hikashop_checkout_form'); return false; } else { return true; }">
<!-- CLASSIC DISPLAY-->
<h1>Login or continue as a guest</h1> <div id="hikashop_checkout_login" class="hikashop_checkout_login row-fluid">
<div id="hikashop_checkout_login_left_part" class="hikashop_checkout_login_left_part span4">
<fieldset class="input">
<h2>Login</h2>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr">
<head>
<title>0 - Error: 0</title>
</head>
<body>
<div id="wrapper1">
<div id="wrapper2">
<div id="error">
<h1>404 Error</h1>
<p>Oops... something went wrong. </p>
<p> You will be automatically redirected to the home page in 5 seconds.</p>
</div>
</div>
</div>
</body>
</html>
As you can see this is incomplete, and only a bit of the html for the checkout page is loaded without the proper page head body etc. followed by the full head and body for the 404 error page.
The Joomla debug console on the home page does show some database errors:
45 duplicate found!
2 duplicates: #1 #6
2 duplicates: #5 #7
2 duplicates: #15 #18
2 duplicates: #29 #34
2 duplicates: #37 #123
4 duplicates: #38 #40 #124 #126
2 duplicates: #39 #125
4 duplicates: #42 #48 #127 #133
2 duplicates: #44 #129
2 duplicates: #45 #130
2 duplicates: #46 #131
2 duplicates: #47 #132
2 duplicates: #49 #134
2 duplicates: #50 #135
2 duplicates: #54 #138
3 duplicates: #56 #61 #63
2 duplicates: #57 #91
2 duplicates: #90 #95
2 duplicates: #157 #164
2 duplicates: #158 #165
But I do not know what these mean, and how I can fix them. I also am not sue that these have anything to do with the issue of the checkout page giving a 404 error when login is required. It appears as if the PHP that loads the login form in the checkout view maybe is corrupted.