Announcement

Collapse
No announcement yet.

Can't upgrade my forum

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

  • [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?

  • #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 customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.

    Comment


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

      Comment


      • #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 customization and demonstration site.
        vBulletin 5 Documentation - Updated every Friday. Report issues here.
        vBulletin 5 API - Full / Mobile
        I am not currently available for vB Messenger Chats.

        Comment


        • #5
          Originally posted by Wayne Luke View Post
          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


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

            Comment


            • #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 customization and demonstration site.
              vBulletin 5 Documentation - Updated every Friday. Report issues here.
              vBulletin 5 API - Full / Mobile
              I am not currently available for vB Messenger Chats.

              Comment


              • #8
                Originally posted by Wayne Luke View Post
                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


                • #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

                  TalkNewsUK - My vBulletin 5.4.2 Demo - FEATURING "ROUTE BY NODE"!
                  AdminAmmo - My Cloud Demo

                  Comment


                  • #10
                    Originally posted by Mark.B View Post
                    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


                    • #11
                      Originally posted by Ryan McBain View Post

                      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

                      TalkNewsUK - My vBulletin 5.4.2 Demo - FEATURING "ROUTE BY NODE"!
                      AdminAmmo - My Cloud Demo

                      Comment


                      • #12
                        Originally posted by Mark.B View Post

                        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


                        • #13
                          Originally posted by Ryan McBain View Post

                          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:
                          http://www.vbulletin.com/go/vb5debug
                          MARK.B | vBULLETIN SUPPORT

                          TalkNewsUK - My vBulletin 5.4.2 Demo - FEATURING "ROUTE BY NODE"!
                          AdminAmmo - My Cloud Demo

                          Comment


                          • #14
                            Originally posted by Mark.B View Post

                            Please put the site into debug mode so we can see the real error behind that:
                            http://www.vbulletin.com/go/vb5debug
                            Done

                            Comment


                            • #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

                              Working...
                              X