dmGremlin Posted April 4, 2003 Share Posted April 4, 2003 I'm not sure what snapshot I'm running, can't be more than a few months old. I'm not sure how to find out what exact snapshot I'm running actually. Anyways, I'm not sure what I must have done to make this happen, but now when I'm running a test order, when I'm on the checkout confirmation page and click to confirm the order, it takes a really long time and no longer sends me to a checkout success page but instead back to the shopping cart (which becomes empty). The order goes through, and everything seems to be logged - it sends out the emails fine, but it's no longer going to the checkout success page. I'm positive that I haven't modded any of the checkout pages... And I wasn't installing any mods from the time this was working and the time it stopped working... just entering products. I'm completely confused. Anyone else run into something like this...? -D. M. 8) Link to comment Share on other sites More sharing options...
dmGremlin Posted April 4, 2003 Author Share Posted April 4, 2003 ok, my snapshot version is... 'v 1.256 2002/11/23 02:29:39 ' -D. M. 8) Link to comment Share on other sites More sharing options...
jalil Posted April 4, 2003 Share Posted April 4, 2003 Which payment module you're testing it with? Please give your rating on OSCommerce at FreebiesCafe.com, a search directory for free scripts, software, services and resources. Link to comment Share on other sites More sharing options...
dmGremlin Posted April 4, 2003 Author Share Posted April 4, 2003 The payment module I was using is the standard credit card module included with osCommerce... I'm not sure if this helps, but I've been poking around checkout_process.php since discovering this bug... there's a line: tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL')); towards the very end of the file... this should be the part that redirects the checkout confirmation page to the checkout success page and processes the order... if I move that line from where it is to just above the line tep_session_unregister('sendto'); then making an order sends me to the checkout success page, but sends me two email confirmations and makes two orders, one with the info and one blank... and doesn't reset the payment/shipping variables... but if I put it after the tep_session_unregister commands, it sends me to a blank shopping cart again. ...sigh... I was just about to make my site live too. -D. M. 8) Link to comment Share on other sites More sharing options...
wizardsandwars Posted April 4, 2003 Share Posted April 4, 2003 What was the last contribution you installed? ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help. Link to comment Share on other sites More sharing options...
dmGremlin Posted April 4, 2003 Author Share Posted April 4, 2003 I've installed a bunch of contributions since the last time I checked an order... I'm starting to get sleepy (4:50am here) so I'm not going to list them just yet... only one of the contributions touched any of the checkout pages though, and I've tested this problem after removing that mod... But it's starting to work intermittently... if I logoff, close the browser, open a new browser, log in and then do an order then it works... but if I do another order in the same session, then it's back to the problem. Logging off and logging on again doesn't make it work either... you have to close the browser and open it again. Perhaps it has something to do with the session id's... if there's no session Id then it doesn't work at all... or you can't do two orders with the same session id... perhaps some bug related to a security thingy...? hmm... running out of brainpower. I hope I don't have to re-install everything with the latest snapshot. That would make me depressed. -D. M. 8) Link to comment Share on other sites More sharing options...
dmGremlin Posted April 4, 2003 Author Share Posted April 4, 2003 Hmm... this session ID thing... is this a standard security feature...? I suppose it woud be pointless to upgrade to the latest snapshot if this was an intended security feature... Hmm... I hope this makes sense. -D. M. 8) Link to comment Share on other sites More sharing options...
Guest Posted April 4, 2003 Share Posted April 4, 2003 If you have the Gift Voucher installed. Please have a look at this thread. http://www.oscommerce.com/forums/viewtopic.php?t=33279 Link to comment Share on other sites More sharing options...
dmGremlin Posted April 4, 2003 Author Share Posted April 4, 2003 the mods I have installed... Fedex Zone 1.3 (haven't upgraded to 2.0 yet) CoolMenu 1.2 Cross-Sell complete 1.1 Allow Guest Reviews Down for Maintenance 1.0.1a Featured Products v1.3 ..some custom mods to have 3 images, a thumbnail image, main and large image - as well as to add a variable to the product to change whether or not it can be bought online (without changing the in-stock status), also added another field for a short description for the products, and various modifications to the stylesheet and define'' fields to change aesthetics and the content of various text fields. Order Info v.0.56fix IP Address <-- I removed both of those mods while testing this bug, as they were the only mods that touched the checkout php pages or any of the related pages I could find. Right now I'm poking through this page: http://cvs.sourceforge.net/cgi-bin/viewcvs...atalog/catalog/ and trying to figure out if the problem was solved in any of the code updates... perhaps I can try to manually update a few of the pages to see if I can fix the problem...? Hopefully that won't create more problems. So, no Gift Voucher isntalled, Birdbrain, and the code that the thread referred to didn't seem to exist in my version - but thanks for the reply, and the thread did clue me in to the source code archive, so maybe I'll be able to find some answers there. If you have any other ideas though, please help! -D. M. -D. M. 8) Link to comment Share on other sites More sharing options...
cable71 Posted April 7, 2004 Share Posted April 7, 2004 Any luck with figuring out the blank page? I have been stumped with this one now for several days also. I'm using the guest account mod and it all works properly up until I confirm the order. The I get a blank page 404 error or it just hangs. I look in the admin and everything is in there. Im just confused on why it can't redirect to the success page. Any help would be great. Thanks, Scott Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.