Announcement

Collapse
No announcement yet.

Upgrade from php5.2 to php5.3 - problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Upgrade from php5.2 to php5.3 - problems

    Hi folks,

    I've upgraded from php5.2 to php5.3, is there anything within vbulletin that I need to do as I'm getting forums/includes/init.php errors?

    Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forums/includes/init.php on line 55

    Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forums/includes/init.php on line 107

    Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forums/includes/init.php on line 111

    Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forums/includes/init.php on line 119

    Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forums/includes/init.php on line 130

    Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forums/includes/init.php on line 134

    Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forums/includes/init.php on line 142

    Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forums/includes/init.php on line 211

    Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forums/includes/init.php on line 389

    I was getting the host to add fastcgi module in apache and they upgraded php too.

    Thanks!
    Last edited by glennybee; Sat 11th Dec '10, 8:56am.
    Digital Kaos Satellite Forum
    SEO Blog Pagerank Checker
    Free File Hosting

  • #2
    Forgot to mention, running v3.8.6.

    So I guess I need to go back to php 5.2.x to resolve this then. Something to do with '&' and passing an object, or something like that.

    :Grrrrrrr:

    Hate it when things go wrong!
    Digital Kaos Satellite Forum
    SEO Blog Pagerank Checker
    Free File Hosting

    Comment


    • #3
      Yes, you'll have to downgrade PHP.
      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography


      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      Comment


      • #4
        This is how I fixed this thanks to the fix on vbadvanced.
        Backup first.

        In all files that begin with blog

        FIND
        error_reporting(E_ALL & ~E_NOTICE);
        AND REPLACE WITH
        error_reporting(E_ALL & ~E_NOTICE & ~8192);
        ...steven
        www.318ti.org (vB3.8) | www.nccbmwcca.org (vB4.2)
        bmwcca.org/forum | m135i.net
        "I tried to clean this up but this thread is beyond redemption." - Steve Machol

        Comment


        • #5
          Hi, didn't want to open another thread for the same issue. My host upgraded to 5.3 PHP and I am getting the same messages as the 1st post. They said I am on a shared hosting plan so they can't downgrade. I am running 3.8.6. Can anyone help me with a solution please? If I upgrade to 3.8.7 or latest version of 4, will the problem go away?

          Comment


          • #6
            You will need to upgrade to vB4.
            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
            Change CKEditor Colors to Match Style (for 4.1.4 and above)

            Steve Machol Photography


            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


            Comment


            • #7
              Why, I have heard all the time that 3.8 can run on php 5.3? As said here:
              http://www.vbulletin.com/forum/showt...on-Requirement
              Europanet.dk

              Comment


              • #8
                If you are getting the same error as in post #1, then the answer is no for your version of PHP.
                Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                Change CKEditor Colors to Match Style (for 4.1.4 and above)

                Steve Machol Photography


                Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                Comment


                • #9
                  Originally posted by Steve Machol View Post
                  If you are getting the same error as in post #1, then the answer is no for your version of PHP.
                  OK, thanks, I have no problems right now, but I have different hosts, some running 5.3, so I also need to know.
                  There must be a list somewhere which versions of vb can be run by the different versions of PHP.
                  Europanet.dk

                  Comment


                  • #10
                    But why this? A big number of host go to upgrade to 5.3 of php ..... all 3.8 users will be out....

                    Comment


                    • #11
                      Originally posted by Steve Machol View Post
                      You will need to upgrade to vB4.
                      So this is the solution for sure? I don't want to upgrade and still get this problem. I don't really like V. 4 that much. But if that's the sure solution, I am forced to upgrade.

                      Comment


                      • #12
                        3.8.7 should have fixes in place to help address this IIRC.

                        Comment


                        • #13
                          So are you saying I should just upgrade to 3.8.7? If that'll work, it'd be great. I hate to lose my style and modification if I up grade to 4.

                          Comment


                          • #14
                            Best bet is to try to upgrade to vB 3.8.7, see if it doesnt help.

                            Comment


                            • #15
                              I still have hope that someone with coding experience can help me before I do something I'd regret. Please read the lines in which there are errors and see what they have in common. Maybe we can find a solution.

                              includes/init.php on line 55

                              $vbulletin =& new vB_Registry();

                              includes/init.php on line 107

                              $db =& new vB_Database_Explain($vbulletin);

                              includes/init.php on line 111

                              $db =& new vB_Database($vbulletin)

                              includes/init.php on line 119


                              $db =& new vB_Database_Slave($vbulletin)

                              includes/init.php on line 130

                              $db =& new vB_Database_MySQLi_Explain($vbulletin)

                              includes/init.php on line 134

                              $db =& new vB_Database_MySQLi($vbulletin)

                              includes/init.php on line 142

                              $db =& new vB_Database_Slave_MySQLi($vbulletin)

                              includes/init.php on line 211

                              $vbulletin->datastore =& new $datastore_class($vbulletin, $db)

                              includes/init.php on line 389


                              $vbulletin->session =& new vB_Session($vbulletin, $sessionhash, $vbulletin->GPC[COOKIE_PREFIX .

                              'userid'], $vbulletin->GPC[COOKIE_PREFIX . 'password'], $styleid, $languageid)

                              includes/class_core.php on line 2552




                              Warning: Cannot modify header information - headers already sent by (output started at

                              [path]/includes/init.php:55) in [path]/arcade.php on line 97

                              Warning: Cannot modify header information - headers already sent by (output started at

                              [path]/includes/init.php:55) in [path]/arcade.php on line 2675

                              Warning: Cannot modify header information - headers already sent by (output started at

                              [path]/includes/init.php:55) in [path]/arcade.php on line 2676

                              Warning: Cannot modify header information - headers already sent by (output started at

                              [path]/includes/init.php:55) in [path]/arcade.php on line 2677

                              Warning: Cannot modify header information - headers already sent by (output started at

                              [path]/includes/init.php:55) in [path]/arcade.php on line 2678
                              ==========================================

                              Can it be fixed through this:

                              http://www.vbulletin.com/forum/showt...=1#post2104887


                              I hope someone can help. It's 4 AM where I am at and I can't sleep. Thank you.

                              Comment

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