Zen Cart Logo
Forums / General Questions / another: Warning: Invalid argument supplied for foreach() in

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

Locked

Views: 3,496

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
30 Jul 2006, 6:50 PM
#1
kreyon avatar

kreyon

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

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: https://www.meridianlestc.com/Catalog

PLease help

Krey

30 Jul 2006, 7:16 PM
#2
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

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

30 Jul 2006, 9:44 PM
#3
kreyon avatar

kreyon

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

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.

30 Jul 2006, 10:39 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

31 Jul 2006, 2:06 AM
#5
kreyon avatar

kreyon

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

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

31 Jul 2006, 2:37 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

31 Jul 2006, 2:48 AM
#7
kreyon avatar

kreyon

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

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

Im in the Welcome to phpBB 2 Installation window

31 Jul 2006, 3:03 AM
#8
kreyon avatar

kreyon

New Zenner

Join Date:
Jul 2006
Posts:
6
Plugin Contributions:
0

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

Just figured it out.

Thanks!