re-installing 3.8.2 from scratch

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cnredd
    Member
    • Oct 2007
    • 83

    re-installing 3.8.2 from scratch

    My site had a DDoS attack

    In order to clean it up, my host had to clean off the server and upgrade its software, so it's like I'm installing the forum on a clean slate.
    (I have the database saved to my hard drive...I'm not up to that part yet)

    I changed what I needed to in "config.php.new" and got rid of the "new" part and uploaded the "upload" directory.

    But when I try to install (http://www.politicalwrinkles.com/upl...ll/install.php) it looks like it will let me continue, but I have this at the top of the page.

    Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/politicalwrinkles.com/httpdocs/upload/includes/class_core.php on line 2552 Deprecated: Function set_magic_quotes_runtime() is deprecated in /var/www/vhosts/politicalwrinkles.com/httpdocs/upload/includes/class_core.php on line 1644 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/politicalwrinkles.com/httpdocs/upload/includes/functions.php on line 933 Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/politicalwrinkles.com/httpdocs/upload/includes/functions.php on line 937
    Should I continue?...Something needs to be changed?...Bueller?
    sigpic

    www.politicalwrinkles.com
  • cnredd
    Member
    • Oct 2007
    • 83

    #2
    Added...

    I remembered NOT to actually upload the "upload" directory...Just upload everything IN IT to the default directory. I fixed that.

    Tried to install again and got the same error.

    I tried to install anyway.

    Now I have the index.php which gets me to the forum, but there's a problem. I (cnredd) am logged in as the admin. I also created another member called cnreddtest1.

    As you can see, I'm logged in with both, but the software believes NO ONE in logged in (by the login at the top right of the page)



    That means I can't get to the admin control panel, or even my own userCP...

    I'm majorly screwed right now...Help
    sigpic

    www.politicalwrinkles.com

    Comment

    • cnredd
      Member
      • Oct 2007
      • 83

      #3
      Dammit!

      I just tried to upgrade to 3.8.7...Everything LOOKED like it went...No errors.

      But when I removed install.php and tried to log in to the admin CP, it SAYS I logged in, but then goes right to the forum homepage...AND it still has the "Log in" space in the upper right like in the picture I've shown above...

      Please?...
      sigpic

      www.politicalwrinkles.com

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        Upload the tools.php file from your do_not_upload directory to the /admincp. Point your browser at it and login. Then reset your cookies on that page. Then remove tools.php . See if you can login now.

        (And why are you doing an install if you have a copy of your database? You should just be doing an upgrade, not a fresh install.)

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools <- awesome site for html/css help

        Comment

        • cnredd
          Member
          • Oct 2007
          • 83

          #5
          Originally posted by Lynne
          Upload the tools.php file from your do_not_upload directory to the /admincp. Point your browser at it and login. Then reset your cookies on that page. Then remove tools.php . See if you can login now.
          I did that, and it automatically directed me to the tools page without having to log in (as if I was already, but the picture I've shown says I'm not)

          I rest the Cookies Domain and the Cookies path...No luck...As you can see by this pic, it says I'm logged in with Who's Online but still treats me as not logged in at the upper right.





          Originally posted by Lynne
          (And why are you doing an install if you have a copy of your database? You should just be doing an upgrade, not a fresh install.)
          My host wiped out everything to clean up after the DoS attack. I had to start from scratch.

          Any ideas?...
          sigpic

          www.politicalwrinkles.com

          Comment

          • Lynne
            Former vBulletin Support
            • Oct 2004
            • 26255

            #6
            You had said you had a saved copy of the database which is why I didn't understand you doing an install.

            But anyway.... is this on a new domain? You said the server had it's software upgraded - what is the new version of PHP and MySQL? What were the old versions?

            Please don't PM or VM me for support - I only help out in the threads.
            vBulletin Manual & vBulletin 4.0 Code Documentation (API)
            Want help modifying your vbulletin forum? Head on over to vbulletin.org
            If I post CSS and you don't know where it goes, throw it into the additional.css template.

            W3Schools <- awesome site for html/css help

            Comment

            • cnredd
              Member
              • Oct 2007
              • 83

              #7
              Originally posted by Lynne
              You had said you had a saved copy of the database which is why I didn't understand you doing an install.
              If having the database means I didn't need to do an install, I simply didn't know that...


              Originally posted by Lynne
              But anyway.... is this on a new domain? You said the server had it's software upgraded - what is the new version of PHP and MySQL? What were the old versions?
              It's the same domain (politicalwrinkles.com), but everything was wiped off of it as if vBulletin was never there before.

              The host upgraded my server to Debian 6/Plesk 11...I opened a support ticket asking for the MySQL...I simply can't find it on the damn host...PHP is 5.3.3...
              sigpic

              www.politicalwrinkles.com

              Comment

              • cnredd
                Member
                • Oct 2007
                • 83

                #8
                Lynne...Go to http://www.politicalwrinkles.com/index.php and try to register...You'll see what's happening....
                sigpic

                www.politicalwrinkles.com

                Comment

                • BirdOPrey5
                  Senior Member
                  • Jul 2008
                  • 9613
                  • 5.6.3

                  #9
                  VB 3.8.2 is NOT compatible with PHP 5.3.x. VB 3.8.7 should be.

                  vBulletin isn't like Windows software that it needs to be installed, just upload a fresh copy of the 3.8.7 files, import your database, setup config.php to your existing database, and run upgrade.php.

                  You should be set. You may need to revert some templates if it tells you to do so in the Admin CP. Reverting will lose customization but they will work.

                  Comment

                  • Lynne
                    Former vBulletin Support
                    • Oct 2004
                    • 26255

                    #10
                    Originally posted by cnredd
                    Lynne...Go to http://www.politicalwrinkles.com/index.php and try to register...You'll see what's happening....
                    I was able to register just fine (username Tester).

                    If you allow users to login to your site via both http://www.yoursite.com and just yoursite.com., then you MUST have your cookie domain (AdminCP > Settings > Options > Cookies and HTTP Header Options > Cookie Domain) set to ".yoursite.com" (no quotes, but note the period at the beginning) or your users will have problems. Also, make sure to tell your users to click the Remember Me button when they login.

                    Please don't PM or VM me for support - I only help out in the threads.
                    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                    Want help modifying your vbulletin forum? Head on over to vbulletin.org
                    If I post CSS and you don't know where it goes, throw it into the additional.css template.

                    W3Schools <- awesome site for html/css help

                    Comment

                    • cnredd
                      Member
                      • Oct 2007
                      • 83

                      #11
                      OK...

                      Just for the heck of it, I cleared out all of the cookies on my PC, closed all tabs of my browser (Firefox) and opened the browser back up. For some reason, that did it...I now can log in (and STAY in!!!), and I can get to the Admin Control Panel. Why was it on my side?...No clue...But agitating...

                      So...

                      Every month or so, I manually back up a copy of the database to my hard drive...I go in through Putty and run "mysqldump --opt -uusername -p databasename > date.SQL...The last time I did this was Feb. 3rd, so I have a file called "Feb03.SQL". It's over 600MB (My site's been up for 5 years)...

                      Do I simply run "mysql -uusername -p databasename < Feb03.SQL" or do I need to do other stuff?
                      sigpic

                      www.politicalwrinkles.com

                      Comment

                      • cnredd
                        Member
                        • Oct 2007
                        • 83

                        #12
                        I don't think it worked...
                        sigpic

                        www.politicalwrinkles.com

                        Comment

                        • cnredd
                          Member
                          • Oct 2007
                          • 83

                          #13
                          Also, how do I get the forum homepage to be "politicalwrinkles.com" and not "politicalwrinkles.com/index.php"?
                          sigpic

                          www.politicalwrinkles.com

                          Comment

                          • BirdOPrey5
                            Senior Member
                            • Jul 2008
                            • 9613
                            • 5.6.3

                            #14
                            You can specify the Forum Homepage URL in vBulletin Options -> Site Name / URL / Contact Details, it's towards the bottom.

                            Comment

                            • cnredd
                              Member
                              • Oct 2007
                              • 83

                              #15
                              Originally posted by Joe D.
                              You can specify the Forum Homepage URL in vBulletin Options -> Site Name / URL / Contact Details, it's towards the bottom.
                              Don't see it...



                              Forum Name

                              Name of your forum. This appears in the title of every page.


                              [URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"][/URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"]

                              Forum URL

                              URL of your forum.
                              Note: do not add a trailing slash. ('/')


                              [URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"][/URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"]

                              Redirect Domain Whitelist

                              Optional, advanced additional URL configuration. This setting should remain blank for most installations. Specify additional domains of your forum:

                              Examples:



                              Note: do not add a trailing slash. ('/')



                              [URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"]Increase Size[/URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"] [URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"]Decrease Size[/URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"]


                              [URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"][/URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"]

                              Disable Redirect Domain Checking

                              Disable Redirection Checking. I understand the risks associated with disabling this security feature.

                              Yes No
                              [URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"][/URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"]

                              Homepage Name

                              Name of your homepage. This appears at the bottom of every page.



                              Homepage URL

                              URL of your home page. This appears at the bottom of every page.



                              Contact Us Link

                              Link for contacting the site admin. To use the built-in email form, specify sendmessage.php otherwise use something such as 'mailto:[email protected]' or your own custom form. This appears at the bottom of every page.



                              Allow Unregistered Users to use 'Contact Us'

                              The last option only applies if you specify 'sendmessage.php' in the previous option. You may require guests to pass Human Verification in order to use this form by enabling the option found in the [URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=humanverification"]Human Verification Options[/URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=humanverification"].

                              Yes No

                              Contact Us Options

                              You may pre-define subjects (and corresponding recipients) for users to pick from when using the default Contact Us form listed above. Please place one subject per line. An 'Other' option will be automatically added to the end when the form is viewed.

                              Site Feedback
                              Registration Problem

                              [URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"]Increase Size[/URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"] [URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"]Decrease Size[/URL="http://www.politicalwrinkles.com/admincp/options.php?do=options&dogroup=address&advanced=0#"]



                              Allow to Send 'Other' Subject in Contact Us Page

                              If set to 'Yes', there will be an option in Subject section of Contact Us page to let visitors to input custom subject.

                              Yes No

                              Webmaster's Email

                              Email address of the webmaster.



                              Contact Us Email

                              Email address for receiving the emails from Contact Us page by default. If you leave this option empty, Webmaster's Email will be used.



                              Privacy Statement URL

                              Enter the URL of your privacy statement, if you have one.



                              Terms of Service URL
                              Enter the URL of your terms of service, if you have one.



                              Copyright Text

                              Copyright text to insert in the footer of the page.



                              Company Name

                              The name of your company. This is required for COPPA compliance.



                              Company Fax

                              Fax number for your company. COPPA forms will be faxed to this number.

                              You may wish to check out [URL="http://www.efax.com/"]http://www.efax.com/[/URL="http://www.efax.com/"].



                              Company Address

                              Address of your company. COPPA forms will be posted to this address.


                              sigpic

                              www.politicalwrinkles.com

                              Comment

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