|
From: Murray C. <mur...@co...> - 2003-03-24 03:42:48
|
Yep, the cmdloop is running. Backup.php shows no errors (nor cmdloop when= run=20 in the foreground). This time I did get the directory listing in the left= =20 frame, but the right frame still has the dba_open error. There are files and directories in bobsdata/current. How can I confirm th= ey've=20 been backed up in the required way? The the base of current/myshare/ are=20 three files myshare.dirtree.ser, dirindex.db and fileindex.db. When I can= =20 read the ascii bits of them they seem to be listing files and directories= =20 that I recognize. I get the same error on your testserver/share but then, I have no files i= n=20 bobsdata/ for that... Cheers Murray On Monday 24 March 2003 13:39, Joe Zacky wrote: > You will get an error on line 66 of class_db.php if you haven't had a > successful backup yet. First, be sure the cmdloop script is running: > Type 'ps x' or 'ps -fC cmdloop' to see. You can then run an immediate > backup: su to root, them run '/etc/cron.daily/backup.php. You should se= e > some scripts running for a short time if you check with 'ps -axf'. When > that's done, type ;ls -R /var/bobsdata/current'. You should see the > backed up documents in there somewhere. After that, the "Browse Current= " > should work. > > Konqueror works fine. The reason the index.php doesn't come up by > default is in your httpd configuration. It doesn't recognize index.php > as a default index page like it would index.html. In RedHat 7.3's > version of Apache, the DirectoryIndex line in httpd.conf controls what > names are considered index pages. I'm not sure where that's controlled > in RedHat 8.0's version of Apache. > > I'll hopefully be checking in the latest changes today. It includes the > ability to make an rpm. I also changed the OK button on the server > configuration to Next and changed the BOBS button to say Restore. > > Please let us know how it goes. > > Thanks, > Joe > > Murray Curtis wrote: > >OK, we're making progress - I get the browsing pages up but get an err= or: > > > >Fatal error: Call to undefined function: dba_open() in > >/var/www/html/bobs/inc/class_db.php on line 66 > > > >repeated on both left and right side frames. I guess I'm missing somet= hing > >somewhere. Google tells me dba_open is a PHP call (I'm now running > >php-4.1.2-7) but I've no PHP experience to go any further without help= =2E > > > >I'm testing this on a 'custom install' of RH7.3. I plan to install it > > fresh on another box once we've sorted these little issues - either 7= =2E3 > > or 8.0, - good opportunity to test your rpm. > > > >BTW, I'm using Konqueror to access Bobs and it dosn't automatically pi= ckup > >index.php the way it'll find index.html, so when I click on Bobs I get= a > >directory listing of the bobs directory from where I have to click > > index.php. Is that the expected behaviour? > > > >Cheers > >Murray > > |