Jump to content

Admin login error


Quiztoon

Recommended Posts

Hi all

I think I have done something really stupid. I needed to move my shopping cart from a directory to the root on my server. I re-uploaded all the files leaving the original directory intact (just in case).

The shop works fine, but when I try to access the admin panel it takes me to the old directory and not the new one.

How can I let the admin panel know that I have moved the directory. I am hoping that i dont need to start afresh as it has taken me ages to get this far.

I hope one of the superstars who come in here can help me get out of a self inflicted headache.

Thanks

Link to comment
Share on other sites

  • 4 months later...
Guest dazza100

HI All

I’m new to cube cart and currently struggling with my first store.

www.blushcosmetics.com

I’ve added the code and the message appears when a product is added from the main product pages but I don’t want people to be redirected to the main product page when they buy from a category page.

I changed the text in shoppingCart.inc.php to stop the refresh problem

// prevents refresh adding extras to the basket

header("Location:".$_SERVER['HTTP_REFERER']."&added=true");

exit;

So I now need a message to appear in the category page or I was thinking that a message could appear in the cart box.

Can anyone help?

Thanks

Daz :sourcerer:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...