Menu

Install problem

Help
2005-02-04
2013-03-22
  • Nobody/Anonymous

    Hello,

    I just installed NodeRunner using the auto installer.. when I go to the http://localhost/noderunner/index.php page I get the following..

    Notice: Undefined index: isloggedin in C:\noderunner\index.php on line 4

    Warning: Cannot modify header information - headers already sent by (output started at C:\noderunner\index.php:4) in C:\noderunner\index.php on line 5

    What isnt set correctly?? I havent been able to find anything on this issue on this board and I am wondering if anyone can help.
    Thanks!
    BT

     
    • Nobody/Anonymous

      I have re-installed this several times with the same output everytime...

      BT

       
    • Brad Fears

      Brad Fears - 2005-02-04

      Are you still able to login, even with the error messages on the screen?  If so, it may just be an error reporting issue (harmless).  See "NOTE 2" here for details:

      http://nr.mtsdev.com/demo6/help.php?contents=1&tid=sysdoc_sysreqs

      If you can't login, there's something else wrong, so let me know.

      --Brad Fears

       
    • Nobody/Anonymous

      I cannot log in... Both PHP an MYSQL are the most recent versions.. I have not yet touched the node.start file yet..

      It is running on Win2k pro .. IIS 5.0 which hosts another site (helpdesk) and works fine..

      any ideas??

       
    • Nobody/Anonymous

      I cannot login at all.. The DB is setup with errors, the installer.php ran nicely.. I dont know whats wrong..

      Win2kPro IIS5.0

      I have a helpdesk php site running on this machine without issues... any ideas?

       
      • Brad Fears

        Brad Fears - 2005-02-04

        What errors did you see when you run the installer?  Specifically, what DB errors?  You might also try installing it manually so we can narrow down the exact cause of the problem.  See the INSTALL file for info on manual installation.

        --Brad Fears

         
    • Nobody/Anonymous

      I tried that too.. Let me try it again.. I didnt get any errors on install for both the DB or NR...

       
    • Nobody/Anonymous

      I am still getting the same errors even after manual install. Is it a permissions issue? I gave the folders and website complete access to everyone including all files. This is an internal server so I am nt worried about permissions.. I just need to get this up and running asap. I thank you for your assistance..

      BT

       
      • Brad Fears

        Brad Fears - 2005-02-07

        We could go back and forth many times trying to troubleshoot this issue, but the easiest way for me to find the problem would be to have you send (email) me some information.

        I need a copy of the page that is echo'd by a phpinfo() statement, as well as your nr.inc file.  Please exclude the username/password, but leave the relevant info about directories where the files are stored (eg. $path_to_etc, etc.).

        Email them to brad_fears@users.sourceforge.net, and I will get back to you asap.

        --Brad Fears

         
    • phd

      phd - 2005-02-23

      All, I had similar problems as you stated in the thread.  What I found is that the install didn't maintain the CAPS in the MySql user password.  The installer transposed the CAPS to lower case.  I then hard coded the username and password into installer.php script and the install completed.  I then had to correct nr.inc and replace $dbpass with the correct mysql password.  This corrected the Warning: Cannot modify header information - headers already sent by error messages.  Hope this helps.

       
      • Brad Fears

        Brad Fears - 2005-02-23

        Thanks for the post, phdokc.  I'll take a look into that problem for the next release.

        --Brad Fears

         
    • phd

      phd - 2005-02-24

      Brad,

      Just one more thing.  I also noticed in the installer.php when you specify the NODE RUNNER node and port, installer doesn't actually change the port to what you specify during installation.  Since I don't run port 80 on my HTTP host, I specified port 25 that I have opened for SMTP during the installation.  The installer left the port at 80.  Now for me this caused issues when I launched node.start in cron under HPUX.  When NODE RUNNER encountered its first down device, node.start was trying to verify the NODE RUNNER host via port 80.  Since port 80 was not up, node.start would hang and not finish.  When I finally traced the code to see what was happening, I had 50 node.starts running and system integrity was at risk.  Now this was not a big problem for me but for others less UNIX and PHP savvy, it could cause a lot of issues to system integrity.  If I might suggest, remove the default value of 80 in the installer.php and force an entry.  I don't run any LINUX so I don't know if node.start completes under that OS when the NODE RUNNER is not reachable.

      This is a very nice app and very well written.  Good job and thanks for your efforts.

      PHDOKC

       
      • Brad Fears

        Brad Fears - 2005-02-24

        No, it hangs the same way in linux too, which is one of the reasons I created the installer script - so people couldn't forget to change the default values.

        I'm confused, though, because I added specific code to the installer to verify that the chosen port was valid (open) before you would move on with the install.  Did it appear to take port 25 when you entered it?  If so, perhaps it just didn't store it to the nr.inc file properly after the install was completed.  In any case, I'll make another note for bug fixes.  Thanks again.

        --Brad Fears

         
    • phd

      phd - 2005-02-24

      It did take port 25 during installer but you have confused me now.  My nr.inc doesn't have a port entry in it.  My NODE RUNNER device with IP address of 127.0.0.1 and port 25 is in the objects table of the database.  When node.start was not completing, the NODE RUNNER entry in the objects table was set to the default of 80 even though I specified and tested 25 during the install.

       
      • Brad Fears

        Brad Fears - 2005-02-24

        You're right, I misspoke, it shouldn't be in your nr.inc file.  Most of the variables end up there, but not those.  The port gets entered (or modified, rather) directly in the database.

        --Brad Fears

         

Log in to post a comment.

Auth0 Logo