Invalid SQL when upgrading to VB 4.1.2.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fungsten
    Senior Member
    • Apr 2006
    • 374
    • 4.2.5

    [Forum] Invalid SQL when upgrading to VB 4.1.2.

    Unexpected Text:
    <?xml version="1.0" encoding="windows-1252"?><?xml version="1.0" encoding="windows-1252"?><errors> <error><![CDATA[<p>Database Error</p>Invalid SQL:SELECT c.contenttypeid FROM contenttype c INNER JOIN package AS p ON p.packageid = c.packageid WHERE c.class='Article' AND p.productid = 'vbcms' ;;Table 'xxxxxxxxx.contenttype' doesn't exist]]></error> <error_html><![CDATA[<p>Database error in vBulletin 4.1.1 Alpha 1</p><p>Invalid SQL:SELECT c.contenttypeid FROM contenttype c INNER JOIN package AS p ON p.packageid = c.packageid WHERE c.class='Article' AND p.productid = 'vbcms' ;;<p><p><strong>MySQL Error</strong> : Table 'xxxxxxxxxxx.contenttype' doesn't exist<br /><strong>Error Number</strong> : 1146<br /><strong>Request Date</strong> : Friday, February 11th 2011 @ 06:07:17 PM<br /><strong>Error Date</strong> : Friday, February 11th 2011 @ 06:07:17 PM<br /><strong>Script</strong> : http://www.XXXXXXXXXXX.net/test_vb/f...upgrade.php<br /><strong>Referrer</strong> : http://www.XXXXXXXXXXXXXX.net/test_v...upgrade.php<br /><strong>Classname</strong> : vB_Database<br /><strong>MySQL Version</strong> : 5.0.91-community<br /></p>]]></error_html></errors>
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    Which version are you upgrading from?
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • Fungsten
      Senior Member
      • Apr 2006
      • 374
      • 4.2.5

      #3
      Version 4.1.1 Alpha 1

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        An Alpha to a Beta, and neither officially supported.

        This may be a server time and/or memory limit. To increase your limits edit your includes/config.php file and add these lines right under the <?php line:

        ini_set('memory_limit', -1);
        ini_set("max_execution_time", "2880");

        Then try again.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        • Fungsten
          Senior Member
          • Apr 2006
          • 374
          • 4.2.5

          #5
          Originally posted by Steve Machol
          An Alpha to a Beta, and neither officially supported.

          This may be a server time and/or memory limit. To increase your limits edit your includes/config.php file and add these lines right under the <?php line:

          ini_set('memory_limit', -1);
          ini_set("max_execution_time", "2880");

          Then try again.
          Thanks. I'll try it and get back to you.

          On Edit:

          It's just sitting there after a few minutes at Step 1.

          On Edit:

          Same error didn't work.
          Last edited by Fungsten; Fri 11 Feb '11, 6:36pm.

          Comment

          • Steve Machol
            Former Customer Support Manager
            • Jul 2000
            • 154488

            #6
            Please report this in the vB4 Bug Tracker here:

            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
            Change CKEditor Colors to Match Style (for 4.1.4 and above)

            Steve Machol Photography


            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


            Comment

            • Fungsten
              Senior Member
              • Apr 2006
              • 374
              • 4.2.5

              #7
              Originally posted by Steve Machol
              Please report this in the vB4 Bug Tracker here:

              http://tracker.vbulletin.com/secure/Dashboard.jspa
              I shall.

              Comment

              • Blindspot
                New Member
                • May 2005
                • 25
                • 3.8.x

                #8
                I had the same problem... Seems only the contenttype.frm existed in the MySql data directory. I deleted the table reference and recreated it from the sql in the install file.

                Note: Dont forget to run the insert part on this table or you will get further errors.
                Last edited by Blindspot; Tue 15 Feb '11, 9:52am.

                Comment

                • Fungsten
                  Senior Member
                  • Apr 2006
                  • 374
                  • 4.2.5

                  #9
                  Originally posted by Blindspot
                  I had the same problem... Seems only the contenttype.frm existed in the MySql data directory. I deleted the table reference and recreated it from the sql in the install file.

                  Note: Dont forget to run the insert part on this table or you will get further errors.
                  How do you delete the table? I don't know that much about sql. And does the installation automatically recreate it?

                  Comment

                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                  Working...