Menu

HomePage is always loaded by every wiki link

Help
Sandsoy
2006-10-11
2012-10-11
  • Sandsoy

    Sandsoy - 2006-10-11

    Just attempted an install of Phpwiki on Linux (Fedora Core 5) with MySQL. Got the home page to load. The URLs behind the links look OK, but each link just ends up loading the homepage. Any hints at what I need to be looking at. Tried checking the apache http_server_vars and that look like it probably as all right. What next?

     
    • Sandsoy

      Sandsoy - 2006-10-13

      in lib/Request.php

      changed: $this->args = &$GLOBALS['HTTP_GET_VARS'];
      to: $this->args = &$_GET;

      changed: $this->args = &$GLOBALS['HTTP_POST_VARS'];
      to: $this->args = &$_POST;

      changed: $vars = &$GLOBALS['HTTP_SERVER_VARS'];
      to: $vars = &$_SERVER;

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.