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

Login and Checkout errors

This is a discussion on Login and Checkout errors within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; I have been looking around for answers to this and what I have found is 1) Check my logs 2) ...

      
  1. #1
    New Member
    Join Date
    Oct 2010
    Posts
    24
    Rep Power
    0


    Default Login and Checkout errors

    I have been looking around for answers to this and what I have found is
    1) Check my logs
    2) possibly cookies

    When I login as a customer after I hit the sign in button I get the white screen. If I backup it shows that I am logged in and can view my account info and proceed to checkout.

    Second, when I check out and hit the confirm button I get another white screen. But, the order has processed and I get an email from the store and an email from authorize.net.

    Along with this I am seeing my cart empty out and then randomly fill back up.


    I am not sure why this is happening the oscMax is straight out of the box and I haven't added any custom coding to it outside of formatting and config changes in the admin section. I did add my own templates folder and am working from that.

    I have looked in my logs but I am not really sure what I am looking for. Will it contian "error".


    Thanks in advance for anyhelp.
    Last edited by Motive; 10-16-2010 at 08:15 AM.

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Lightbulb Re: Login and Checkout errors

    .. the oscMax is straight out of the box ..
    So why are you asking this question in the osCommerce section and not the osCmax section?

    Switch to the fallback template (assuming you haven't touched it) and try again. Does it still happen? If not it's your template.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    New Member
    Join Date
    Oct 2010
    Posts
    24
    Rep Power
    0


    Default Re: Login and Checkout errors

    Because I am SLOW!

  4. #4
    osCMax Developer

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


    Default Re: Login and Checkout errors

    I just moved it to the correct forum.

    I did add my own templates folder and am working from that.
    For anyone reading this thread, the above quote means that you cannot then say :

    oscMax is straight out of the box and I haven't added any custom coding to it

    Please realize that changing even one admin setting from a default install means you no longer have a clean unchanged installation. Certainly adding a custom template is a major modification to a stock osCmax installation.

    Skip the "I have a clean install" part, as almost nobody with problems like this ever has a clean install. Just tell us everything you changed and then we can get on with helping you.

    Next, and this is important for all new php developers:

    If you get a blank white screen, you have a php error somewhere. Typically the error will be caused by whatever you just changed immediately prior to getting the blank screen. Assume the problem is a mistake you made with one of your recent edits and you will be able to find the problem faster.

    Next, you should be developing your site with the server printing php errors to the screen so you can actually see what the problem is, immediately. Then when ready for production, turn off the error reporting to the screen. If you are hosting your development site on a commercial host, ask them to help if you don't know how to do this yourself.

    Or, short of that, find your sever's Apache/PHP error log and when you get a blank screen and check your logs for the error report. Again, if you don't know how to find it, ask your host for help. They should be able to point you in the right direction. We can't help with this because most hosts have their own custom configuration as to where they store the logs and how to read them.

    Now, finally I get to my point. If a blank screen = a php error, in order for anyone here (or anywhere else for that matter) to help you we will need you to obtain the error message and provide it to us. We can then explain what the error message means and how to go about fixing the problem.
    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
    Oct 2010
    Posts
    24
    Rep Power
    0


    Default Re: Login and Checkout errors

    Well once I started searching for answers in the right forum I stumbled onto some help.

    I forget who post the "quick dirty php editing" post but I thanked them and I started printing errors to the screen. Immediatlely I found the error.

    It was:
    an error on Line 4 in "includes/languages/english/mainpage.php" expecting "=".

    So I went there checked it out and was thoroughly confused. Only thing I could think to do was coment out the php line calling the oscmax version. I did that and poof it started working correctly.

    Now the good part. I removed my comment, so I could post the exact error message here, and it didn't happen again!

    So now I got no clue what the heck happened. I did call my hosting company earlier. Maybe they did magic. Oh well, ignorance is bliss.

    Oh I am in IT support and I love it when people say "I don't know what happened, I didn't change anything." Which is why I got such a kick out of saying that earlier.
    Last edited by Motive; 10-16-2010 at 08:55 AM. Reason: bad grammar

Similar Threads

  1. Errors attempting to login to oscMax admin panel after installation
    By alee585 in forum osCmax v2 Installation issues
    Replies: 11
    Last Post: 04-04-2008, 10:42 AM
  2. Login, Create Account, CHeckout PHP ?
    By designedshai in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 01-09-2007, 06:22 PM
  3. Customer cannot login, redirected back to login page
    By BHenderson in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 02-09-2005, 07:51 PM
  4. Well crap... admin login not allowing login-no errors
    By tauras911 in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 07-06-2004, 11:12 PM
  5. after login, checkout does not work (and it used to)
    By gaoshan in forum osCommerce 2.2 Installation Help
    Replies: 5
    Last Post: 05-18-2004, 11:36 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
  •