We've expanded our news coverage and improved our search! Visit news.oreilly.com for the latest or search for all things across O'Reilly!
advertisement

Article:
  Installing a Wiki on Your iBook
Subject:   It just got even more interesting
Date:   2003-06-19 04:38:02
From:   dparmet1
Response to: It just got even more interesting

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

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • It just got even more interesting
    2003-06-22 13:46:10  anonymous2 [Reply | View]

    ok, a few things.

    1. did you initialize and start the MySQL database? i'm not an expert there, but the Preferences applet provided in the distribution helped.

    2. For some reason, configurator.php did not work on my machine - that is, every time i opened it, i saw the default values, despite the fact that i hit the save button on the previous edit. Editing index.php manually worked fine.

    3. I should've started with this, actually: you will need to edit the 'dbtype' variable in the index.php - you're not using dba, you're using sql. it's detailed pretty well in the article, although i wish the author gave a couple of references to the materials on the topic. (but then again... use google, bart!)

    4. it looks like you didn't place phpwiki under ~/Sites - did you setup the folders then? look up on oreillymac.com for articles on that.

    My Wiki works, per article instructions (although I did have problems with starting MySQL from the command line - I didn't know how to initialize the database, so I had to go through the PreferencePane). I can send you my index.php if you want - just contact me at [ilyaa1 at hotmail dotdot com]. Spam protection, you know :)

    Ilya Ayzenshtok.

  • It just got even more interesting
    2003-06-22 13:45:50  ilyaa1 [Reply | View]

    ok, a few things.

    1. did you initialize and start the MySQL database? i'm not an expert there, but the Preferences applet provided in the distribution helped.

    2. For some reason, configurator.php did not work on my machine - that is, every time i opened it, i saw the default values, despite the fact that i hit the save button on the previous edit. Editing index.php manually worked fine.

    3. I should've started with this, actually: you will need to edit the 'dbtype' variable in the index.php - you're not using dba, you're using sql. it's detailed pretty well in the article, although i wish the author gave a couple of references to the materials on the topic. (but then again... use google, bart!)

    4. it looks like you didn't place phpwiki under ~/Sites - did you setup the folders then? look up on oreillymac.com for articles on that.

    My Wiki works, per article instructions (although I did have problems with starting MySQL from the command line - I didn't know how to initialize the database, so I had to go through the PreferencePane). I can send you my index.php if you want - just contact me at [ilyaa1 at hotmail dotdot com]. Spam protection, you know :)

    Ilya Ayzenshtok.