Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

Guys this is doing my head in!

 

I've looked everywhere for the answer, but can't find anything which helps.

 

Below is my catalog/includes/configure.php. (I'm using a non-ssl shared server)

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 [url=http://www.oscommerce.com]http://www.oscommerce.com[/url]

 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://www.ara-trading.com'); // eg, [url=http://localhost]http://localhost[/url] - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, [url=https://localhost]https://localhost[/url] - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.ara-trading.com');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/store/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/store/');
 define('DIR_WS_HTTPS_CATALOG', '');
 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/arauk/public_html/ara-trading/store/');
 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 empty for productive servers
 define('DB_SERVER_USERNAME', 'arauk_xxxxx');
 define('DB_SERVER_PASSWORD', 'XXXXX');
 define('DB_DATABASE', 'arauk_xxxxx');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>

Edited by ara-uk
Posted (edited)

I would also like to know. I just installed my shop and tried my first product. Product shows up with pricing, but when clicking on "buy now" I am always given "shopping cart is empty". I have checked my file, as per other posts I have read, and can't see anything wrong.

 

Please help :'(

 

Edited to add: I should mention I have added no contributions to my shop, I found this post searching for shopping cart empty problems. I have no add ons at all

Edited by Savvy
Posted
I would also like to know. I just installed my shop and tried my first product. Product shows up with pricing, but when clicking on "buy now" I am always given "shopping cart is empty". I have checked my file, as per other posts I have read, and can't see anything wrong.
Which doesn't mean you or the other poster did everything the instructions told you....

 

I would take a very close look to what the instructions tell you to change to product_info.php (you and the other poster don't even bother to mention from which page the buy now button is not working, could be index.php also!) and application_top.php.

Posted

I have faced the same problem!!

 

when I click "add to cart", it always shows "your shopping cart is empty!"

 

I tried to re-install it again, however, the same problem again...-.-

 

 

Does anyone know the solutions?????

Posted
when I click "add to cart", it always shows "your shopping cart is empty!"

 

Does anyone know the solutions?????

My car makes this ticking noise. Does anybody know what the problem is?

 

What do you think?

Posted

And this is the most polite reply you could come up with? If you have nothing good to say, why bother even replying? Some of us are very new to this script, new to this forum and have read the documentation and still can't figure things out.

 

I personally, have read the documentation and searched 11 pages on this forum before I posted. I have been working for days trying to figure out my problem and found this topic so posted hoping for help. Forgive me if I didn't include enough information in order to receive a helpful reply.

Posted
Forgive me if I didn't include enough information in order to receive a helpful reply.
So you did understand my point? You can't suppose people here are mind readers or have a crystal ball at hand.

 

If you need help with a problem you have to give as much information as possible. Of course if you are new to this you might not know what relevant is and what isn't. Giving a url to a live website/pages where forum members can see the problem in action often helps a lot figuring out the problem.

 

Just stating "It doesn't work, who has a solution" only occasionally works.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...