Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2009
    Location
    Otorohanga, New Zealand
    Posts
    25
    Plugin Contributions
    0

    Default Blank Page when continue checkout

    I have used the "enable_error_logging.php" file and here is the info from the txt file in the cache folder

    [01-Oct-2009 20:29:28] PHP Fatal error: Cannot use object of type queryFactoryResult as array in /home/baitboar/public_html/includes/modules/payment/paymate.php on line 47

    the paymate.php file shows

    if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_PAYMATE_ZONE > 0) ) {
    $check_flag = false;
    $check_query = $db->Execute("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_PAYMATE_ZONE . "' and zone_country_id = '" . $order->billing['country']['id'] . "' order by zone_id");
    while (!$check_query->EOF) {
    if ($check_query['zone_id'] < 1) {
    $check_flag = true;
    break;
    } elseif ($check_query['zone_id'] == $order->billing['zone_id']) {
    $check_flag = true;
    break;
    $check_query->MoveNext();

    Red area is line 47

    any help would be great thanks, it is happening on a few websites now

    Richard

  2. #2
    Join Date
    Jun 2009
    Location
    Otorohanga, New Zealand
    Posts
    25
    Plugin Contributions
    0

    Default Re: Blank Page when continue checkout

    Found this from a old post I had posted

    http://www.zen-cart.com/forum/showthread.php?t=134192

    Your problem is directly related to your payment module ... it's evidently got several errors in it.

    Namely it's not utilizing the correct syntax when making database calls.

    For example, all the references to $check_query['FIELD_NAME_HERE'] should be $check_query->fields['FIELD_NAME_HERE']

    I'm guessing that the same error likely occurs elsewhere in the same module.

    I have added this into 2 areas of the Paymate Payment Module

    Thanks
    Richard Scott

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Blank Page when continue checkout

    You show at least two references to the:
    $check_query['FIELD_NAME_HERE']

    and they should all be $check_query->fields['FIELD_NAME_HERE'] ...

    You may also need at the start of that function:
    global $db;

    if it is not already there ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Jun 2010
    Posts
    1
    Plugin Contributions
    1

    Default Re: Blank Page when continue checkout

    This is exactly the problem I've been experiencing with a fresh install of 1.3.9d. I installed the paymate module 1.0.1 from
    http://www.zen-cart.com/index.php?ma...roducts_id=999

    Were it not for the debug that's appearing in the cache folder, I'd have been lost on this one.

    I've fixed the two instances on lines 47 and 50 and the module now works.

    I might suggest that that module was written for PHP 4, and could probably do with an overhaul to bring it up to PHP5 standards.

  5. #5
    Join Date
    Jun 2009
    Posts
    39
    Plugin Contributions
    0

    Default Re: Blank Page when continue checkout

    I have emailed them and have no response yet

    My issue is the orders arnt coming through to me, the emails come withtn he customers details but no actual items are on there and the orders do not show in zen cart admin :| Any ideas anyone?

 

 

Similar Threads

  1. v151 Blank page when proceeding to checkout payment
    By gonebeachin in forum General Questions
    Replies: 6
    Last Post: 29 Sep 2013, 04:55 PM
  2. Blank Page when continue checkout - paypal module
    By scottwww1 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 2 Oct 2009, 05:15 AM
  3. Step 2 - Continue Checkout - Brings Blank Page
    By Securfocus in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 5 Feb 2009, 09:03 PM
  4. Replies: 2
    Last Post: 3 Aug 2008, 03:51 PM
  5. Getting Blank Page When clicking Checkout
    By judyinspokane in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 8 May 2008, 11:07 PM

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