Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2012
    Posts
    1
    Plugin Contributions
    0

    Default Cannot add to cart and cannot login after htaccess change

    Hi

    I am having an issue where I have zencart installed in a subdirectory called mysite.com. Then I use .htaccess to rewrite the URL as follows:

    Code:
    RewriteCond %{HTTP_HOST} mysite\.com [NC]
    RewriteCond %{REQUEST_URI} !/mysite\.com/
    RewriteRule (.*) /mysite\.com/$1 [L]
    The site works great with all the requests appearing to work off /. I have updated the configure.php to specify a WS url of /.

    Is there a reason why I cant add items to the cart and when I login it says "There was a security error when trying to login."

    Any help or pointers appreciated.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Cannot add to cart and cannot login after htaccess change

    I am having an issue where I have zencart installed in a subdirectory called mysite.com. Then I use .htaccess to rewrite the URL as follows:
    Why not just move ZenCart to the root of your account and dispense with the rewrite
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v151 Wrong charset and customers cannot login after upgrade
    By scrap in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 26 Mar 2013, 03:58 PM
  2. Moving hosts, now cannot login to admin or add to cart
    By ts232 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 30 Jan 2012, 06:31 AM
  3. Two attributes for one product - cannot add to cart, cannot view cart, etc
    By tqualizer in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 20 Dec 2007, 02:04 AM
  4. I cannot login in admin and my clients cannot login
    By jazlee in forum General Questions
    Replies: 1
    Last Post: 28 Oct 2007, 09:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR