osCmax v2.5 User Manual
Results 1 to 10 of 10

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 ...

      
  1. #1
    Lurker
    Join Date
    Jul 2004
    Posts
    1
    Rep Power
    0


    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.

  2. #2
    lem
    lem is offline
    Member
    Join Date
    Nov 2004
    Location
    CDA, ID
    Posts
    40
    Rep Power
    0


    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

  3. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  4. #4
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8

  5. #5
    Member
    Join Date
    Nov 2004
    Posts
    89
    Rep Power
    0


    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/');

  6. #6
    lem
    lem is offline
    Member
    Join Date
    Nov 2004
    Location
    CDA, ID
    Posts
    40
    Rep Power
    0


    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

  7. #7
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    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

  8. #8
    New Member
    Join Date
    Jan 2005
    Posts
    9
    Rep Power
    0


    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?

  9. #9
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  10. #10
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •