Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Looping through Registration


nathansnewman

Recommended Posts

I have a Honeymoon registry set up with OSCommerce for people to contribute to paying for parts of the honeymoon for our marriage.

 

The problem is that sometimes when people are registering to buy items, it keeps looping them through, saying first they need to register, then telling them to buy an item, then as they buy an item, it says they need to register again.

 

You can see the site at:

http://nathannewman.org/os/index.php?cPath=24

 

Any ideas on what might be happening?

 

Folks are supposed to eventually process the order through a PayPal credit card. It's worked occasionally, so I'm not sure what's wrong.

 

Ideas?

Link to comment
Share on other sites

post the catalog/includes/configure.php file without the database details.

 

The problem is usually there.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

post the catalog/includes/configure.php file without the database details.

 

The problem is usually there.

 

It's definitely misbehaving, forgetting a person is there, looping them endlessly sometimes through the system. If you have ideas, I'd be very grateful.

 

Heres the /os/includes/configure.php file

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://nathannewman.org'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://lava.liquidweb.com/~nathanne'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'nathannewman.org');

define('HTTPS_COOKIE_DOMAIN', 'nathannewman.org');

define('HTTP_COOKIE_PATH', '/os/');

define('HTTPS_COOKIE_PATH', '/os/');

define('DIR_WS_HTTP_CATALOG', '/os/');

define('DIR_WS_HTTPS_CATALOG', '/os/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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', 'pub/');

define('DIR_FS_CATALOG', '/home/nathanne/public_html/os/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers

define('DB_SERVER_USERNAME', 'nathanne_NAME');

define('DB_SERVER_PASSWORD', 'PASSWORD');

define('DB_DATABASE', 'nathanne_DATABASE NAME');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

Change this line like so:

 

define('HTTPS_COOKIE_DOMAIN', 'lava.liquidweb.com/~nathanne');

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Change this line like so:

 

define('HTTPS_COOKIE_DOMAIN', 'lava.liquidweb.com/~nathanne');

 

It didn't seem to like that. I got this error message at the top of every screen on the site now:

 

"Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/nathanne/public_html/os/includes/configure.php:46) in /home/nathanne/public_html/os/includes/functions/sessions.php on line 67"

 

Ideas for what's happening or other strategies?

 

Thanks for the help.

Link to comment
Share on other sites

It didn't seem to like that.  I got this error message at the top of every screen on the site now:

 

"Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/nathanne/public_html/os/includes/configure.php:46) in /home/nathanne/public_html/os/includes/functions/sessions.php on line 67"

 

Ideas for what's happening or other strategies?

 

Thanks for the help.

 

 

Look for empty lines at the end of the file, and delete them

Thanks for any help/comments.

 

Regards,

 

Lewis Hill

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...