Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I'm so confused :(


delaen

Recommended Posts

Posted

I have no idea what I've done. Somehow I managed to screw up my checkout so that it no longer lets me progress through the steps.

 

I had just finished modifying my site, so (using the admin section) deleted all of the products, and manufacturers(sp?) that came default and started entering my own.

 

I don't exactly remember the order of everything I did, but here's the gist of it.

 

I entered just one product so that I could test to make sure everything was still working properly (everything worked just the way I needed before I deleted the products). I made it an "Upcoming Product", stuck it in my cart, and went to the checkout.

 

Under "Shipping Method" it only said, "This is currently the only shipping method available to use on this order" and there were no methods underneath it. I clicked "continue" thinking that maybe that was because it wasn't in stock yet and it just brought me back to the same page. I went to the admin section and added another new product, made it so it was available now, and added it to my cart as well. Nothing had changed at checkout.

 

It seemed wierd, so I took the upcoming product out of my cart and tried to checkout with just the available one. Still the same thing. So I logged out and tried to log back in. When I logged back in, my "Shopping cart is empty" text was completely missing and I still couldn't checkout.

 

I've tried everything I can think of. I've tried logging in, logging out, making new customer accounts, turning the shipping methods on and off, adding and deleting products, and a few other things that I can't remember. Sometimes the shopping cart is empty text is there, sometimes it's not, but no matter what I do I can't get past that section of checkout.

 

I'm using that loaded version 4 and I haven't changed one bit of the checkout code other than visual (CSS things). I know I haven't explained this very well at all, and the site isn't live on the internet to look at anywhere, but has anyone had a problem like this at all or have any ideas I can try?

Posted

make sure that all of your paths are correct in includes/configure.php.

 

if you have to, go back through the shipping/payment modules and turn the ones you're using off and on again. that works for me sometime :)

 

- GDW

Posted
make sure that all of your paths are correct in includes/configure.php.

 

if you have to, go back through the shipping/payment modules and turn the ones you're using off and on again.  that works for me sometime :)

 

- GDW

 

Tried it about 40 times. Didn't work. :(

Posted

Let me guess...you're working on a windows box, right? Post your configure.php and perhaps someone can help find the problem. Do you have the SSl enabled in the config?

Posted
Let me guess...you're working on a windows box, right? Post your configure.php and perhaps someone can help find the problem. Do you have the SSl enabled in the config?

 

Yes, I'm working on Windows, could that have something to do with it?

 

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

 define('HTTPS_SERVER', 'https://localhost); // eg, https://localhost - 

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

 define('DIR_WS_CATALOG', '/'); // absolute path required

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

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

 define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

 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_FS_DOCUMENT_ROOT', 'c:/inetpub/wwwroot/');

 define('DIR_FS_CATALOG', 'c:/inetpub/wwwroot/');

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

 define('DB_SERVER_PASSWORD', '*******');

 define('DB_DATABASE', 'catalog');

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

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

 

Everything worked perfectly until I deleted the default products.

Posted

I'm not a windows set up expert.....*Nix for my web site..but, the first thing I would try is changing the define('HTTPS_SERVER', 'https://localhost); // eg, https://localhost - to: define('HTTPS_SERVER', 'http://localhost); // eg, https://localhost - and see what happens. The next step would be to do a search for windows set up or windows configuration on the forum and look for other possible solutions. Good luck!

Posted

No, that didn't work. Thanks though.

 

I found something else out. If I turn on the "FREE SHIPPING!" module, IT works, but none of the rest of them do.

 

All of the modules show up in the admin section. I can turn all of them on, but none of them work all of the sudden. I made no changes to them or anything that has to do with any of them. I'm guessing that this is a problem with something else and it just happens to be screwing up the shipping part of the checkout.

 

I'm also guessing that this is some sort of database problem because that was the only thing that was changed (products and such) between the time everything was working...to everything not working. I hadn't touched any code for quite awhile when this happened.

 

*scratches head*

Posted

Ya know....when you post a problem it would be very helpful for the people that are going to help to have a few facts. The type of server and the programs you're running it with, the version of OSC you're working on and the contributions you have attempted to install.

Posted

What you have done shouldn't have anything to do with shipping in checkout. Only way that could get screwed up is if you edited a file. What I would like to know is which shipping moduals do you have enabled, no not just the green light, enabled? It sounds like to me you don't have any shipping moduals enabled. And this would create the exact problem you are having.

Steve

-------------------------

Posted
What you have done shouldn't have anything to do with shipping in checkout. Only way that could get screwed up is if you edited a file. What I would like to know is which shipping moduals do you have enabled, no not just the green light, enabled? It sounds like to me you don't have any shipping moduals enabled. And this would create the exact problem you are having.

 

Other than the green light, how do I know if they are enabled? The only one that was before was "Flat Rate".

Posted

A couple of thoughts,

 

If you have phpMyAdmin, you could take a look at the shipping modules in the configuration and make sure there are no duplicates, etc.

 

Do you have any weight assigned to the products that you have?

 

I've had to put in new copies of the shipping pages to get sticky buttons working, but that doesn't sound like your problem....??

 

Try only enablling COD and see if you can get through the checkout.

 

Keep smiling!! :?

-Doug

Posted

Ok, I deleted my DB and started over with the default one and everything works fine again.

 

However, I did reproduce this. It happened when I deleted a product in the admin section when I had the product in my shopping cart on the front end. As soon as I deleted the product, both symptoms of my problem appeared. When I put the product back in, the problem stopped.

 

Is there any way to avoid this? Does this mean that I better make sure that no one has a product in their cart if I'm about to delete it or else my entire store will screw up?

 

Something happened that I don't understand though. I went in through Phpmyadmin and deleted all records from customers_basket and customers_basket_attributes and it didn't make it work again. Only adding the product back to the database fixed it.

Posted
Do you have any weight assigned to the products that you have?

 

You win. I think this is it. Just ignore that last post I made. It happened when I did that, but I don't think that was the main cause of it. The new products I made and tried to check out with didn't have a weight assigned to them. When I changed it to something everything worked fine again. So far atleast.

 

How do I make it so that weight isn't even taken into consideration? I don't want to have to enter a weight for every product being that I don't even use it.

 

I feel kind of silly :P

Posted
Other than the green light, how do I know if they are enabled?  The only one that was before was "Flat Rate".

 

Go into the shipping modual and check the green light. Then click the edit button. There should be at least a 1 (one) int the top box. 0 (Zero) is disabled and 1 (one) and above is enabled. You can also use this number if your want a certain order if you have several shipping options.

Steve

-------------------------

Posted
Go into the shipping modual and check the green light. Then click the edit button. There should be at least a 1 (one) int  the top box. 0 (Zero) is disabled and 1 (one) and above is enabled. You can also use this number if your want a certain order if you have several shipping options.

 

Yep, it was enabled.

Archived

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

×
×
  • Create New...