From: Carsten K. <car...@ma...> - 2002-03-25 14:48:13
|
Hi Laurent, Try commenting out these two lines near the bottom of index.php by putting two slashes in front: //define('SCRIPT_NAME', '/some/where/index.php'); //define('USE_PATH_INFO', false); Does this fix the url problem? Regarding the missing bracket problem, I double-checked the latest version 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. Carsten On Thursday, March 21, 2002, at 05:11 pm, Laurent Marechal wrote: > Hello, > > I'm running under W2K SP2 , IIS5 and PHP 4.1.2 > > I have tried version 1.2.2, works like a charm. > > Then I wanted to try version 1.3.3. > The offical version (not the daily snapshot) doesn't work. I can install > it, > configure it but I keep getting the same problem. On the first page, if I > click on any link, it try to find a new url that doesn't exist. > > Ie: > Original page : http://www.myhost/phpwiki/index.php > Selecting to edit the first page should return me : > http://myhost/phpwiki/index.php?action=edit > But I'm getting: > http://myhost/phpwiki/index.php/phpwiki/index.php?action=edit > > I didn't change any web seting or PHP setting... > > Any idea ? > > Tried also with the latest snapshot but I get a parse error (missing ')' > ) > in index.php around line 223 even in the original file before any change. > > Thanks > > Laurent. |