osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Problem with Sucess page

This is a discussion on Problem with Sucess page within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I set my site up using a secure server. OSC works great, by using the secure server as soon as ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-20-2004, 08:50 AM
Lurker
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
richmess
Default Problem with Sucess page

I set my site up using a secure server. OSC works great, by using the secure server as soon as the person hits chekcout button. It works great throught he Paypal or 2Checkout process and brings me back to the Sucess page, with the dude surfing all in https secure mode.

The problem is that when I click the "Continue" button on this page, I get an error of "Not Found." And the URL I'm sent to is in this form missing my domain name. ie. https://secureserver.net/catalog/index.php.


Any suggestions. It sounds like this should be fixed by a slight modification of the checkout_success.php file, but i don;t know for sure.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 01-04-2005, 08:43 PM
lem lem is offline
Member
 
Join Date: Nov 2004
Location: CDA, ID
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lem
Default Page not found

I am having the same problem, if you find a solution let me know. All of my OS2max sites do this. Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 01-05-2005, 06:16 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,327
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Page not found

Nope, not a problem with checkout_success.php . Your SSL settings in /includes/configure.php are incorrect. Fix them so that they use the correct https domain and https cookie domain.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 01-05-2005, 09:18 PM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
Default RE: Page not found

http://oscdox.com/modules.php?op=mod...amp;version=12
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 01-09-2005, 11:09 PM
Member
 
Join Date: Nov 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vinces
Default RE: Page not found

Oh, I've had this problem before. This happens when using a shared SSL. Here is what it should look like:

CODE
define('HTTP_SERVER', 'http://www.domain.com');
define('HTTPS_SERVER', 'https://www.secure-domain.com/~username');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'www.domain.com');
define('HTTPS_COOKIE_DOMAIN', 'https://www.secure-domain.com/~username');
define('HTTP_COOKIE_PATH', '/catalog_name/');
define('HTTPS_COOKIE_PATH', '/catalog_name/');
define('DIR_WS_HTTP_CATALOG', '/catalog_name/');
define('DIR_WS_HTTPS_CATALOG', '/catalog_name/');
__________________
Vince
http://www.inkyvinny.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 01-18-2005, 11:19 PM
lem lem is offline
Member
 
Join Date: Nov 2004
Location: CDA, ID
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lem
Default Page Not Found after checkout success

Hey Guys,
Thank you for your replies. Actually, the problem was with checkout_success.tpl.php located in the /templates/aabox/content folder. See, I am using a shared SSL, so when the person clicks the continue button, it tries to take them to https://truckracingparts.com when it is actually https://ourserver.com/truckracingparts... So, to fix that we made the "continue" page, Non SSL. Here is the code example, you want to replace SSL with NONSSL and have it be all Capital letters.

This is the first line of code in checkout_success.tpl.php:
Code:
 <?php echo tep_draw_form('order', tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'action=update', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
Here is what it needs to be. Again, this is only if you are using a shared SSL:
Code:
<?php echo tep_draw_form('order', tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'action=update', 'NONSSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
I hope this helps.
Thanks,
Lem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 01-19-2005, 06:47 AM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
Default RE: Page Not Found after checkout success

I added this to the wiki....could someone please check it for accuracy? I added the two links to the new SSL page to reflect what was discussed in this topic.

Thanks

http://www.oscdox.com/modules.php?op...p;pagename=SSL
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 01-21-2005, 11:06 PM
New Member
 
Join Date: Jan 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
toddhata
Default RE: Page Not Found after checkout success

I'm having a problem with the last step of the checkout page comming up with the "page not found" error. I haven't gone live yet, waiting for my secure certificate. I have a shared secure certificate, and I tried with, and without it and I still get the same error. I also tried the changes as described above but it doesn't help. Anyone have any ideas?

I'm also having a problem when I use the shared secure certificate, most of the time when I log in, the cart shows as empty so you can't check out. But if you click anywhere else to browse again, the cart contents are there. If I turn the ssl to false, this never happens.

It's an adult dvd store, there are pictures, so beware of where you access if you want to take a look and try to help. http://64.23.52.150/dvd/index.php



UPDATE - I found that if I turn off the Authorize.net module, it works fine, I can check out using a money order, or the credit card module. so does anyone know about any problems with the authorize.net module? what is the Login Transaction Key? is the the password for auth.net?

also still having problems when using the secure certificate, I was thinking maybe it has to do with the secure cookie path?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 01-22-2005, 08:24 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,327
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Page Not Found after checkout success

I can make this happen my improperly setting up my configure.php file, and make it stop by fixing the configure.php. It is not a bug, but fully dependent on how you enter your path information into the configure.php file. See the below example.

toddhata:

You most likely have mismatched paths in your configure.php. I am guessing that you have something like this:
Quote:
Originally Posted by configure.php
define('HTTPS_SERVER', 'https://sslserver.com); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', '64.23.52.150');
define('HTTPS_COOKIE_DOMAIN', 'sslserver.com');
define('HTTP_COOKIE_PATH', '/180/');
define('HTTPS_COOKIE_PATH', '/~username/dev/');
define('DIR_WS_HTTP_CATALOG', '/180/');
define('DIR_WS_HTTPS_CATALOG', '/~username/dev/');
This will always give you a 404 error. It needs to be:
Quote:
Originally Posted by fixed configure.php
define('HTTPS_SERVER', 'https://sslserver.com/~username); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', '64.23.52.150');
define('HTTPS_COOKIE_DOMAIN', 'sslserver.com');
define('HTTP_COOKIE_PATH', '/dev/');
define('HTTPS_COOKIE_PATH', '/dev/');
define('DIR_WS_HTTP_CATALOG', '/dev/');
define('DIR_WS_HTTPS_CATALOG', '/dev/');
This is a simple issue of not having mathching path information in your configure.php.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to michael_s For This Useful Post:
minuteman1970 (09-02-2007)
  #10  
Old 01-22-2005, 08:51 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,327
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Page Not Found after checkout success

groggory,

I am pretty sure the new 'common problems' wiki page is not needed if the configure.php is setup correctly. It may just confuse matters by encouraging folks to keep their configure.php files set up incorrectly and start hacking the code to make the shop work with it...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
admin order page problem jschafer52 osCMax v2 Customization/Mods 6 02-15-2006 08:33 PM
Problem with the installation page Manolito osCommerce 2.2 Installation Help 3 12-09-2004 12:30 PM
protect admin folder never sucess johnkwok osCommerce 2.2 Installation Help 1 09-06-2004 05:02 PM
Loggin into Admin page PROBLEM PSE HELP Chippy osCMax v1.7 Installation 2 07-08-2004 02:47 AM
Problem with 'Define Main Page' Turtlewebs osCMax v1.7 General Mods Discussion 0 02-06-2004 08:14 AM


All times are GMT -8. The time now is 11:51 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax