Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jul 2004
    Posts
    246
    Plugin Contributions
    0

    Default Help with Object of class queryFactoryResult could not be converted to int

    Hi

    I'm running Zen Cart 1.3.8a and have just installed the jgallery contribution but to get it to display the gallery on an ez-page I changed a bit of code which allowed me to run php on an ezpage and now the gallery works but an error has appeared which reads.

    Notice: Object of class queryFactoryResult could not be converted to int in /home/dart/public_html/includes/application_bottom.php on line 16

    I changed this code in /includes/templates/template_default/templates/tpl_page_default.php in order to allow php in ezpages

    from

    <div><?php echo $var_pageDetails->fields['pages_html_text']; ?></div>

    to

    <div><?php eval(stripslashes('?>' . $var_pageDetails->fields['pages_html_text'])); ?></div>

    The shop is very nearly complete. Any help would be very much appreciated.
    The shop is at www.dartdesigns.co.uk
    UK based Zen Cart Web Designer here www.handcoded.co.uk

  2. #2
    Join Date
    Dec 2005
    Location
    Maidstone, Kent, UK
    Posts
    339
    Plugin Contributions
    3

    Default Re: Help with Object of class queryFactoryResult could not be converted to int

    Hi

    Assuming its not yet fixed, I would undo whatever coede changes you have done, you dont actually need to do it that way.

    Simply add the gallery code to the page 2 3 or 4, set the page to be active but not visible in configuration, then in ezpages create a new page using an internal link to that page, works perfect.
    My only addon is Gallery addon and can be seen here breezy

 

 

Similar Threads

  1. Looking for help/input - Object of class ot_loworderfee could not be converted
    By mykel241 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 4 Dec 2009, 02:49 AM
  2. Replies: 7
    Last Post: 4 Nov 2009, 10:49 PM
  3. Object of class psigate_xml could not be converted to string
    By james739 in forum Addon Payment Modules
    Replies: 3
    Last Post: 19 Jun 2009, 04:20 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. Replies: 1
    Last Post: 1 Oct 2008, 09:37 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR