|
From: Joe Z. <jz...@at...> - 2002-12-01 04:52:13
|
I'm still getting an error on the last 2 files in the cmd directory.
Statement 132 and 136. Apparently the $dir_tree variable is null.
Here's the error:
Starting /var/bobsdata/current/process/cmd/cmd.1038710961.php
X-Powered-By: PHP/4.2.2
Content-type: text/html
<br />
<b>Warning</b>: sort() expects parameter 1 to be array, null given
in <b>/var/b
obsdata/current/process/cmd/cmd.1038710961.php</b> on line
<b>132</b><br />
<br />
<b>Warning</b>: Invalid argument supplied for foreach() in
<b>/var/bobsdata/cur
rent/process/cmd/cmd.1038710961.php</b> on line <b>136</b><br />
Finished /var/bobsdata/current/process/cmd/cmd.1038710961.php
And here's the section of code it refers to:
132 sort($dir_tree);
133 // reset the state tree
134 $state = '';
135 // parse the tree
136 foreach ($dir_tree as $path ) {
|