Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Default another: Warning: Invalid argument supplied for foreach() in

    Hi,


    I have been scanning old posts that seemed similar to my problem for a week now but I have not been able to resolve this problem. I am new to this so please forgive me if there is something else I have overlooked.

    The install went fine and the page looked great the first time I opened it. I went bac later to start adding my own info and I get the following errors.


    Warning: Invalid argument supplied for foreach() in /home/content/k/r/e/kreymeridian/html/Catalog/includes/classes/class.phpBB.php on line 84

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/content/k/r/e/kreymeridian/html/Catalog/includes/classes/class.phpBB.php:84) in /home/content/k/r/e/kreymeridian/html/Catalog/includes/functions/sessions.php on line 100

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/k/r/e/kreymeridian/html/Catalog/includes/classes/class.phpBB.php:84) in /home/content/k/r/e/kreymeridian/html/Catalog/includes/functions/sessions.php on line 100

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/r/e/kreymeridian/html/Catalog/includes/classes/class.phpBB.php:84) in /home/content/k/r/e/kreymeridian/html/Catalog/includes/init_includes/init_templates.php on line 78



    I checked for extra lines but none I could see. I have the latest version installed.

    Here is the url: www.meridianlestc.com/Catalog

    PLease help

    Krey

  2. #2
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: another: Warning: Invalid argument supplied for foreach() in

    Please post the class.phpBB.php file here

    --------
    Warning: Invalid argument supplied for foreach() in /home/content/k/r/e/kreymeridian/html/Catalog/includes/classes/class.phpBB.php on line 84
    ----

  3. #3
    Join Date
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: another: Warning: Invalid argument supplied for foreach() in

    here's the file:

    /**
    * phpBB Class.
    *
    * This class is used to interact with phpBB forum
    *
    * @package classes
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: class.phpBB.php 3053 2006-02-17 04:57:06Z drbyte $
    */
    EDIT: Code removed.
    Last edited by DrByte; 31 Jul 2006 at 03:36 AM.

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

    Default Re: another: Warning: Invalid argument supplied for foreach() in

    lol -- didn't need to post the file.

    Line 84 is looping through the contents of the phpBB "constants.php" file from the phpBB includes folder.

    If you're getting that error, it means the file is blank or doesn't exist. This would suggest that you have a phpBB installation that's bad, incomplete, or somehow otherwise incompatible with synchronizing to Zen Cart.

    While you work at fixing your phpBB setup, you can disable this error situation by going to Admin->Configuration->My Store->Enable phpBB Linkage? ... and set it to false.
    .

    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
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: another: Warning: Invalid argument supplied for foreach() in

    Thank you,

    JUst checked and phpBB2 was never installed properly. Just reinstalled and I am now in the install set up window.

    I am now stuck on the Admin Configuration window at the

    Administrator Username: and Administrator Password: prompt

    Which Admin username and password goes here?

    I get a box asking me to confirm which user I want to change the password for.
    No matter what I choose I get an error that either password does not match or unable to open DB

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

    Default Re: another: Warning: Invalid argument supplied for foreach() in

    Please explain how you got to this screen, and what it's asking for. I'm having trouble envisioning where you're at and why.
    .

    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
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: another: Warning: Invalid argument supplied for foreach() in

    Im in the Welcome to phpBB 2 Installation window

  8. #8
    Join Date
    Jul 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: another: Warning: Invalid argument supplied for foreach() in

    Just figured it out.

    Thanks!

 

 

Similar Threads

  1. Replies: 1
    Last Post: 3 Jul 2013, 04:00 AM
  2. Replies: 7
    Last Post: 4 Jan 2013, 09:21 PM
  3. Debug: USPS.php PHP Warning: Invalid argument supplied for foreach()
    By divinelighting in forum Addon Shipping Modules
    Replies: 2
    Last Post: 11 Jun 2011, 03:17 AM
  4. Help receiving: Warning: Invalid argument supplied for foreach()
    By kateoeight in forum General Questions
    Replies: 9
    Last Post: 1 May 2007, 09:28 PM
  5. Warning: Invalid argument supplied for foreach
    By harlyman in forum General Questions
    Replies: 9
    Last Post: 23 Aug 2006, 11:39 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