On Friday, Jan 24, 2003, at 05:06 Europe/London, Simon Woodside wrote:

OK, I'm bootstrapping the axkit wiki on my system. My sysadmin finally installed Wiki 0.05 so I'm going ahead. There's distinct lack of documentation for this ;-) so I started to RTFS and RTFG (google...). First gotcha was that I needed to add to my .htaccess:

PerlSetVar WikiDBRoot ./wikidb
(or whatever directory).

Then the next complaint was a missing file it needed: ../wiki/sidemenu.xml I have no idea what's supposed to be in there (maybe some XHTML???) so I put in just the bare bones to make it stop complaining:

<?xml version="1.0"?>
<foo/>
It's just a menu thingy. You can remove the include from the XSLT if you don't want it in there. Syntax is:

<sidemenu>
<menu>
<title>Menu</title>
<item url="http://axkit.org/";>Home</item>
<item url="DefaultPage">Wiki Home</item>
<item url="About">About</item>
<item url="AxKitDocs">Main Documentation</item>
<item url="FAQ">FAQ</item>
</menu>
</sidemenu>

Next it complained it was missing the SQLite database file: ../wiki-AxKit.db so I just touched the file and now I have this error:

DBD::SQLite::db do failed: no such table: Page at /usr/local/share/perl/5.6.1/AxKit/XSP/Wiki.pm line 40.
DBD::SQLite::db do failed: attempt to write a readonly database at /usr/local/share/perl/5.6.1/AxKit/XSP/Wiki.pm line 358.
Issuing rollback() for database handle being DESTROY'd without explicit disconnect() at /usr/lib/perl5/Apache/AxKit/Language/XSP.pm line 139.

So this is why I called the message "bootstrap" How do I bootstrap this database? I don't know what the schema might be...
The database is bootstrapped automatically. I think your problem is simply one of permissions - the WikiDBRoot directory has to be writable by the Apache user (either http or apache or nobody usually).

Matt.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to