Menu

lundefined variable: SCRIPT_NAME

Help
2003-10-05
2012-10-11
  • Harold Hallikainen

    I just did an install of the latest version of phpwiki. Thus far, it seems to be working, but every page has a php warning on it:

    lib/config.php:276: Notice[8]: Undefined variable: SCRIPT_NAME

    It seems that this is defined in index.php . Any idea what I'm doing wrong?

    THANKS!

    Harold

     
    • Bill Morrow

      Bill Morrow - 2003-10-24

      I have this problem running under Apache 2. Try changing lib/config.php on line 273 as follows:

          273     iif (php_sapi_name() == 'apache')

      to

          273     if (php_sapi_name() == 'apache2handler')

       

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.