Unexpected Text Script:*final Step:*12 - 403 Forbidden

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Blackhorse
    Senior Member
    • Jul 2018
    • 298
    • 5.3.x

    Unexpected Text Script:*final Step:*12 - 403 Forbidden

    Hello,

    When i upgrade i meet this problem each time, it is overcome by using command line, but what i have discovered is that command line is not a real solution as many files are missing in my vbulletin !

    so i am searching for a real solution, why is this happening?


    Upgrade Progress
    • Processing XML
    • Step 1 - Import latest options
    • Importing vbulletin-settings.xml
    • Import Done
    • Step 2 - Import latest admin help
    • Importing vbulletin-adminhelp.xml
    • Import Done
    • Step 3 - Import latest language
    • Importing vbulletin-language.xml
    • Import Done
    • Step 4 - Import latest widgets
    • Importing vbulletin-widgets.xml
    • Import Done
    • Step 5 - Importing vbulletin-screenlayouts.xml
    • Import Done
    • Step 6 - Importing vbulletin-pagetemplates.xml
    • Import Done
    • Step 7 - Importing vbulletin-pages.xml
    • Import Done
    • Step 8 - Importing vbulletin-channels.xml
    • Import Done
    • Step 9 - Importing vbulletin-routes.xml
    • Import Done
    • Step 10 - Skipping step, not needed
    • Step 11 - Updating node table
    • Step 12 - Unexpected Text:
    • <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /ar/core/install/upgrade.php on this server.<br /> </p> <p>Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.</p> </body></html>

    Status: Aborted
    Last edited by Blackhorse; Tue 9 Apr '19, 9:34pm.
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    That's a server permissions error. However, what do you mean by "many files are missing in my vBulletin"?
    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

    • Blackhorse
      Senior Member
      • Jul 2018
      • 298
      • 5.3.x

      #3
      Hello Mark,

      i found that bb video table is missing, many supposed phrases are not there such as privacy text. Also, there is no path to save cookies or log phrase option.

      there is no such a thing called upload settings results only statement with empty page.

      url to thumbnails option is missing

      image add path
      image upload path
      product url option
      image verification options
      About user baning = empty
      Dpendancy type

      etc

      Comment

      • Blackhorse
        Senior Member
        • Jul 2018
        • 298
        • 5.3.x

        #4
        Mark, could you please clarify more?.. i have full control of the server and i can do any permission.. i have chmoded install folder and all its content 777 to stop this error but no way.

        i have asked the server support to do upgrade themselves and tell me why it is forbidden tpo access and they said it is your site or application permission.

        so please guide me more

        thanks

        Comment

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

          #5
          A 403 would be caused by something like mod_security. You should disable tools like mod_security for your /core/install folder. Your httpd error log may have more information.
          Translations provided by Google.

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

          Comment

          • Blackhorse
            Senior Member
            • Jul 2018
            • 298
            • 5.3.x

            #6
            I have disabled mode security for the entire domain and also for install folder

            PHP Code:
            <IfModule mod_security2.c>
            <
            Directory /home/user/public_html/ar/core/install>
            SecRuleEngine Off
            </Directory>
            </
            IfModule
            but i get the error again but this time at step 15

            Upgrade Progress
            • Processing XML
            • Template Group: Inline Moderation
            • Template Group: Link
            • Template Group: Login
            • Template Group: Media
            • Template Group: Member List
            • Step 15 - Unexpected Text:
              <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /ar/core/install/upgrade.php on this server.<br /> </p> <p>Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.</p> </body></html>

            Comment

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

              #7
              The error is still coming from the server configuration.

              Run the upgrade from the command line. Switch to the /core/upgrade directory on the command line and type: php upgrade.php
              Translations provided by Google.

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

              Comment

              • Blackhorse
                Senior Member
                • Jul 2018
                • 298
                • 5.3.x

                #8
                Hello Wayne,

                It is solved now, but let me please share how i did it as not all able to use command line and i wanted to know how could i do it without command line

                1st: install folder is a must to be clean download with no any change (i added some files to it from don't upload file) - this solved most of the errors
                2nd: i renamed all the 5 vbulletin .htaccess to a new name until i finish installation (a MUST to return back for site to work)

                Please correct me if that's right

                Thanx

                Comment

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

                  #9
                  Neither of those steps should have caused or solved your problem. I don't know what changes you've made to the default .htaccess file though.
                  Translations provided by Google.

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

                  Comment

                  • Blackhorse
                    Senior Member
                    • Jul 2018
                    • 298
                    • 5.3.x

                    #10
                    Originally posted by Wayne Luke
                    Neither of those steps should have caused or solved your problem. I don't know what changes you've made to the default .htaccess file though.
                    Hello Wayne,

                    I don't know, I am just thinking as i had many things done

                    I stopped modsec
                    I changed files and folers permission for Raiud2
                    I have changed -htaccess files
                    i had install folder chmod-ed to 777
                    I removed the old install folder withits extra content and uploaded a fresh one

                    That was enough to let it go smooth

                    I didn't try it again to see if it will come back, as i am trying to test another modifications on the test site before applying on the live one

                    Comment

                    Related Topics

                    Collapse

                    Working...