osCmax v2.5 User Manual
Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Checkout stalls at blank page on checkout_process.php

This is a discussion on Checkout stalls at blank page on checkout_process.php within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; So I modified shipping modules to have the names I wanted based on the flat rate module, everything seems to ...

      
  1. #1
    New Member
    Join Date
    Aug 2010
    Posts
    25
    Rep Power
    0


    Default Checkout stalls at blank page on checkout_process.php

    So I modified shipping modules to have the names I wanted based on the flat rate module, everything seems to work.

    I select the pre-installed check/money module just to test the checkout process and lo behold! the process doesn't complete.

    After confirming the order details I'm greeted with a blank page. The order seems to go through but for some reason there's no "success" page but rather a blank. And this is with the fallback theme.

    I'm having trouble getting access to the error log from the host, they don't give clients access (?!). Is there anything I could check?

  2. #2
    osCMax Developer

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


    Default Re: Checkout stalls at blank page on checkout_process.php

    You really need the error log. Short of that, see if you can turn on errors to the screen so you can see the error output. If that can't happen, you will need to capture the error with some debug code.

    Your problem is a php error, and you really should do your development in a proper environment. If your host doesn't offer such an environment, just set one up locally on your computer (LAMP or WAMP - see the wiki on how to set up a local dev environment.) and move your site off the host to your newly created dev environment. Then change the php.ini in your local environment to print errors to the screen.

    Now whenever you run into an error it will print to your screen and you can fix it quickly, or at least post the actual error here.
    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

  3. #3
    New Member
    Join Date
    Aug 2010
    Posts
    25
    Rep Power
    0


    Default Re: Checkout stalls at blank page on checkout_process.php

    michael_s: Thanks for the reply. I now have access to the error log but it doesn't say anything!

    What now?

    Strangely the store has begun to act up in general, going to index.php or logging in produces blank pages for various intermissions of time and nothing shows up on the error log.

    Website: Koirankauppa.fi : Mitä uutta? (currently using fallback theme to debug)

    Error log: http://www.koirankauppa.fi/error.log

  4. #4
    osCMax Developer

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


    Default Re: Checkout stalls at blank page on checkout_process.php

    Without error logs, you are basically blind. If nothing is in the logs, turn on error reporting to the screen (done in php.ini). Log level may be set too low.

    Check to see if your site has been hacked. See this for the basics:
    http://wiki.oscdox.com/setting_up_security
    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

  5. #5
    New Member
    Join Date
    Aug 2010
    Posts
    25
    Rep Power
    0


    Default Re: Checkout stalls at blank page on checkout_process.php

    Ok, I know the issue. It's the language pack I made, but I don't know exactly what.

    1) Fallback or custom theme in English finishes order perfectly
    2) Fallback or custom theme in Finnish fails at checkout_process.php

    I've went and replaced the Finnish checkout_process and checkout_success language files with their English counterparts but this hasn't eradicated the problem. I've tried analyzing the files but nothing seems to be amiss.

    EDIT: It's some file in the folder.

    What can I check to find the problem? Is there a script or something that could check the values and make sure everything is correct? How hard would it be to code such a thing?
    Last edited by hollowgram; 08-11-2010 at 09:40 AM.

  6. #6
    osCMax Developer

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


    Default Re: Checkout stalls at blank page on checkout_process.php

    What can I check to find the problem?
    The Apache error log will tell you all you need to know. Or output errors to the screen. No coding needed.

    If you cannot enable either of these on the server you are currently developing on, switch development servers to one that is properly configured for development. It is that simple.

    Download and install any of the LAMP/WAMP solutions out there (software to set up your own local web server, mysql and php environment - fully automated installers that are simple to set up).

    Set up your site locally in your new dev environment. Configure the php.ini to output all errors to the screen and develop your site without having to post another "Are there any psychics out there that can sense the error message?" post.

    For instance, with a properly configured development environment, your error would be printed out right at the top of the page, and the error message would have the file name and the line number in that file that is causing the error.

    So, you can choose to ignore my advice, but you would be wise to take it. It will make your life so much easier. You will find and resolve all issues in record time, and will be able to actually get some help on the issues that you can't resolve on your own. You see, without an error message, the problem could be anything and anyone trying to help would just be guessing.
    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

  7. #7
    New Member
    Join Date
    Aug 2010
    Posts
    25
    Rep Power
    0


    Default Re: Checkout stalls at blank page on checkout_process.php

    Point taken. Thanks again for all your advice and help, I truly appreciate it. Once I get this Finnish pack working I'll submit it to the site for others to utilize.

  8. #8
    New Member
    Join Date
    Aug 2010
    Posts
    25
    Rep Power
    0


    Default Re: Checkout stalls at blank page on checkout_process.php

    Unfortunately MAMP isn't working for me, trying to add a product to my cart does nothing, it keeps saying my cart is empty regardless of what I do. Apache error log isn't saying anything.

    Totally fresh install, no hickups on the way to this point.

    Any ideas?

  9. #9
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Checkout stalls at blank page on checkout_process.php

    pgmarshall
    _______________________________

  10. #10
    osCMax Developer

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


    Default Re: Checkout stalls at blank page on checkout_process.php

    Quote Originally Posted by hollowgram View Post
    Unfortunately MAMP isn't working for me, trying to add a product to my cart does nothing, it keeps saying my cart is empty regardless of what I do. Apache error log isn't saying anything.

    Totally fresh install, no hickups on the way to this point.

    Any ideas?
    This usually means that your cookie/session setup or configure.php cookie domain/paths are incorrect.

    If it can't set the path properly or the cookie domain properly, your cart will look empty all the time.
    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

Page 1 of 3 123 LastLast

Similar Threads

  1. checkout_process.php goes blank after using paypal
    By superlum in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 09-03-2006, 06:26 PM
  2. Checkout brings me to blank page
    By ronfedele in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 08-11-2006, 11:49 AM
  3. Checkout Payment Page is Blank
    By lvose in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 02-02-2006, 11:35 AM
  4. Blank Page @ checkout_process.php for linkpoint mod, help
    By nurbin in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 12-14-2004, 02:23 PM
  5. On Checkout when USPS active - Blank Page...
    By bmasella in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 09-15-2003, 04:31 PM

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
  •