Ich wollte einen zweiten virtuellen Host hinzufügen, was auch ohne Probleme ging. Nun muss ich feststellen, dass ein kleines altes Verzeichnisbaum-Script, dass nur aus einer Datei menu.inc besteht und automatisch Verzeichnisse ausliest, auf allen drei Host nicht mehr funktioniert. Als Fehlermeldung wird angezeigt:
Fatal error: Call to a member function read() on a non-object in /opt/lampp/htdocs/menu.inc on line 46
In dieser Zeile steht:
44 // We'll have to loop through all the files in the current directory
45 $d = dir(dirname($SCRIPT_FILENAME));
46 while($file=$d->read()){
47
48 // ************* FILTER files and directories **************
Auch nachdem ich den neuen Host samt sämtlicher Verzeichnisse wieder gelöscht habe, bleibt das Problem bestehen.
Fatal error: Call to a member function read() on a non-object in /opt/lampp/htdocs/menu.inc on line 46
In dieser Zeile steht:
44 // We'll have to loop through all the files in the current directory
45 $d = dir(dirname($SCRIPT_FILENAME));
46 while($file=$d->read()){
47
48 // ************* FILTER files and directories **************
Auch nachdem ich den neuen Host samt sämtlicher Verzeichnisse wieder gelöscht habe, bleibt das Problem bestehen.