|
From: Joe Z. <jz...@at...> - 2002-12-02 00:00:45
|
Yes, that was part of it. I did have some files and some empty
directories. Not all of the files are showing up on the "browse
current", and I'm still getting the same $dir_tree null error.
Joe
Rene Rask wrote:
>A quick guess is that you have no directories in the share you are make
>a backup of.
>It can't create a tree when there are no dirs. I haven't implemented a
>check to fix this error yet.
>
>-Rene
>
>On Sun, 2002-12-01 at 05:52, Joe Zacky wrote:
>
>
>>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 ) {
>>
>>
>>
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Bobs-devel mailing list
>Bob...@li...
>https://lists.sourceforge.net/lists/listinfo/bobs-devel
>
>
>
|