Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Fatal error: Step 2 checking out.

    Error I'm getting on step 2 (selecting a payment type) when checking out.

    Fatal error
    : Call to a member function javascript_validation() on a non-object in includes/templates/template_default/templates/tpl_checkout_payment_default.php on line 15

    Zen Cart 1.3.7.1
    Database Patch Level: 1.3.7
    Payment modules: Credit Card, cod, and PayPal Express.

    I have compared the payment modules and tpl_checkout_payment_default.php files against fresh files and all match up.
    Even having no payment modules installed, will still get this error.

  2. #2
    Join Date
    Sep 2004
    Location
    MONTANA!!!
    Posts
    105
    Plugin Contributions
    0

    Default Re: Fatal error: Step 2 checking out.

    Howdy,

    This is interesting. I've seen this before. More information is needed of course.

    Have you assigned any of the payment methods as 'default'?

    And, has anything changed with your server?

    Paul

  3. #3
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Fatal error: Step 2 checking out.

    Quote Originally Posted by fourbit View Post
    Howdy,

    This is interesting. I've seen this before. More information is needed of course.

    Have you assigned any of the payment methods as 'default'?

    And, has anything changed with your server?

    Paul
    Waiting to hear back from host.

    Use Credit Card, Express PayPal and Check/Money Order modules.
    I have turned off each one 1 by 1 , switched the order, and even had all payment modules turned off.
    Still get the error.

  4. #4
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Fatal error: Step 2 checking out.

    Quote Originally Posted by tophand View Post
    Error I'm getting on step 2 (selecting a payment type) when checking out.

    Fatal error
    : Call to a member function javascript_validation() on a non-object in includes/templates/template_default/templates/tpl_checkout_payment_default.php on line 15

    Zen Cart 1.3.7.1
    Database Patch Level: 1.3.7
    Payment modules: Credit Card, cod, and PayPal Express.

    I have compared the payment modules and tpl_checkout_payment_default.php files against fresh files and all match up.
    Even having no payment modules installed, will still get this error.
    Website:
    DifficultTrail.com

  5. #5
    Join Date
    Sep 2004
    Location
    MONTANA!!!
    Posts
    105
    Plugin Contributions
    0

    Default Re: Fatal error: Step 2 checking out.

    I'm not very good with solving these problems without physically checking files myself. I would check the file where these functions are called and make sure that it's intact. And, then do a comparison of all the files in the include directory. Just to rule out any other conflicts.

    Have you added any mods or made any changes to products, recently. Sometimes the product type. will cause issues. If I remember correctly.

    Paul

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Fatal error: Step 2 checking out.

    1. When did this problem "start"? How does that compare with other events related to your site or your hosting company?

    2. What addons do you have installed? This is *always* important information whenever you are having a problem on your site.

    3. It seems you've likely got broken code in one or more of these files:
    /includes/modules/pages/checkout_payment/header_php.php
    /includes/modules/pages/checkout_process/header_php.php
    /includes/modules/checkout_process.php
    /includes/modules/YOUR_TEMPLATE/checkout_process.php
    /includes/templates/YOUR_TEMPLATE/tpl_checkout_payment_default.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Fatal error: Step 2 checking out.

    Hosting company has made NO changes
    Zen cart PCI compliant Hosting

  8. #8
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Fatal error: Step 2 checking out.

    Update.
    Thanks for the help! This is the reason I'll be a Zen Cart Lifer.


    My .
    There are a lot of header_php.php files and I had one in the wrong folder from the last addon I installed.
    What threw me off is I create a check list when I install addons that show the path, file size and that I double check that its correct.
    I only upload one file a time and check it off the list.
    My list showed everything correct but some how I uploaded a file to the wrong folder.
    Thanks to DrByte, I got to checking the header_php.php files and find my error.

    M

 

 

Similar Threads

  1. v138a error checking out
    By spikesta in forum General Questions
    Replies: 5
    Last Post: 28 Nov 2012, 05:09 PM
  2. v150 Error Checking out - goes back to step 2
    By CnTGifts in forum PayPal Website Payments Pro support
    Replies: 4
    Last Post: 27 Nov 2012, 07:38 PM
  3. Credit Card error when final step of checking out
    By tmandel830 in forum General Questions
    Replies: 1
    Last Post: 19 Aug 2009, 03:24 AM
  4. Replies: 5
    Last Post: 7 Oct 2006, 05: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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR