vbulletin 3.8 problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bryan0070
    Senior Member
    • Sep 2007
    • 209

    vbulletin 3.8 problem

    Hey staff

    everytime i go to my forum4 link this error message shows up for me

    Deprecated: Assigning the return value of new by reference is deprecated in /home/saucerfo/public_html/forum4/includes/init.php on line 45

    Deprecated: Assigning the return value of new by reference is deprecated in /home/saucerfo/public_html/forum4/includes/init.php on line 93

    Deprecated: Assigning the return value of new by reference is deprecated in /home/saucerfo/public_html/forum4/includes/init.php on line 97

    Deprecated: Assigning the return value of new by reference is deprecated in /home/saucerfo/public_html/forum4/includes/init.php on line 105

    Deprecated: Assigning the return value of new by reference is deprecated in /home/saucerfo/public_html/forum4/includes/init.php on line 116

    Deprecated: Assigning the return value of new by reference is deprecated in /home/saucerfo/public_html/forum4/includes/init.php on line 120

    Deprecated: Assigning the return value of new by reference is deprecated in /home/saucerfo/public_html/forum4/includes/init.php on line 128

    Deprecated: Assigning the return value of new by reference is deprecated in /home/saucerfo/public_html/forum4/includes/init.php on line 197

    Deprecated: Assigning the return value of new by reference is deprecated in /home/saucerfo/public_html/forum4/includes/init.php on line 404

    Deprecated: Assigning the return value of new by reference is deprecated in /home/saucerfo/public_html/forum4/includes/class_core.php on line 2346

    Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/saucerfo/public_html/forum4/includes/class_core.php on line 1514



    Unable to add cookies, header already sent.
    File: /home/saucerfo/public_html/forum4/includes/init.php
    Line: 45


    so how can i fix this problem then
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73981

    #2
    You need to upgrade to vBulletin 3.8.5 or later.
    Translations provided by Google.

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

    Comment

    • Jazzyname
      Member
      • Dec 2008
      • 85
      • 3.8.x

      #3
      go into Cpanel or phpadmin and run, a repair database, see if that helps, it cant hurt.

      Comment

      • Trevor Hannant
        vBulletin Support
        • Aug 2002
        • 24326
        • 5.7.X

        #4
        Originally posted by Jazzyname
        go into Cpanel or phpadmin and run, a repair database, see if that helps, it cant hurt.
        It's nothing to do with that - it's due to his version of PHP and version of vBulletin he's running not fully supporting it. Wayne's advice is correct
        Vote for:

        - Admin Settable Paid Subscription Reminder Timeframe (vB6)
        - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

        Comment

        • Lats
          Senior Member
          • Mar 2002
          • 3671

          #5
          I had this happen to me on my test install after upgrading a PC and installed a new version of xampp that had php 5.3.

          Turns out to be a simple fix, if you didn't want to upgrade, simply find every occurrence of '=&' and remove the ampersand ( & ).

          So a line like this in init.php
          Code:
          $vbulletin =& new vB_Registry();
          becomes
          Code:
          $vbulletin = new vB_Registry();
          Lats...

          Comment

          • testerv
            Senior Member
            • Dec 2011
            • 192

            #6
            Should this be done in the class_core.php file too?

            Comment

            • Lats
              Senior Member
              • Mar 2002
              • 3671

              #7
              If you're getting errors then yes however, in the long run, it would most likely be best to upgrade.
              Lats...

              Comment

              • testerv
                Senior Member
                • Dec 2011
                • 192

                #8
                I am using vb 3.8.6 PL1 with, according to my Admincp, php version 5.3.5.

                Will the upgrade to 3.8.7 PL2 take care of the errors?

                Comment

                • testerv
                  Senior Member
                  • Dec 2011
                  • 192

                  #9
                  Originally posted by Wayne Luke
                  You need to upgrade to vBulletin 3.8.5 or later.
                  I am using 3.8.6PL1 and I am getting the error messages by the tens of thousands per week. About 1 gig of errors per day.

                  Comment

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

                    #10
                    Are your addons up to date?
                    Translations provided by Google.

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

                    Comment

                    • testerv
                      Senior Member
                      • Dec 2011
                      • 192

                      #11
                      I removed all the addons for 2 weeks and I still ended up with 1.2MB worth of these errors daily in my error_log.

                      Comment

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

                        #12
                        On 3.8.7? You can turn off the reporting of Deprecated messages in your php.ini file. vBulletin 3.8.7 is not going to be updated to remove them at this point.
                        Translations provided by Google.

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

                        Comment

                        • testerv
                          Senior Member
                          • Dec 2011
                          • 192

                          #13
                          I upgraded to 3.8.7 and I am still getting about a gigabyte of errors per day in multiple error log files.

                          How do I turn off deprecated messages in the php.ini file? Is that what Lats is describing in this post, above: https://www.vbulletin.com/forum/show...=1#post2244593

                          Comment

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

                            #14
                            Translations provided by Google.

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

                            Comment

                            • testerv
                              Senior Member
                              • Dec 2011
                              • 192

                              #15
                              Anyone know why I am still getting almost one GB of error per day after upgrading to 3.8.7?

                              Comment

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