Turn off site for upgrade and got this error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mastdunya.com
    Member
    • Mar 2009
    • 33
    • 5.0.0

    Turn off site for upgrade and got this error

    Hello, every one i just turn off my site for upgrade to beta 24 to 25 and got this error

    Fatal error: Call to a member function isAdministrator() on a non-object in /home/mast***/public_html/forum/core/vb/api/state.php on line 174


    and now i dont have access to admincp and also site please help me to fix this thanks.
    and yes i delete these file from zip pakage
    core/install/install.php, config.php.bkp and core/includes/config.php.new
    but i have this isue before upgarding while turn off my site and after that i run upgrade and its went through but still have same error cant open my site now
    Last edited by mastdunya.com; Sat 19 Jan '13, 7:51am.
    The World At Your Fingertips!
  • GrdPa
    Member
    • Jan 2013
    • 33
    • 4.2.X

    #2
    Use these SQL query for turn on your forum.

    UPDATE datastore SET data=REPLACE(data,'s:8:"bbactive";i:0;','s:8:"bbactive";i:1;') WHERE title='options';
    UPDATE setting SET value=1 WHERE varname='bbactive';

    Warning, if you use a prefix, you must modified datastore and setting in these request by prefix_datastore and prefix_setting
    Last edited by GrdPa; Sat 19 Jan '13, 8:00am.
    -------------------
    My vb5 forum : http://weakissyou.com [in Construction]
    http://weakissyou.com/images/signature/sign-grdpa.png

    Comment

    • mastdunya.com
      Member
      • Mar 2009
      • 33
      • 5.0.0

      #3
      Originally posted by GrdPa
      Use these SQL query for turn on your forum.

      UPDATE datastore SET data=REPLACE(data,'s:8:"bbactive";i:0;','s:8:"bbactive";i:1;') WHERE title='options';
      UPDATE setting SET value=1 WHERE varname='bbactive';

      Warning, if you use a prefix, you must modified datastore and setting in these request by prefix_datastore and prefix_setting
      Sorry but i dont know how to do this can you please explain
      The World At Your Fingertips!

      Comment

      • GrdPa
        Member
        • Jan 2013
        • 33
        • 4.2.X

        #4
        Go to phpmyadmin
        Select your database
        Click image for larger version

Name:	screen1.png
Views:	1
Size:	22.1 KB
ID:	3691136
        Go to SQL tab
        Click image for larger version

Name:	screen2.png
Views:	1
Size:	39.2 KB
ID:	3691137
        Paste the SQL request and execute
        Click image for larger version

Name:	screen3.png
Views:	1
Size:	40.9 KB
ID:	3691138
        -------------------
        My vb5 forum : http://weakissyou.com [in Construction]
        http://weakissyou.com/images/signature/sign-grdpa.png

        Comment

        • mastdunya.com
          Member
          • Mar 2009
          • 33
          • 5.0.0

          #5
          Originally posted by GrdPa
          Go to phpmyadmin
          Select your database
          [ATTACH=CONFIG]63861[/ATTACH]
          Go to SQL tab
          [ATTACH=CONFIG]63862[/ATTACH]
          Paste the SQL request and execute
          [ATTACH=CONFIG]63863[/ATTACH]
          Thanks i still have same isue after upgrade

          Fatal error: Call to a member function isAdministrator() on a non-object in /home/mast***/public_html/forum/core/vb/api/state.php on line 174
          The World At Your Fingertips!

          Comment

          • GrdPa
            Member
            • Jan 2013
            • 33
            • 4.2.X

            #6
            Search in the 2 tables (datastore and setting) if you have bbaactive value at 1 :

            Click image for larger version

Name:	screen4.png
Views:	1
Size:	39.9 KB
ID:	3691139Click image for larger version

Name:	screen5.png
Views:	1
Size:	32.0 KB
ID:	3691140Click image for larger version

Name:	screen6.png
Views:	1
Size:	69.0 KB
ID:	3691141
            -------------------
            My vb5 forum : http://weakissyou.com [in Construction]
            http://weakissyou.com/images/signature/sign-grdpa.png

            Comment

            • mastdunya.com
              Member
              • Mar 2009
              • 33
              • 5.0.0

              #7
              Originally posted by GrdPa
              Search in the 2 tables (datastore and setting) if you have bbaactive value at 1 :

              I didnt see this in datastore but i do have in setting and it have value 1
              Click image for larger version

Name:	bb1.PNG
Views:	1
Size:	17.6 KB
ID:	3691142

              and here is datastore image
              Click image for larger version

Name:	datasroe.PNG
Views:	1
Size:	81.8 KB
ID:	3691143
              The World At Your Fingertips!

              Comment

              • GrdPa
                Member
                • Jan 2013
                • 33
                • 4.2.X

                #8
                verify datastore too, it's important
                clic edit
                -------------------
                My vb5 forum : http://weakissyou.com [in Construction]
                http://weakissyou.com/images/signature/sign-grdpa.png

                Comment

                • mastdunya.com
                  Member
                  • Mar 2009
                  • 33
                  • 5.0.0

                  #9
                  Yeha i found it in datastore and its also at 1
                  Click image for larger version

Name:	data1.PNG
Views:	1
Size:	66.1 KB
ID:	3691144

                  - - - Updated - - -

                  Mean while i try this
                  Download the package again, reupload in ASCII format making sure to overwrite.

                  find at
                  https://www.vbulletin.com/forum/showthread.php/413131-White-page-after-turning-board-on?highlight=Call+member+function+isAdministrator%28%29

                  but upgrade went through and still have same error
                  Fatal error: Call to a member function isAdministrator() on a non-object in /home/mast***/public_html/forum/core/vb/api/state.php on line 174
                  The World At Your Fingertips!

                  Comment

                  • GrdPa
                    Member
                    • Jan 2013
                    • 33
                    • 4.2.X

                    #10
                    I had the same problem as you on the b23, and reactivating the forum as I have been doing that has resolved my problem. isAdministrator being called to see whether or not we display the forum when it is off.
                    I admit that now I do not know what to advise you.
                    -------------------
                    My vb5 forum : http://weakissyou.com [in Construction]
                    http://weakissyou.com/images/signature/sign-grdpa.png

                    Comment

                    • mastdunya.com
                      Member
                      • Mar 2009
                      • 33
                      • 5.0.0

                      #11
                      Originally posted by GrdPa
                      I had the same problem as you on the b23, and reactivating the forum as I have been doing that has resolved my problem. isAdministrator being called to see whether or not we display the forum when it is off.
                      I admit that now I do not know what to advise you.
                      Thanks for helping i'm going to submit support ticket let you know thanks
                      The World At Your Fingertips!

                      Comment

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

                        #12
                        If this is the site in your sig, you have third party add ons.

                        Please disable these and see if you have the same problem.
                        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

                        • mastdunya.com
                          Member
                          • Mar 2009
                          • 33
                          • 5.0.0

                          #13
                          Thanks every one its solved and i dont know how i just try to turn off Products/Hook System but before that i try to check and its solved now i dont have any error
                          The World At Your Fingertips!

                          Comment

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

                            #14
                            Glad you got it sorted.
                            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

                            Related Topics

                            Collapse

                            Working...