Fridemar Pache |
|
|
See http://c2.com/cgi/wiki?FridemarPache
Trying to install Ward's original wikibase I got the known 'cannot open db error'. I replaced the offending statements in sub HandlePost { .. dbmopen(%db, $DataBase , 0666) || &AbortScript("can't open $DataBase for update\n"); }and # InitialComments print "Content-type: text/html\n\n"; dbmopen(%db, $DataBase , 0666) || &AbortScript("can't open $DataBase"); ..by tie (%db, 'DB_File', $DataBase , O_RDWR|O_CREAT, 0666); || &AbortScript("Cannot open $DataBase for update\n");of course, not forgetting to use: use DB_File; use Fcntl;and replacing dbmclose (%db)accordingly. Try to execute http://fridemar.hypermar ... -bin/wikibase.pl What's wrong with the script the same as text in this WikiWeb [1] ? Problem: it generates the first chunk of database, but the permissions are readonly, although I explicitely set writable too. FromWhere: http://www.c2.com/cgi/wi ... ?RegisteredUsers
|
Last edited November 1, 1999 Return to WelcomeVisitors |