Error_log file just grow up

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bosss
    Senior Member
    • Jan 2008
    • 220

    #46
    Thanks ... but good software like vbulletin should not have real issues...
    Welcome to Libar

    Comment

    • Paul M
      Former Lead Developer
      vB.Com & vB.Org
      • Sep 2004
      • 9886

      #47
      Of course you will have a few issues, there isnt any forum software that has 0 issues.
      In this case you can avoid large log files in a number of different ways, such as turning off php logging, or commenting out the mentioned line.

      In Beta 5 the extra logging wont be active by default, you will have to turn it on.
      Just to clarify one other point, this has no visible effect, nor can it cause database errors - its purely extra logging (mostly notices) to the php log file.
      Baby, I was born this way

      Comment

      • RobAC
        Senior Member
        • Jan 2001
        • 1414
        • 3.8.x

        #48
        I just upgraded to 4.2.3 Beta 4 and my error logs are filling extremely fast with the following:

        [19-Apr-2015 09:04:55 America/New_York] VB PHP Error: Undefined index: install in /home/public_html/forums/includes/class_bitfield_builder.php on line 420
        [19-Apr-2015 09:04:55 America/New_York] VB PHP Error: Undefined index: default in /home/public_html/forums/includes/class_bitfield_builder.php on line 424
        [19-Apr-2015 09:04:55 America/New_York] VB PHP Error: Undefined index: intperm in /home//public_html/forums/includes/class_bitfield_builder.php on line 416
        [19-Apr-2015 09:04:55 America/New_York] VB PHP Error: Undefined index: install in /home/public_html/forums/includes/class_bitfield_builder.php on line 420
        [19-Apr-2015 09:04:55 America/New_York] VB PHP Error: Undefined index: default in /home//public_html/forums/includes/class_bitfield_builder.php on line 424
        [19-Apr-2015 09:04:55 America/New_York] VB PHP Error: Undefined index: intperm in /home/public_html/forums/includes/class_bitfield_builder.php on line 416
        [19-Apr-2015 09:04:55 America/New_York] VB PHP Error: Undefined index: install in /home/public_html/forums/includes/class_bitfield_builder.php on line 420
        [19-Apr-2015 09:04:55 America/New_York] VB PHP Error: Undefined index: default in /home/public_html/forums/includes/class_bitfield_builder.php on line 424

        Those lines are the following:
        PHP Code:
        if ($bit['intperm'])
                        {
                            
        $tempdata["$bit[name]"]['intperm'] = $bit['intperm'];
                        }
                        if (
        $bit['install'])
                        {
                            
        $tempdata["$bit[name]"]['install'] = explode(','$bit['install']);
                        }
                        if (
        $bit['default'])
                        {
                            
        $tempdata["$bit[name]"]['default'] = true;
                        } 
        Rob

        Comment

        • Wayne Luke
          vBulletin Technical Support Lead
          • Aug 2000
          • 74170

          #49
          Same issue as the previous ones. It will be resolved by commenting out the line previously mentioned in this thread. it is in class_core.php

          Code:
          error_log("VB PHP Error: $errstr in $errfile on line $errline");
          Or apply my fix above.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud demonstration site.
          vBulletin 5 API

          Comment

          • Final Kaoss
            Senior Member
            • Nov 2006
            • 581

            #50
            This should be turned into a toggle setting within the admincp, so that when we upgrade, we won't have to repeat this step.

            Edit, nvm, neither of those solutions works on 4.2.5
            Last edited by Final Kaoss; Sat 23 Dec '17, 1:24pm.

            Comment

            • Mark.B
              vBulletin Support
              • Feb 2004
              • 24288
              • 6.0.X

              #51
              Originally posted by scylla22
              This should be turned into a toggle setting within the admincp, so that when we upgrade, we won't have to repeat this step.

              Edit, nvm, neither of those solutions works on 4.2.5
              All development on vB4 has ended, so there's will be no changes. Anything new would go into vB5 now.
              MARK.B
              vBulletin Support
              ------------
              My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
              My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

              Comment

              Related Topics

              Collapse

              Working...