Results 1 to 10 of 14

Hybrid View

  1. #1

    Default Error in Step 3 of Checkout...

    Hi there. Suddenly getting an error in checkout. Not sure where to start looking. Would appreciate any advice.

    The error message is as follows:

    Object of class queryFactoryResult could not be converted to string in /hsphere/local/home/crankyji/weecarediapercompany.com/weecart/includes/functions/functions_general.php on line 660

    The URL is www.weecarediapercompany.com

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Error in Step 3 of Checkout...

    Have you added any contribs recently or has your host made any changes?

    What payment shipping and payemnt modules are you using? What version of Zen Cart?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3

    Default Re: Error in Step 3 of Checkout...

    Hi,

    Thanks for the reply.

    No, no new contributions.

    We're using Check/Money Order, Paypal IPN and Credit Card via Worldpay. The version of Zencart is 1.3.6.

    A bit more history. This was working properly with our old host. Unfortunately, our old host rarely worked. :) So, we moved to a new host.

    Some differences from the old host to new host:

    New Host:
    mySql: 4.1.21
    PHP: 5.2.0

    Old Host:
    mySql: 4.1.21
    PHP: 4.4.4

    The last change I have made recently to try to eliminate this problem was to change the _session code as advised in this forum. This has unfortunately, made no difference. The same issue exists. I've tried to move from file based sessions to db stored sessions. No difference.

    I'm not certain what to try next. When it tries to render the code for step 3, I see it's failing when it attempts to write the <form> information. I just don't know where to even try looking next.

    Thanks for any advice.

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Error in Step 3 of Checkout...

    Have you tried reuploading a clean copy of the functions_general file?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5

    Default Re: Error in Step 3 of Checkout...

    Just tried your suggestion. No luck

    In addition, I have just spent the last hour using winmerge on a downloaded copy of my site from my old host compared to the latest version of the site on my new host.

    Aside from a few text message changes, they're IDENTICAL.

    So, I did the same thing with a sql dump from both hosts. Once again, except for session ids and other transient things, they're IDENTICAL.

    I am at a loss.

    I wonder if the different PHP version could be causing something. I wish there was a way to debug this. I would like to see what value is actually being passed to the zen_not_null function.

    Looking at the function, it looks like it's expecting either an array or a string. Perhaps it's getting neither, but the way the function is written, it makes assumptions which may not be true.

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

    Default Re: Error in Step 3 of Checkout...

    This could be related to a bug in php 5.2.0 ...

    Peek at post #26
    http://www.zen-cart.com/forum/showth...ght=Execute%2A

    And this should be applied to both sessions.php function files in the:
    /includes/functions
    /admin/includes/functions

    See if this makes a difference for you ...
    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!

 

 

Similar Threads

  1. Error at step 2 of checkout
    By cybermama in forum Managing Customers and Orders
    Replies: 1
    Last Post: 15 Apr 2010, 09:52 AM
  2. Forwarded back to Step 2 without error message on confirm checkout
    By frenetic in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 5 Aug 2009, 01:52 AM
  3. Step 2 of 3 Fatal Error at Checkout
    By jas99villa in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 11 Mar 2008, 09:46 PM
  4. Error in step 3 of checkout, only with Worldpay
    By crankyjim in forum Addon Payment Modules
    Replies: 1
    Last Post: 5 Jun 2007, 12:09 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