From: Nick H. <nh...@lu...> - 2003-07-05 21:35:07
|
Ok well that worked I guess, I got the main startup page for the wiki where it can the commands from the pgsrc directory and it said it was completed. Now I have another problem. I did what the install file said to do which was create a pages directory and have it put the dbm file there. I moved the wiki_pagedb.gdbm file from /tmp to phpwiki/pages. I did a chown nobody:root pages and a chmod 755 pages.=20 Now when I try to start the home page I get all the crap on my page, it looks to be encoded. If you wish to look here it is http://www.deepfog.net/phpwiki . =20 Thanks Nick Hudson On Sat, 2003-07-05 at 15:37, Nick Hudson wrote: > Yeah im running mysql 4.x, I will look there thank for the help. >=20 > Nick Hudson >=20 >=20 > On Sat, 2003-07-05 at 15:23, Philip J. Hollenback wrote: > > Are you running mysql version 4.x? The install instructions have > > changed slightly because there are changes in how mysql security works > > with locks. Check the phpwiki main site and search for mysql - someone > > has posted the corrected instructions there. Basically you need to run > > some mysql grant commands to permit the phpwiki users to set locks. > >=20 > > P. > >=20 > > On 07/05/03, Nick Hudson wrote: > > > Greetings, > > >=20 > > > I downloaded and installed phpwiki 1.3.4 and when I go to the main p= age > > > I get this error: > > >=20 > > >=20 > > > lib/WikiDB/backend/PearDB.php:681: Fatal[256]: wikidb_backend_mysql: > > > fatal database error > > >=20 > > > * DB Error: unknown error > > > * (LOCK TABLES page WRITE,version WRITE,link WRITE,recent > > > WRITE,nonempty WRITE [nativecode=3D1044 ** Access denied for = user: > > > 'phpwiki@localhost' to database 'phpwiki']) > > >=20 > > > lib/config.php:276: Notice[8]: Undefined variable: SCRIPT_NAME > > >=20 > > >=20 > > > lib/config.php:381: Notice[1024]: The admin password cannot be empty. > > > Please update your /index.php > > >=20 > > > I dont understand what is wrong?? I set up a user 'phpwiki' to acces= s > > > that mysql db like it said in the install docs. I set my persm in > > > index.php using this: $DBParams =3D array( 'dbtype' =3D> 'SQL' 'dsn' = =3D> > > > 'mysql://phpwiki:<password>@localhost/phpwiki > > >=20 > > > Yet I still get the error like the DB perms arent set up correctly. = Any > > > idea on how I might be able to fix this?? > > >=20 > > > Thanks > > >=20 > > > Nick Hudson > >=20 > >=20 |