-
Blocked Checkout - stuck on login
Hi, I've searched previous posts on this topic and checked my shipping options - I have flat rate shipping on and that's all.
I can purchase products OK the first time by entering customer info, but when I come for a 2nd purchase and checkout, I enter the login info but I get bounced back to the main page which says 'Hello David....' so I click on a thumbnail and instead of going to the product detail page it takes me to login again.
You can see my install details at http://www.stevegrove.com/gallery/zc...l/techsupp.php
I'm not sure if this has worked before and I've upset some setting somewhere or never worked.
-
Re: Blocked Checkout - stuck on login
Sounds like you have an SSL sharing problem.
Please post your /includes/configure.php file without passwords.
-
Can Not Checkout........help
I was hoping to find someone online to help figure out why when u click on the "Check Out" I get an error on the next page saying it can not be displayed and it puts: "http://www.MYSITENAME.comhttps://www.MYSITENAME.com/" A bunch of other stuff. Why does it place the address twice? Is my SSL screwed up? I use Dreamhost and Paypal as my checkout option. All I did was go into the FTP and enable Paypal, disabled all others, and set up Paypal. My shopping cart works great....You just can't check out. I know N O T H I N G about ANY of this...Just trying to wing it and look up self-helps online. So if u can explain it or know how I can fix it, I would be forever grateful!
Other Info: I may have said I had a SSL, Could this be a problem? And if so, How do I fix it?
And I have the most current ZenCart. Windows Server.
To see excactly what I mean, you can test my site here:
www.digitalscrapheaven.com
-
Re: Blocked Checkout - stuck on login
I'll quote myself:
Quote:
Originally Posted by DrByte
Please post your /includes/configure.php file without passwords.
-
Re: Blocked Checkout - stuck on login
<?php
/**
*
* @package Configuration Settings
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
*/
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://www.digitalscrapheaven.com');
define('HTTPS_SERVER', 'http://www.digitalscrapheaven.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', 'https://www.digitalscrapheaven/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/home/scrapprincess/digitalscrapheaven.com/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'boutique');
define('DB_SERVER', 'mysql.digitalscrapheaven.com'); // eg, localhost - should not be empty
define('DB_SERVER_USERNAME', 'myusernamedeleted');
define('DB_SERVER_PASSWORD', 'password deleted');
define('DB_DATABASE', 'boutique');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'
// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'database');
define('DIR_FS_SQL_CACHE', '');
?>
Ok....this is what it says...I hope u can help. Or Someone. I wouyld really like to get my site up and running.
Again, to vie the error....You can go to www.digitalscrapheaven.com and try to buy something to see what it says in the URL.:lookaroun
-
Re: Blocked Checkout - stuck on login
PHP Code:
define('DIR_WS_HTTPS_CATALOG', 'https://www.digitalscrapheaven/');
try:
PHP Code:
define('DIR_WS_HTTPS_CATALOG', '/');
-
Re: Blocked Checkout - stuck on login
Ya know....I have read 1000's of posts in here....and have memorized all info, and remembered something and i have fixed it myself....WOOO HOOO For me!:smartass: Thanks to all who replied and emailed me.
-
Re: Blocked Checkout - stuck on login
Hi, I'm back again...didn't realise someone had replied to my qn...here's my config file:
<?php
//
// +----------------------------------------------------------------------+
// |Zen Cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2004 The Zen Cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | If you did not receive a copy of the Zen Cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | license AT zen-cart DOT com so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
//
// Define the webserver and path parameters
// Main webserver: eg, http://localhost - should not be empty for productive servers
define('HTTP_SERVER', 'http://www.stevegrove.com');
// Secure webserver: eg, https://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://secure.godzone.net.nz/amurphy');
// secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/gallery/');
define('DIR_WS_HTTPS_CATALOG', '/gallery/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/home20/amurphy/gallery/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', 'mysql.godzone.net.nz'); // eg, localhost - should not be empty
define('DB_SERVER_USERNAME', 'xxxxx');
define('DB_SERVER_PASSWORD', 'xxxxx');
define('DB_DATABASE', 'xxxxx');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'
// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', '/home20/amurphy/gallery/cache');
?>
-
Re: Blocked Checkout - stuck on login
If you set this to false, do things work properly?
Code:
define('ENABLE_SSL', 'true');
-
Another Problem.....Multiple Downoads
I sell digital scrapbook items and some of the kits are to large for 1 zip file. I noticed there were posts with step by step instruction's however i can not find it.
I know when I go into to the attributes manager, it won't let me have multiple "zip" downloads for that file.
This is at the top: {Highlighted in Pink}
Duplicate Attribute - Attribute was not added - DOWNLOAD : ZIP
Admin Demo is currently Active. Some settings are will be disabled - NOTE: Admin Override Enabled
{I have since turned off admin demo} still will not let me put duplicate zips.
-
Re: Blocked Checkout - stuck on login
Give each part a UNIQUE name- i.e. part 1, part 2, part 3 ...
-
Re: Blocked Checkout - stuck on login
Quote:
Originally Posted by Kim
Give each part a UNIQUE name- i.e. part 1, part 2, part 3 ...
yes, I still recieving a warning that it is a duplicate action.
-
Re: Blocked Checkout - stuck on login
Yes, things work fine with SSL set to false...I can get right thru the ordering process.
-
Re: Blocked Checkout - stuck on login
Quote:
Originally Posted by davidf
Yes, things work fine with SSL set to false...I can get right thru the ordering process.
Well that seems to narrow the problem to something with your SSL configuration. May want to talk to your host about why PHP might have problems with "sessions" working accurately between the shared-SSL and your main domain.
-
Re: Blocked Checkout - stuck on login
Thanks, I don't really understand this but will take it up with my ISP...
-
Re: Blocked Checkout - stuck on login
I think my problem is similar, but I'm really not sure.
I've made two user accounts now to test my store with, and neither of them can actually log in. It doesn't refuse the password or anything, it just sends you back to the "Welcome Gues (log in)" page after a seemingly successful login attempt.
This, combined with the fact that you can't buy anything without an account via zencart, means nobody can buy anything from the shop.
Which isn't an issue yet, since there's only dummy products there, but I figure it's an important feature for when it does go live.
-
Re: Blocked Checkout - stuck on login
1. what version of PHP?
2. version of zen cart?
3. what hosting platform? windows vs linux
4. what version of iis/apache?
5. who is your host?
6. do you have any firewall software or cookie blocking software active?
7. have you changed any default settings in Admin->Configuration->Sessions?
-
Re: Blocked Checkout - stuck on login
Sorry, that was pretty dense of me.
1. PHP 5.0.18
2. Zencart 1.3.0.1
3. Linux 2.4.29
4. Apache 1.3.33
5. Dreamhost
6. no
7. no, though I'm going to prod it now and see what happens
From reading around, it seems that an idea might be to try it with php4, though that would mess up the mediaWiki I have installed. Does ZenCart 1.3.0.2 have any bugfixes beyond security?
-
Re: Blocked Checkout - stuck on login
Zen Cart v1.3.0.2 has bugfixes in it related to session handling esp related to working around a PHP 5 bug.
The only patch to v1.3.0.2 is the security fix, at this point.
-
Re: Blocked Checkout - stuck on login
Upgrading to 1.3.0.2 seems to have fixed it, which is nice. Thanks for suggesting it.
It's odd that dreamhost's automated installer would have an older version, they're normally very prompt.
-
Re: Blocked Checkout - stuck on login
Hi again, I checked with my webhost and this is his reply...a bit out of my depth...is this not a problem for lots of Zencart installations?
Cookies are generally associated with a domain. Because the secure server is not in the same domain as the main website, a technique must be employed to ensure that the session id is moved between the two. In some cases this can be done by appending it to the URL, I know of one instance where the user has kept it in a hidden field on their form and then picks up the session stuff in their script.
It is possible to pass session stuff between our secure server and your website, we have people doing so. You may need to experiment with how best to do so. Unfortunately, because all the sites we host are 'virtual', we can not provide a secure service using your own domain.
This is usually accomplished using multiple IP numbers and we are unable to provide a site with its own IP number.
-
Re: Blocked Checkout - stuck on login
By default, Zen Cart does all of those things automatically.
Things which could cause that to malfunction include:
- SEFU/SEO modules installed
- PHP is not configured to handle sessions properly
- cookie blockers on PC or browser blocks
- non-default settings for cookies in Admin->Configuration->Sessions
..... Cookie Domain should normally be "True"
..... Force Cookie Use is typically set to "False"
..... Check SSL Session ID not set properly
- Using "Recreate Session" with PHP 5 and Zen Cart older than v1.3.0.2
-
Re: Blocked Checkout - stuck on login
What is your Session Directory set to in Admin->Configuration->Sessions ?
In theory, it should be: /home20/amurphy/gallery/cache
-
Re: Blocked Checkout - stuck on login
Thanks, my Session Directory was set wrongly to my local PC Apache server so I corrected that to /home20/amurphy/gallery/cache as you stated...but I was dissappinted to find it didn't seem to fix the problem. Here are my Session settings. We're on Zencart 1.2.5 I think it is and my host config is at http://www.stevegrove.com/gallery/zc...l/techsupp.php
Session Directory /home20/amurphy/gallery/cache
Cookie Domain True Info
Force Cookie Use False Info
Check SSL Session ID False Info
Check User Agent False Info
Check IP Address True Info
Prevent Spider Sessions True Info
Recreate Session False Info
IP to Host Conversion Status true
I haven't got SEFU/SEO modules installed as I think the only module I installed was the one that gives 3 columns for the product list.
-
Re: Blocked Checkout - stuck on login
Dr. Byte or anyone, Please help...several customers have left us over this:
Could this be the reason our customers stall out on occasion when they click the "confirm order" button...but instead of us getting the order they go back to the order confimation page with a warning attached saying their session timed out? Most of the time their card is charged ...not always, but no order comes through.
Here is our includes/configure.php file. We use zencart 1.3.0.2 on a Windows IIS server through Crystaltech with a shared ssl
<?php
/**
*
* @package Configuration Settings
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
*/
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://topkayaker.net');
define('HTTPS_SERVER', 'https://www7.ssldomain.com/topkayaker');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/TopKayakerShop/');
define('DIR_WS_HTTPS_CATALOG', '/TopKayakerShop/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', 'D:/Inetpub/topkayaker/TopKayakerShop/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', 'MySQL14.webcontrolcenter.com'); // eg, localhost - should not be empty
define('DB_SERVER_USERNAME', '');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', 'tomsshop');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'db'
// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'none');
define('DIR_FS_SQL_CACHE', 'D:/Inetpub/topkayaker/TopKayakerShop/cache');
?>
-
Re: Blocked Checkout - stuck on login
I never get answers anymore. Should I be taking this personally?
Here are the config > sessions settings:
Everything is set to false in config > sessions Except
Cookie Domain
Prevent Spider Sessions
IP to host converstion status
what is the harm or benefit of setting this to true:
Recreate Session -False
Recreate the session to generate a new session ID when the customer logs on or creates an account (PHP >=4.1 needed).
-
Re: Blocked Checkout - stuck on login
I gave up on fixing this and upgraded to 1.3.5 which has fixed the returning customer login problem.
-
Re: Blocked Checkout - stuck on login
I'd upgrade to v1.3.7 as v1.3.5 is rather old and has some issues that were fixed in v1.3.6 ...
v1.3.7 adds the new PayPal Express ... plus a few other features and bug fixes etc.
-
Re: Blocked Checkout - stuck on login
Quote:
Originally Posted by
pimptress
Ya know....I have read 1000's of posts in here....and have memorized all info, and remembered something and i have fixed it myself....WOOO HOOO For me!:smartass: Thanks to all who replied and emailed me.
What did you do?
Thanks :smile: