Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout problem: endless loop


scott9

Recommended Posts

I haven't seen this problem before with OScommerce.

 

This store's checkout doesn't work correctly...

 

Here's the flow of user interaction:

Create account -> Log In -> Put items in cart -> Click Checkout -> OScommerce prompts to register or Log In -> user logs in again -> Click checkout -> OScommerce prompts to register or Log In...

 

 

 

I've tried several things to fix this.

 

Please ask freely what pertinent information I can supply

 

Thank you so much for your help!

Link to comment
Share on other sites

I simply recommend to check the sessions and cookie settings or some kind of server issue with sessions.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

maybe invalid links causing loss of session creating your issue http://www.oscommerce.com/forums/index.php?showtopic=330479&hl

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

I am grateful for your post. You are onto the issue, for sure. The 'sid' is getting dropped.

 

I am trying to digest the material in that post you shared. Will continue to try solutions.

 

This is the first time I'm embedding OScommerce in an iframe. And the site's navigation links point to product categories within the store. So when a site user clicks a link in the HTML-based Nav Bar, it opens OSC below, with the appropriate category already showing. But this is somehow chopping off the link.

 

The thing is, I hover over the links within OScommerce, and the 'sid' is there! But when I *click* on the link, the 'sid' doesn't load with the page.

 

So Thank you. I now have something else to research and try. And please share any other prior posts, or experiences.

 

 

 

 

maybe invalid links causing loss of session creating your issue http://www.oscommerce.com/forums/index.php?showtopic=330479&hl

Link to comment
Share on other sites

Ok,

 

Forcing cookies does not help the issue.

 

Here's what happens... the 'sid' DOES get generated. Hover over the links within the OSC iframe, and the browser status bars show the 'sid'.

 

But *click* the link, and the 'sid' doesn't get loaded. Again, this is true even for OSC links, found within the OSC iframe.

 

So, I figure the problem is with the way I'm loading OSC in the iframe.

So I changed the <iframe> call to the following, based on what you guys shared with me.

 

in the file [cart.php]

<?php

...

echo "<iframe width=770 height=700 src=\"".tep_href_link(FILENAME_DEFAULT)."\" > </iframe>" ;

...

?>

 

Something is wrong, though, because this change yields the error:

"Call to undefined function tep_href_link()... "

 

This is probably because cart.php does not live in the './catalog' tree. Or maybe I'm missing something else?

 

Thanks!

 

-Scott

 

 

 

I am grateful for your post. You are onto the issue, for sure. The 'sid' is getting dropped.

 

I am trying to digest the material in that post you shared. Will continue to try solutions.

 

This is the first time I'm embedding OScommerce in an iframe. And the site's navigation links point to product categories within the store. So when a site user clicks a link in the HTML-based Nav Bar, it opens OSC below, with the appropriate category already showing. But this is somehow chopping off the link.

 

The thing is, I hover over the links within OScommerce, and the 'sid' is there! But when I *click* on the link, the 'sid' doesn't load with the page.

 

So Thank you. I now have something else to research and try. And please share any other prior posts, or experiences.

Link to comment
Share on other sites

remembere iframes are effectively seperate pages, so must be treated as such, ie must be php & include functions to keep within the app.

 

There are many issues, trying to use iframes, it can be done, but are you sure its worth the effort.?

 

 

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...