Can't upgrade my forum

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ryan McBain
    Senior Member
    • Feb 2002
    • 557

    [Server Config] Can't upgrade my forum

    So I'm having all types of problems with my forum. At first it kept saying I was missing the index.php file when going to my forum at ryanmcbain.com/forum
    I decided to do an upgrade to try to fix the problem. I loaded all the correct files (I think) where my previous forum was. It was version 5.15. When I try to upgrade I get a message that says Call to undefined method vB::silentWarnings()

    I've been banging my head on how to fix this. Should I make a directory called forum and put my forum files in there?
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73979

    #2
    Are you using PHP version that is 5.6.30 or higher?
    Translations provided by Google.

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

    Comment

    • Ryan McBain
      Senior Member
      • Feb 2002
      • 557

      #3
      Originally posted by Wayne Luke
      Are you using PHP version that is 5.6.30 or higher?
      Yes sir I am. Version 7.2

      Comment

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

        #4
        I suggest reuploading all 5.4.0 files again and make sure they overwrite the existing 5.1.5 files on your server.
        Translations provided by Google.

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

        Comment

        • Ryan McBain
          Senior Member
          • Feb 2002
          • 557

          #5
          Originally posted by Wayne Luke
          I suggest reuploading all 5.4.0 files again and make sure they overwrite the existing 5.1.5 files on your server.
          I did a clean install and was able to upgrade. I put the files in www.mysite.com/forum instead of www.mysite.com my vbulletin isn't fully showing as a resort. I also get this error

          The requested URL /auth/login-form was not found on this server.

          Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


          What do I have to change to have vbulletin working when it's in my forum directory?

          Comment

          • Ryan McBain
            Senior Member
            • Feb 2002
            • 557

            #6
            And yes my .htaccess file is in my forum directory.

            Comment

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

              #7
              If you're getting the error in bold above and the .htaccess is present, then mod_rewrite isn't working. You need to contact your hosting provider and make sure that AllowOverrides is set to ALL in your server's httpd.conf file. They would have to do this for you.
              Translations provided by Google.

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

              Comment

              • Ryan McBain
                Senior Member
                • Feb 2002
                • 557

                #8
                Originally posted by Wayne Luke
                If you're getting the error in bold above and the .htaccess is present, then mod_rewrite isn't working. You need to contact your hosting provider and make sure that AllowOverrides is set to ALL in your server's httpd.conf file. They would have to do this for you.
                My server is giving me this error
                PHP Fatal error: Can't use method return value in write context in /home/ryanmcba/public_html/forum/includes/vb5/template.php(322) : eval()'d code on line 38 Could that be caused by the httpd.conf file?

                Comment

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

                  #9
                  If you've put the files in a different folder, the URL settings in the admincp will now be wrong, and that will cause the behaviour you are seeing.
                  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

                  • Ryan McBain
                    Senior Member
                    • Feb 2002
                    • 557

                    #10
                    Originally posted by Mark.B
                    If you've put the files in a different folder, the URL settings in the admincp will now be wrong, and that will cause the behaviour you are seeing.
                    Even though I had no problem doing a free install in a directory called forum? I'm trying to make my address to my vbulletin to be mysite.com/forum

                    Comment

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

                      #11
                      Originally posted by Ryan McBain

                      Even though I had no problem doing a free install in a directory called forum? I'm trying to make my address to my vbulletin to be mysite.com/forum
                      If the installation was at domain.com and is now at domain.com/forum, then you MUST change the URL settings in the admincp, yes.
                      If you did not do this beforehand, you will now need to use tools.php to correct it.

                      1) Upload /core/install
                      2) Upload tools.php in your do_not_upload directory to /core/admincp
                      3) Run /core/admincp/tools.php in your browser and enter your customer number
                      4) Go to Other Tools > Location of Website
                      5) Enter the correct URL, make sure the core URL option is ticked, and save
                      6) Verify that the site loads ok
                      7) Delete /core/admincp/tools.php
                      8) Delete /core/install
                      9) Verify that the admincp works ok, WITHOUT /core/ in the URL
                      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

                      • Ryan McBain
                        Senior Member
                        • Feb 2002
                        • 557

                        #12
                        Originally posted by Mark.B

                        If the installation was at domain.com and is now at domain.com/forum, then you MUST change the URL settings in the admincp, yes.
                        If you did not do this beforehand, you will now need to use tools.php to correct it.

                        1) Upload /core/install
                        2) Upload tools.php in your do_not_upload directory to /core/admincp
                        3) Run /core/admincp/tools.php in your browser and enter your customer number
                        4) Go to Other Tools > Location of Website
                        5) Enter the correct URL, make sure the core URL option is ticked, and save
                        6) Verify that the site loads ok
                        7) Delete /core/admincp/tools.php
                        8) Delete /core/install
                        9) Verify that the admincp works ok, WITHOUT /core/ in the URL
                        That helped a lot, but my full message board still doesn't show. It's at http://www.ryanmcbain.com/forum/

                        Comment

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

                          #13
                          Originally posted by Ryan McBain

                          That helped a lot, but my full message board still doesn't show. It's at http://www.ryanmcbain.com/forum/
                          Please put the site into debug mode so we can see the real error behind that:
                          Debug mode is useful for development purposes- it is required if you will be creating VB5 Modifications you intend to distribute for others to download. However it is also useful for trouble-shooting issues with your site as debug mode often provides more specific error messages when something goes wrong- as such if you are

                          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

                          • Ryan McBain
                            Senior Member
                            • Feb 2002
                            • 557

                            #14
                            Originally posted by Mark.B

                            Please put the site into debug mode so we can see the real error behind that:
                            Debug mode is useful for development purposes- it is required if you will be creating VB5 Modifications you intend to distribute for others to download. However it is also useful for trouble-shooting issues with your site as debug mode often provides more specific error messages when something goes wrong- as such if you are
                            Done

                            Comment

                            • Ryan McBain
                              Senior Member
                              • Feb 2002
                              • 557

                              #15
                              Debug: Error
                              Could not find page.
                              occurred in file /home/ryanmcba/public_html/forum/includes/vb5/frontend/controller/page.php on line 108
                              Trace
                              • Function index in file line
                              • Function call_user_func_array in file /home/ryanmcba/public_html/forum/index.php line 74

                              Comment

                              Related Topics

                              Collapse

                              Working...