Afer upgrading to 4.2.0 I can't run tools.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CHADI-AS
    New Member
    • Apr 2008
    • 16

    [Forum] Afer upgrading to 4.2.0 I can't run tools.php

    Hello,
    I have just upgraded my forum (suite) from 4.1.11 to 4.2.0, and i have one problem till now,
    Every time when I try to run tools. php, shows me the follow:
    PHP Code:
    Fatal errorCall to a member function fetch() on a non-object in /home/*****/public_html/forum/includes/class_bootstrap_framework.php on line 65 
    any help please?!
    Best regards,
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74170

    #2
    I've recreated this issue and added it to JIRA here: http://tracker.vbulletin.com/browse/VBIV-15180

    What was the need to run tools.php?
    Translations provided by Google.

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

    Comment

    • CHADI-AS
      New Member
      • Apr 2008
      • 16

      #3
      I didn't need anything to do, but somebody has advised me to do it after upgrading!

      Do you think can I open the forum? Or must I wait to solve this problem?
      Thank you

      Comment

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

        #4
        There is nothing in tools.php that needs to be run after upgrading. It is for support more than anything else. You should be fine to open your forums after testing with your admin account and making sure things work.
        Translations provided by Google.

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

        Comment

        • Sean James
          Senior Member
          • Apr 2004
          • 478

          #5
          Also having the same error with the tools.php file.

          I need to rebuild my styles as Im getting a white page on some of them since the upgrade.
          Bluepearl Skins - vBulletin 4 & 5 Skins

          Comment

          • Paul M
            Former Lead Developer
            vB.Com & vB.Org
            • Sep 2004
            • 9886

            #6
            You dont need tools.php to rebuild styles, its one of the choices in ACP > Maintenance > General Update Tools
            Baby, I was born this way

            Comment

            • CHADI-AS
              New Member
              • Apr 2008
              • 16

              #7
              Thank you for your help

              Comment

              • mikeinjersey
                Senior Member
                • Apr 2005
                • 369

                #8
                I'm ALSO getting this same error after upgrading to 4.2.

                why hasn't there been any discussion on how to fix this yet?

                I uploaded tools because of my CMS page going bonkers and database errors galore. But solely on CMS, forums are fine.

                I'm getting the following database error when trying to access content.php. quick help plz-
                Database error in vBulletin 4.2.0:

                Invalid SQL:

                (SELECT 'package' AS classtype, package.packageid AS typeid, package.packageid AS packageid,
                package.productid AS productid, if(package.productid = 'vbulletin', 1, product.active) AS enabled,
                package.class AS class, -1 as isaggregator
                FROM package AS package
                LEFT JOIN product AS product
                ON product.productid = package.productid
                WHERE product.active = 1
                OR package.productid = 'vbulletin'
                )

                UNION

                (SELECT 'contenttype' AS classtype, contenttypeid AS typeid, contenttype.packageid AS packageid,
                1, 1, contenttype.class AS class , contenttype.isaggregator
                FROM contenttype AS contenttype
                INNER JOIN package AS package ON package.packageid = contenttype.packageid
                LEFT JOIN product AS product ON product.productid = package.productid
                WHERE product.active = 1
                OR package.productid = 'vbulletin' );

                MySQL Error : Table 'product' is marked as crashed and should be repaired
                Error Number : 1194
                repairing the table doesn't seem to fix it.

                Comment

                • Paul M
                  Former Lead Developer
                  vB.Com & vB.Org
                  • Sep 2004
                  • 9886

                  #9
                  MySQL Error : Table 'product' is marked as crashed and should be repaired
                  That is as it suggests, a MySQL problem, nothing to do with vBulletin - one of your database tables has crashed.

                  Either you, or your host, needs to repair it.
                  Baby, I was born this way

                  Comment

                  • mikeinjersey
                    Senior Member
                    • Apr 2005
                    • 369

                    #10
                    can't even get into admincp now. It just keeps hanging when loading.

                    running mysqlcheck ...

                    i've got a ticket open, not sure if that's involved as well.

                    if this doesn't do it , i'm gonna have to restore from backup.

                    Comment

                    • Lynne
                      Former vBulletin Support
                      • Oct 2004
                      • 26255

                      #11
                      Repair your database using phpMyAdmin or whatever app you use to access your database on your server.

                      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

                      • mikeinjersey
                        Senior Member
                        • Apr 2005
                        • 369

                        #12
                        my other sites running mysql are fine though.

                        I have root access, can I have some advice on repairing this table ?

                        'product' isn't a vb table ?

                        Comment

                        • Paul M
                          Former Lead Developer
                          vB.Com & vB.Org
                          • Sep 2004
                          • 9886

                          #13
                          'product' is a vb table yes.

                          How do you access mysql on your server ?
                          Baby, I was born this way

                          Comment

                          • mikeinjersey
                            Senior Member
                            • Apr 2005
                            • 369

                            #14
                            I can access it either way.

                            currently through root with putty ..but mysqlchk seems stuck for awhile on a table. should I just shut mysql down and do a myisamchk ?

                            can't believe u made me feel like it was a Mysql table for a sec... c'mon dude.

                            Comment

                            • Paul M
                              Former Lead Developer
                              vB.Com & vB.Org
                              • Sep 2004
                              • 9886

                              #15
                              Originally posted by mikeinjersey
                              can't believe u made me feel like it was a Mysql table for a sec... c'mon dude.
                              ???
                              It *is* a MySQL table.
                              Baby, I was born this way

                              Comment

                              Related Topics

                              Collapse

                              Working...