No luck with commenting the two lines.
I started over from scratch:
- decompressing phpwiki-1.3.3.tar
- moving the whole tree under the web folder
(wwwroot) under phpwiki.
- Editing the index.php. No change apart from the
database section changed to:
$DBParams = array(
// Select the
//'dbtype' => 'SQL',
'dbtype' => 'dba',
// For SQL
based backends, specify the database as a DSN
// The most
general form of a DSN looks like:
// For a MySQL database, the following should
FIXME: My version Pear::DB seems to be broken enough that there
// is no way to connect to a mysql
server over a socket right now.
// Used by all DB
// prefix for filenames or table
* currently you MUST EDIT THE
SQL file too (in the schemas/
* directory because we
aren't doing on the fly sql generation
* during the
// Used by 'dba'
'directory' => "/tmp/wiki133",
//'dba_handler' => 'gdbm', // Either of 'gdbm' or
'db2' work great for me.
'dba_handler' => 'db3', // doesn't
work at all for me....
//'timeout' => 5
- Starting the web
- The screen
- I click on edit and 'page not found..."
Note the addition of /phpwiki/index.php that should not be here.
----- Original Message -----
Subject: Re: [Phpwiki-talk] Strange url
> Hi Laurent,
> Try commenting out these two
lines near the bottom of index.php by putting
> two slashes in
> Does this fix the url problem?
> Regarding the missing bracket problem, I double-checked the latest
> of index.php and the default file tests ok on my system. Are
you sure you
> are looking at the correct file on your computer? It
sounds like you may
> have accidentally deleted the ); on line 232, or
inserted a semicolon
> instead of a comma, or deleted a comma at the end
of one of the lines
> somewhere from line 193 to 232.