chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6262 Location: Outer Space
|
Posted: Tue Jun 24, 2003 11:50 pm Post subject: Warning: Invalid argument supplied for foreach() |
|
|
|
Problem: You get this
Warning: Invalid argument supplied for foreach()
somewhere in the PHP-Nuke files. You use PHP-Nuke >= 6.5.
Reason: PHP-Nuke 6.5 requires at least PHP 4.1.0 See the INSTALL file.
To see the PHP version you are running and do also a small test on your configuration, take the following file, name it test.php, put it in the html directory and point your browser to it:
| Code: |
<?php
include("config.php");
mysql_connect("$dbhost", "$dbuname", "$dbpass");
mysql_select_db("$dbname");
echo mysql_error();
phpinfo();
?>
|
_________________ Regards
Chris Karakas
www.karakas-online.de |
|