Page Not Found error when logging in

Does anyone experience getting a 404 Page Not Found error when logging in? I have a customer trying to place an order but she can’t log into her account. I reset her password for her, but when I tried logging into my test account, (a few different times), it gave me the 404 Page Not Found error.

When I hit the back button & refreshed, it displays the site with me logged in. I know it shouldn’t be this way. Any ideas?



You may want to try this:

replace this line of the code:

$location = $url_prefix . basename($components['path']) . '?' . fn_build_query($query_array);

with this one:

$location = $url_prefix . trim(basename($components['path'])) . '?' . fn_build_query($query_array);

in the "fn_common.php’ file located in the “core” directory of your CS-Cart.

Let me know if this works for you, it worked for me :mrgreen:

That seems to have worked, thanks a BUNCH! :smiley: