advertisement

Article:
  Installing a Wiki on Your iBook
Subject:   It just got even more interesting
Date:   2003-06-18 19:43:58
From:   dparmet1
Response to: got all the way through and made the changes to the index.php

I just tried opening index.php via Safari once again and this time I got..



lib/WikiDB/backend/PearDB.php:32: Fatal[256]: Can't connect to database: wikidb_backend_mysql: fatal database error


DB Error: connect failed



( [nativecode=Access denied for user: 'wiki@localhost' (Using password: YES)] ** mysql://wiki:XXXXXXXX@localhost/wiki)



lib/config.php:276: Notice[8]: Undefined variable: SCRIPT_NAME



Is this a MySQL problem?


baffled...


david parmet

Main Topics Oldest First

Showing messages 1 through 2 of 2.

  • It just got even more interesting
    2004-01-17 15:14:10  anonymous2 [Reply | View]

    I was getting this error too:

    ( [nativecode=Access denied for user: 'wiki@localhost' (Using password: YES)] ** mysql://wiki:XXXXXXXX@localhost/wiki)

    It's just that we missed something. Like in the tutorial, make sure the following line is uncommented, and make sure the username and password can access the database (the DB name in this case is 'phpwiki')

    'dsn' => 'mysql://username:password@localhost/phpwiki'

    I hope this helps someone, as I was scratching my head for much too long on this simple mistake ;)
  • It just got even more interesting
    2003-06-19 04:38:02  dparmet1 [Reply | View]

    gotta give me credit for that...

    anyway... I deleted everything and started from scratch. And now when I open phpwiki/index.php I get this messge...

    Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /Library/Apache2/htdocs/phpwiki/index.php on line 190


    There's nothing on line 190 that would indicate I'm missing a ')"....

    any thoughts? thanks

    david parmet