Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Join Date
    Jan 2007
    Posts
    24
    Plugin Contributions
    0

    Default Help - Variable passed to each() is not an array - PayPal module

    If i install this module i get tones of errors


    Code:
    Warning:  Variable passed to each() is not an array or object in /home/mcmullen/public_html/damage/shop/includes/classes/db/mysql/query_factory.php on line 114
    
    Warning:  session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mcmullen/public_html/damage/shop/includes/classes/db/mysql/query_factory.php:114) in /home/mcmullen/public_html/damage/shop/includes/functions/sessions.php on line 108
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/mcmullen/public_html/damage/shop/includes/classes/db/mysql/query_factory.php:114) in /home/mcmullen/public_html/damage/shop/includes/init_includes/init_templates.php on line 78
    Can someone help me , ive uninstalled it , and its fine

    since ive been informed express is better , i want the better one

    [does it cost more in paypal charges?]

  2. #2
    Join Date
    Jan 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Help

    Quote Originally Posted by jilesmcgee View Post
    If i install this module i get tones of errors


    Code:
    Warning:  Variable passed to each() is not an array or object in /home/mcmullen/public_html/damage/shop/includes/classes/db/mysql/query_factory.php on line 114
    
    Warning:  session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mcmullen/public_html/damage/shop/includes/classes/db/mysql/query_factory.php:114) in /home/mcmullen/public_html/damage/shop/includes/functions/sessions.php on line 108
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/mcmullen/public_html/damage/shop/includes/classes/db/mysql/query_factory.php:114) in /home/mcmullen/public_html/damage/shop/includes/init_includes/init_templates.php on line 78
    Can someone help me , ive uninstalled it , and its fine

    since ive been informed express is better , i want the better one

    [does it cost more in paypal charges?]
    I have tryied using the patch , that didnt work

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Help

    open this file
    includes/classes/db/mysql/query_factory.php

    put cursor at end of file imediatly behind ?> hit delete 10 times and save re-upload
    Zen cart PCI compliant Hosting

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Help

    Merlin, that only applies if the line 114 in the error message was found after the closing ?> in the file. In this case, line 456 or 457 is the end of the file.
    .

    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.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Help

    Quote Originally Posted by jilesmcgee View Post
    If i install this module i get tones of errors


    Code:
    Warning:  Variable passed to each() is not an array or object in /home/mcmullen/public_html/damage/shop/includes/classes/db/mysql/query_factory.php on line 114
    
    Warning:  session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mcmullen/public_html/damage/shop/includes/classes/db/mysql/query_factory.php:114) in /home/mcmullen/public_html/damage/shop/includes/functions/sessions.php on line 108
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/mcmullen/public_html/damage/shop/includes/classes/db/mysql/query_factory.php:114) in /home/mcmullen/public_html/damage/shop/includes/init_includes/init_templates.php on line 78
    Can someone help me , ive uninstalled it , and its fine
    When does this occur ? What screen do you have to be on, or what do you have to click in order to see it ?
    Where does it occur? Where can it be seen?
    .

    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,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Help

    Quote Originally Posted by jilesmcgee View Post
    since ive been informed express is better , i want the better one

    [does it cost more in paypal charges?]
    PayPal Express Checkout has the same fee structure as other PayPal transactions.
    .

    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
    Jan 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Help

    It happens when you click onto a product , the sides header and footer disappear and awaiting approval logo pops up and all this poop happens

  8. #8
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Help - Variable passed to each() is not an array

    "awaiting approval logo" ? I don't follow you there.

    Can you share a URL where this can be seen in action?
    .

    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.

  9. #9
    Join Date
    Jan 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Help - Variable passed to each() is not an array


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

    Default Re: Help - Variable passed to each() is not an array

    And you're saying that the only thing you have to do to trigger this condition is to turn on or off the PayPal Express Checkout module ?

    Do you see any errors in the admin when editing payment module settings ?
    .

    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 3 123 LastLast

Similar Threads

  1. v151 Warning: Variable passed to each() is not an array or object
    By caprimia in forum General Questions
    Replies: 2
    Last Post: 1 Feb 2013, 06:16 AM
  2. Replies: 4
    Last Post: 1 May 2009, 06:47 AM
  3. Variable passed to each() is not an array or object in
    By wareagletsf in forum Basic Configuration
    Replies: 2
    Last Post: 13 Mar 2008, 10:32 AM
  4. MZMT - Variable passed to each() is not an array
    By dantien in forum Addon Shipping Modules
    Replies: 17
    Last Post: 22 May 2007, 06:40 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