Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    1
    Plugin Contributions
    0

    Default error in custom code:Object of class queryFactoryResult could not be converted to int

    Hello,

    * I use Zen Cart 1.3.8a.
    * I put GET_PIN.php file into zen cart parent directory
    * GET_PIN.php look like this:

    --------GET_PIN.php---------------------------
    define('IS_ADMIN_FLAG', true);
    require('./includes/configure.php');
    require('./includes/classes/class.base.php');
    //require('./includes/classes/db/mysql/query_factory.php');
    require('./includes/init_includes/init_database.php');
    require('./includes/database_tables.php');
    require('./includes/functions/functions_general.php');
    require('./includes/functions/sessions.php');

    zen_session_start();
    ---------------------------------------------------

    * I get an error:
    Notice: Object of class queryFactoryResult could not be converted to int in Unknown on line 0

    * What should I do to localize the error? What should I add or remove from my GET_PIN.php file?

    Thanks in advance for response.

  2. #2
    Join Date
    Sep 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: error in custom code:Object of class queryFactoryResult could not be converted to

    Quote Originally Posted by czukowsk View Post
    Hello,

    * I use Zen Cart 1.3.8a.
    * I put GET_PIN.php file into zen cart parent directory
    * GET_PIN.php look like this:

    --------GET_PIN.php---------------------------
    define('IS_ADMIN_FLAG', true);
    require('./includes/configure.php');
    require('./includes/classes/class.base.php');
    //require('./includes/classes/db/mysql/query_factory.php');
    require('./includes/init_includes/init_database.php');
    require('./includes/database_tables.php');
    require('./includes/functions/functions_general.php');
    require('./includes/functions/sessions.php');

    zen_session_start();
    ---------------------------------------------------

    * I get an error:
    Notice: Object of class queryFactoryResult could not be converted to int in Unknown on line 0

    * What should I do to localize the error? What should I add or remove from my GET_PIN.php file?

    Thanks in advance for response.
    It looks like you are trying to do the same thing I am, did you ever get a resolution to this problem?

    james

 

 

Similar Threads

  1. Replies: 7
    Last Post: 4 Nov 2009, 10:49 PM
  2. Replies: 1
    Last Post: 24 Oct 2009, 09:09 PM
  3. Replies: 1
    Last Post: 25 May 2009, 08:14 PM
  4. Coupon Restrict: Object of class queryFactoryResult could not be converted to string
    By DodgeGirl in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 4 Mar 2009, 10:25 AM
  5. Object of class Directory could not be converted to string
    By jeking in forum General Questions
    Replies: 4
    Last Post: 17 Oct 2008, 09:35 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