Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    42
    Plugin Contributions
    0

    Default query factory error

    Hi All

    Just got this error out of the blue, am using 1.2.7 version of zencart, Please help me out here.

    Warning: Variable passed to each() is not an array or object in /home/twg/public_html/includes/classes/db/mysql/query_factory.php on line 100

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/twg/public_html/includes/classes/db/mysql/query_factory.php:100) in /home/twg/public_html/includes/functions/sessions.php on line 111

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/twg/public_html/includes/classes/db/mysql/query_factory.php:100) in /home/twg/public_html/includes/functions/sessions.php on line 111

    Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/twg/public_html/includes/application_top.php on line 355

    Warning: main(includes/languages/.php) [function.main]: failed to open stream: No such file or directory in /home/twg/public_html/includes/application_top.php on line 355

    Fatal error: main() [function.require]: Failed opening required 'includes/languages/.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/twg/public_html/includes/application_top.php on line 355

    Any idea how to resolve this problem? your help and input greatly appreciated. Site address is www.trustytime88.com

    Thanks

  2. #2
    Join Date
    Apr 2006
    Posts
    10
    Plugin Contributions
    0

    Default URGENT - Whats the main problem with this???

    Urgent Help needed... Website displayed this:

    Warning: Variable passed to each() is not an array or object in /home/twg/public_html/includes/classes/db/mysql/query_factory.php on line 100

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/twg/public_html/includes/classes/db/mysql/query_factory.php:100) in /home/twg/public_html/includes/functions/sessions.php on line 111
    Home |


    HomeBREAD_CRUMBS_SEPARATORNew Products
    New Products
    Sort by: Product Name Product Name - desc Price - low to high Price - high to low Model Date Added - New to Old Date Added - Old to New

    Warning: Division by zero in /home/twg/public_html/includes/classes/split_page_results.php on line 76

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-0, MAX_DISPLAY_PRODUCTS_NEW' at line 1


    **Whats the problem with the SQL or Script?????

    ANDREW

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: URGENT - Whats the main problem with this???

    .

    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.

  4. #4
    Join Date
    Apr 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: URGENT - Whats the main problem with this???

    Seems that ethan and I have tried to disable the modules (Shipping & Payment) and also ethan ran the SQL Patch but still it is not working... Any one can help?

    Thanks!

    Andrew

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: URGENT - Whats the main problem with this???

    Are you still getting the exact same error message now ?


    (By the way, I've merged your two posts into one, to retain continuity of thought.)
    .

    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.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: query factory error

    What addons/contributions do you have installed?
    "When" does this happen?
    Does it occur on every page?
    When did it start? Did it start just after installing or enabling a module?
    .

    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.

  7. #7
    Join Date
    Mar 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: query factory error

    heres a error log from cpanel , SQL database is checked to be ok

    [Wed Sep 19 07:25:19 2007] [error] [client 62.13.168.67] File does not exist: /home/twg/public_html/function.main
    [Wed Sep 19 07:17:39 2007] [error] [client 204.110.112.2] File does not exist: /home/twg/public_html/404.shtml
    [Wed Sep 19 07:17:39 2007] [error] [client 204.110.112.2] File does not exist: /home/twg/public_html/function.session-start
    [Wed Sep 19 07:17:36 2007] [error] [client 204.110.112.2] File does not exist: /home/twg/public_html/404.shtml

  8. #8
    Join Date
    Mar 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: query factory error

    I tried the SQL patch but this time this error appears

    Warning: Variable passed to each() is not an array or object in /home/twg/public_html/includes/classes/db/mysql/query_factory.php on line 100

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/twg/public_html/includes/classes/db/mysql/query_factory.php:100) in /home/twg/public_html/includes/functions/sessions.php on line 111

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXPECTED_PRODUCTS_SORT limit MAX_DISPLAY_UPCOMING_PRODUCT' at line 6

    So i guess it did not work
    The website is www.trustytime88.com/index1.php.

    Any other ideas?

    Warmest Regards

  9. #9
    Join Date
    Mar 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: query factory error

    can anyone answer this question? thanks

  10. #10
    Join Date
    Apr 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: query factory error

    Anyone care to help? 2 lost souls trying so hard to revive the site. =P

    Thanks in advance. =P

 

 

Similar Threads

  1. v151 [Fixed 1.6.0]Query Factory
    By lhungil in forum Bug Reports
    Replies: 2
    Last Post: 9 Oct 2012, 10:12 PM
  2. Xampp 1.72 Query Factory Php Error
    By CRYSTALDOLL in forum General Questions
    Replies: 6
    Last Post: 19 Sep 2009, 02:33 PM
  3. Replies: 1
    Last Post: 2 Dec 2006, 08:55 AM

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