Please help-trouble on logging in

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • acid
    New Member
    • May 2001
    • 12

    Please help-trouble on logging in

    I go through the install and everything is fine, I delete the install file and then It prompts me to log in. When the page opens for me to log in it has the following message

    Warning: Cannot add header information - headers already sent by (output started at /home/teamacid/public_html/forum/admin/config.php3:38) in /home/teamacid/public_html/forum/admin/functions.php3 on line 1187

    Warning: Cannot add header information - headers already sent by (output started at /home/teamacid/public_html/forum/admin/config.php3:38) in /home/teamacid/public_html/forum/admin/functions.php3 on line 1187

    I try to log in and it says that I am not a valid administrator. I know that I am using the right password. Please help. Thanks in advance for your help. Chris
  • Martin
    Senior Member
    • Apr 2000
    • 4783
    • 3.5.x

    #2
    there is likely "white space" after '?>' in config.php(3)

    delete it and you should be fine
    Webmaster:
    @forumz

    Comment

    • acid
      New Member
      • May 2001
      • 12

      #3
      <?php
      /////////////////////////////////////////////////////////////
      // Please note that if you get any errors when connecting, //
      // that you will need to email your host as we cannot tell //
      // you what your specific values are supposed to be //
      /////////////////////////////////////////////////////////////

      // type of database running
      // (only mysql is supported at the moment)
      $dbservertype="mysql";

      // hostname or ip of server
      $servername="localhost";

      // username and password to log onto db server
      $dbusername="******";
      $dbpassword="******";

      // name of database
      $dbname="******_*****";

      // allow password viewing / editing in control panel
      // 0 = not visible or editable
      // 1 = not visible, but can be edited
      // 2 = visible and can be edited
      $pwdincp=0;

      // technical email address - any error messages will be emailed here
      $technicalemail = "[email protected]";

      // use persistant connections to the database
      // 0 = don't use
      // 1 = use
      $usepconnect = 1;

      ?>

      Comment

      • Martin
        Senior Member
        • Apr 2000
        • 4783
        • 3.5.x

        #4
        put your cursor after the ?> and drag down. there will likely be spaces there highlighted.

        delete them
        Webmaster:
        @forumz

        Comment

        • acid
          New Member
          • May 2001
          • 12

          #5
          Does anyone know what would cause this error. Now I am not getting any kind of login just this error.



          Parse error: parse error in /home/teamacid/public_html/forum/admin/config.php3 on line 10

          Comment

          • Mike Sullivan
            Former vBulletin Developer
            • Apr 2000
            • 13327
            • 3.6.x

            #6
            You probably mis-edited your config.php (missing " most likely)

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...