Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Jun 2012
    Posts
    18
    Plugin Contributions
    0

    Default Blank Category Pages (2 cats only) - Missing argument 2 for cache::sql_cache_exists()

    I have about 11 categories on my site and all of them except two work fine
    the two that dont work when i click on them the page loads blank...
    but when i de activate the products in those categories it works fine...
    can anyone help???

    [21-Jun-2012 10:26:41] PHP Warning: Missing argument 2 for cache::sql_cache_exists(), called in /html/includes/classes/db/mysql/query_factory.php on line 123 and defined in /html/includes/classes/cache.php on line 43
    [21-Jun-2012 10:26:42] PHP Warning: Cannot modify header information - headers already sent by (output started at /html/includes/languages/black_pure_free/english.php:1421) in /html/includes/init_includes/init_templates.php on line 155
    [21-Jun-2012 10:26:42] PHP Warning: Cannot modify header information - headers already sent by (output started at /html/includes/languages/black_pure_free/english.php:1421) in /html/includes/functions/functions_general.php on line 89

  2. #2
    Join Date
    Jun 2012
    Posts
    18
    Plugin Contributions
    0

    Default Re: Blank Category Pages

    Can anybody help?

  3. #3
    Join Date
    Aug 2009
    Posts
    210
    Plugin Contributions
    1

    Default Re: Blank Category Pages

    Open up a debug file and post that here for me to read.

  4. #4
    Join Date
    Jun 2012
    Posts
    18
    Plugin Contributions
    0

    Default Re: Blank Category Pages

    Quote Originally Posted by ksookma View Post
    Open up a debug file and post that here for me to read.
    dude the debug file is in the original post... lol

  5. #5
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Blank Category Pages

    Hi,

    Can you post which version of Zen Cart you are using.

    Thanks

  6. #6
    Join Date
    Jun 2012
    Posts
    18
    Plugin Contributions
    0

    Default Re: Blank Category Pages

    Quote Originally Posted by wilt View Post
    Hi,

    Can you post which version of Zen Cart you are using.

    Thanks
    Version 1.5

  7. #7
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Blank Category Pages

    Hi,

    It looks like you have customised versions of the files, that the errors are contained in.

    Do you have any contributions installed ?

  8. #8
    Join Date
    Jun 2012
    Posts
    18
    Plugin Contributions
    0

    Default Re: Blank Category Pages

    Quote Originally Posted by wilt View Post
    Hi,

    It looks like you have customised versions of the files, that the errors are contained in.

    Do you have any contributions installed ?
    The Time Zone Fix
    And The Testimonials module

  9. #9
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Blank Category Pages

    hi,

    In /html/includes/classes/db/mysql/query_factory.php

    There is a line that reads

    function Execute($zf_sql, $zf_limit = false, $zf_cache = false, $zf_cachetime=0) {

    can you paste here, that line and the following 30 lines.

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

    Default Re: Blank Category Pages

    Note that "the time zone fix" addon is NOT needed in v1.5, because that code is already built-in. So, it could be that you're using a version of query_factory that was build for an older version of Zen Cart.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Missing argument 4 for emp_order_observer::update()
    By jimmie in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 30 Aug 2019, 12:43 PM
  2. Replies: 1
    Last Post: 23 Dec 2013, 06:02 AM
  3. v150 Is there a way to only show the sub cats when main category clicked?
    By spiggles87 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Mar 2013, 10:17 PM
  4. CyberSource payment module error: Missing argument 2 for insertsignature()
    By carlosferrandis in forum Addon Payment Modules
    Replies: 1
    Last Post: 26 Sep 2006, 01:00 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