Menu

#30 Newly installed phpwiki: invalid links

open
nobody
None
5
2012-10-11
2002-08-23
Doug_A
No

I just installed phpwiki 1.2.2 and am able to properly
view the index.php page. I first configured with flat file
and now with postgres, both configurations provide
nearly perfect index.php pages. The problem (under
both configurations) is this:

All links from the index.php page are invalid. They
produce something like:
<http://myserver.org/?WikiWikiWeb>
I tried manually editing the url in the address field of
my browser to find what the link should be, but
nothing I tried would bring up any pages other than
the index.php page. An example of the manually
entered urls that I tried is:
<http://mycomputer.org/phpwiki-1.2.2/index.php?
edit=FrontPage>

My machine runs Mandrake 8.1, Apache server
1.3.26, php4.2.1 and postgreSQL

Thanks,
Doug

Discussion

  • Josh Becigneul

    Josh Becigneul - 2003-01-10

    Logged In: YES
    user_id=508134

    I've been having similar problems, and I can't find any FAQ
    or Troubleshooting webpages.

    In my frontpage, any link I click just loads the main page
    again.

    I'm running PHPWiki-1.2.2, PHP 4.3.0-Win32, and IIS 5.1 on
    Windows XP SP1. I'm also using MySQL 3.23.54.

    Any information or help would be greatly appreciated...

    Josh Becigneul
    vs9
    vectorsigma9@hotmail.com

     
  • Bernhard Buchreiter

    Logged In: YES
    user_id=714984

    I have the same problems on Solaris 8. (apache2, mysql
    3.23.51, php 4.2.2)
    Is there a sample configuration or FAQ somewhere?
    Error message eg.:
    "File does not
    exist: /usr/apache/htdocs/phpwiki/WikiWikiWeb, referer:
    http://host.domain/wiki/"

     
  • Nobody/Anonymous

    Logged In: NO

    I found a comment in PHPs manual, that the global variables
    like QUERY_STRING, are now normal variables. That means that
    if you use them, they are empty. If you want your
    lib/display.php page to use the global one, I think you must
    declare it as global first:
    global $QUERY_STRING;
    The QUERY_STRING and argv[0] used in display.php are empty
    otherwise, which makes the page to display, the default and
    that is 'FrontPage'.

    Hope that helped!
    jochen

     
  • jeff mckenna

    jeff mckenna - 2004-03-13

    Logged In: YES
    user_id=996055

    i used getenv('QUERY_STRING') to solve this..woo-hoo..thanks

     
  • Dan

    Dan - 2004-10-12

    Logged In: YES
    user_id=1137944

    I replaced every instance of:

    $QUERY_STRING

    with

    $_SERVER['QUERY_STRING']

    on display.php and it worked

     

Log in to post a comment.