Menu

Warning message in the homepage

Help
Peter
2005-04-02
2013-03-22
  • Peter

    Peter - 2005-04-02

    Can't wait to use it for my home server! I put it on my server but I get the error:
    Notice: Undefined index: keyword in C:\Program Files\Abyss Web Server\htdocs\soogle\index.php on line 21
    Notice: Undefined index: start in C:\Program Files\Abyss Web Server\htdocs\soogle\index.php on line 22

     
    • Peter

      Peter - 2005-04-02

      this message was posted for epheterson at http://soogle.hinihao.com/index.php?section=2.

      The answer:
      that message is not a real error, but a notice.  It is just a warning that the index.php is using an undefined index in an array somewhere.  I would just turn off notices in your php.ini file (set error reporting to all except notices, E_ALL
      & ~E_NOTICE). 

       
    • Eric Pheterson

      Eric Pheterson - 2005-04-02

      Searches don't work on my server, my url is:
      define('GDS_URL', 'http://127.0.0.1:4664/&s=ABdvRPWjERzT31DDpt5v7ZxRbvY');

      no ?q=, I don't know what the problem is.

      And where is the php.ini file, I looked in C:\PHP and didn't see it.

       
    • Peter

      Peter - 2005-04-02

      Would you try this and let me know what you get? open your IE, then copy&paste the following URLs: (we are searching 'a' on your server).
      A:
      http://127.0.0.1:4664/&s=ABdvRPWjERzT31DDpt5v7ZxRbvY?q=a&start=0&num=10

      B:
      http://127.0.0.1:4664/search&s=ABdvRPWjERzT31DDpt5v7ZxRbvY?q=a&start=0&num=10

      also, php.ini can be at you C:\PHP, %WINDIR%, or your apache installation folder.  can you give me your system info like OS, apache and php version?   phpinfo.php with the content <?php phpinfo(); ?> can show them all.

       
    • Eric Pheterson

      Eric Pheterson - 2005-04-04

      A works, B doesn't

      I found my PHP.ini file using phpinfo() and I made the change, the message is now gone.

       

Log in to post a comment.

MongoDB Logo MongoDB