phpwiki install problem

Hello,

I've initialize phpwiki in admin page,
but when i run
http://mysite/modules/phpwiki/index.php

it shows this error msg:

Parse error: parse error, unexpected ':', expecting ')' in /home/mysite/public_html/modules/phpwiki/index.php on line 180

and i've put this on line 180

mysql://usename:password@localhost/databasename

anyone can help to tell me what is the problem?
Thanks!

wk13
Hi,

I can install it finally, I found that I have to edit line 185 instead of 180 to define DB type


'dsn' => 'mysql://user:password@localhost/db_name',

However, when i run http://mysite/modules/phpwiki/index.php
directly, i cann access the page,
but it gives error

Warning: main(lib/prepend.php) [function.main]: failed to create stream: No such file or directory in /home/user/public_html/modules/phpwiki/index.php on line 83

Fatal error: main() [function.main]: Failed opening required 'lib/prepend.php' (include_path='') in /home/user/public_html/modules/phpwiki/index.php on line 83


when I use the menu bar of postnuke to access it
the link is

modules.php?op=modload&name=phpwiki&file=index

is it equal to direct access the page by using this link?
maybe the enhanced phpWiki from mats kling is a good option:
http://stuff.kling.nu/

--
regards from germany
..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
This is very nice.
Thanks for pointing it out, larsneo.
Thanks a lot larsneo
this one works very good in my Liniux environment.

But I got problem again when I run it in IIS, asI am going to use this for my company intranet, and my company has mutlisite hosting in the IIS server.....any idea?