Hi,
I am working on a site built in wordpress and have integrated zen cart into the design in such a way as follows
http:\\siteurl is the wordpress url
http:\\siteurl\shop is the zen cart url
The site allows login and zen cart has a login. I want to combine the login so that when a user is on http:\\siteurl they can enter e-mail and password in the html header, click submit, and be redirected to their site account page and it also logs them into zen cart.
The problem I am running into is with $_SESSION['securityToken'], I can't get this set to a proper value, so I always get "There was a security error when trying to log in." message when I am not in a http:\\siteurl\shop directory.
Does anyone know a way to do this? I know that $_SESSION['securityToken'] is set in sessions.php but sessions.php requires that isAdminFlag be defined, and that appears to be defined in application_top.php but requiring application_top.php errors my page out.
Any help is greatly appreciated. I would really hate for my customers to have to log into their account and log into the store seperately.
Thanks for any input!



