Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cant Login or Add to cart


bf71090

Recommended Posts

Posted

I just created an account to test my site but when i login all it does is send me back to the main page still saying Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?.

Another problem that i found was that whenever you hit add to cart on an item it brings you to the shopping cart but still says Your Shopping Cart is empty! It just started doing this. I installed oscommerce through cpanel and i tried reinstalling it it still does the same thing.

Posted
I just created an account to test my site but when i login all it does is send me back to the main page still saying Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?.

Another problem that i found was that whenever you hit add to cart on an item it brings you to the shopping cart but still says Your Shopping Cart is empty! It just started doing this. I installed oscommerce through cpanel and i tried reinstalling it it still does the same thing.

 

A url???

 

Could be a couple different things and being able to look at the site will help us help you

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted
Sorry www.brytesystems.com

 

 

Post your configure.ph file here (minus the database username and password)

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

<?php
/*
 $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 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://www.brytesystems.com');
define('HTTPS_SERVER', 'https://www.brytesystems.com');
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'http://www.brytesystems.com');
define('HTTPS_COOKIE_DOMAIN', 'https://www.brytesystems.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/home/');
define('DIR_WS_HTTPS_CATALOG', '/home/');
define('DIR_WS_IMAGES', '/home/images/');
define('DIR_WS_ICONS', '/home/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
 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');
define('DB_SERVER_USERNAME', '******');
define('DB_SERVER_PASSWORD', '******');
define('DB_DATABASE', 'bf71090_osc1');
 define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql');

// STS: ADD: Define Simple Template System files
 define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');
 define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php'); 
 define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');
 define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/');
 define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . 'sts_template.html'); 
 define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');
 define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');
 define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');
// STS: EOADD
?>

 

I set up the STS contribution but it was working after i did that.

Posted

Domains not urls.

 

define('HTTP_COOKIE_DOMAIN', 'www.brytesystems.com');

define('HTTPS_COOKIE_DOMAIN', 'www.brytesystems.com');

 

Change those and we'll double check it. The site was not setting cookies before.

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)

Posted

Wow i changed it and it seems to work now. Thats wierd that there was something wrong with that because Cpanel set it up for me. O well thanks

Posted
Wow i changed it and it seems to work now. Thats wierd that there was something wrong with that because Cpanel set it up for me. O well thanks

All that means is that some klutz set up the install routine wrong. There's no defense from that.

 

;)

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)

Archived

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

×
×
  • Create New...