New init.php trouble

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sal Collaziano
    Senior Member
    • May 2000
    • 922

    New init.php trouble

    Hey there.. When I added the new init.php file to one of my vB's (3.0.0), I got the following errors when loading a page - with the forums presented just beneath:

    Warning: Invalid argument supplied for foreach() in /home/eighties/public_html/forums/includes/functions.php on line 2894

    Warning: Invalid argument supplied for foreach() in /home/eighties/public_html/forums/includes/functions.php on line 2894

    Warning: Invalid argument supplied for foreach() in /home/eighties/public_html/forums/includes/functions.php on line 2894

    Can anyone tell me what might have gone wrong?

    Thank you...
    My vBulletin Forums:
    cadillac, buick, pontiac, oldsmobile, automotive, freestyle, 80s, lexus, bmw, mercedes, audi, toyota, honda, acura, nissan, infiniti, hyundai genesis, chevy

    ...can't fit any more...
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24275
    • 6.0.X

    #2
    Originally posted by Sal Collaziano
    Hey there.. When I added the new init.php file to one of my vB's (3.0.0), I got the following errors when loading a page - with the forums presented just beneath:

    Warning: Invalid argument supplied for foreach() in /home/eighties/public_html/forums/includes/functions.php on line 2894

    Warning: Invalid argument supplied for foreach() in /home/eighties/public_html/forums/includes/functions.php on line 2894

    Warning: Invalid argument supplied for foreach() in /home/eighties/public_html/forums/includes/functions.php on line 2894

    Can anyone tell me what might have gone wrong?

    Thank you...
    Do you have the arcade hack installed?
    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

    • Sal Collaziano
      Senior Member
      • May 2000
      • 922

      #3
      Oh boy.. Yeah. I do.. What now?

      Nice vB by the way!
      My vBulletin Forums:
      cadillac, buick, pontiac, oldsmobile, automotive, freestyle, 80s, lexus, bmw, mercedes, audi, toyota, honda, acura, nissan, infiniti, hyundai genesis, chevy

      ...can't fit any more...

      Comment

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

        #4
        Thanks

        All you need to do is get the instructions for the arcade as per the original hack HERE, and rehack the new init.php.....the instructions will still work on the new copy.

        You don't need to redo the whole hack, just the bits for init.php, a total of four changes.

        Make sure you keep a copy of your existing init.php until you're sure everything is ok.
        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

        • Steve Machol
          Former Customer Support Manager
          • Jul 2000
          • 154488

          #5
          That init.php is designed to be used for vB 3.0.3 - not 3.0.0. To be fully protected you will need to upgrade to 3.0.4.
          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

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

            #6
            Originally posted by Steve Machol
            That init.php is designed to be used for vB 3.0.3 - not 3.0.0. To be fully protected you will need to upgrade to 3.0.4.
            Yes, my upgrade will be taking place in the next few days once I've completed all rehacking. I've only replaced init.php as a temporary measure.
            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

            • Steve Machol
              Former Customer Support Manager
              • Jul 2000
              • 154488

              #7
              Mark B, an image in your sig was causing an htaccess login box everytime someone accessed any thread containing one of your posts. I have to delete that from your sig to fix this problem.
              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

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

                #8
                Originally posted by Steve Machol
                Mark B, an image in your sig was causing an htaccess login box everytime someone accessed any thread containing one of your posts. I have to delete that from your sig to fix this problem.
                Oops, I am so sorry about that, I forgot where it was an password protected the directory.

                Please accept my humble apologies.

                Besides that, I have now completed my upgrade, the actual board closure time was less than 20 minutes, completely brilliant. Thanks guys!
                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

                • kwchan
                  New Member
                  • Dec 2004
                  • 5
                  • 2.3.2

                  #9
                  Originally posted by Mark.B
                  Thanks

                  All you need to do is get the instructions for the arcade as per the original hack HERE, and rehack the new init.php.....the instructions will still work on the new copy..
                  Thanks Mark, it works for me

                  Comment

                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                  Working...
                  😀
                  😂
                  🥰
                  😘
                  🤢
                  😎
                  😞
                  😡
                  👍
                  👎