split from 'please help'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pete99
    New Member
    • Dec 2003
    • 10
    • 3.5.x

    split from 'please help'

    Originally posted by Steve Machol
    Hmmm...I don't see how. Nonetheless I would download a new zip file and upload all the original vB files.
    I just got the same error after update


    Let me just add, I cannot access my admin now.
    Last edited by Pete99; Thu 18 Mar '04, 4:49pm.
    Pete

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

    #2
    Split from the original thread because we want to concentrate on each individual's problem.

    Have you done what I suggested, i.e., download the latest zip file and reupload the original files? If you do this and you haven't added any code to your headinclude, header or phpinclude templates, then you shouldn't have this problem.
    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

    • Pete99
      New Member
      • Dec 2003
      • 10
      • 3.5.x

      #3
      Originally posted by Steve Machol
      Split from the original thread because we want to concentrate on each individual's problem.

      Have you done what I suggested, i.e., download the latest zip file and reupload the original files? If you do this and you haven't added any code to your headinclude, header or phpinclude templates, then you shouldn't have this problem.
      Actually facing a monster of a problem right now. I just removed the updated files.. and tried to restore a backup made last night.

      Well.. it seems that my template table is not inserting without error into the database. Everything else went in fine.

      I keep getting this error with just the Template table dump:
      #1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2
      Pete

      Comment

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

        #4
        Simply uploading the updated files would not cause a db problem like this. And neither would restoring the files you were running before. Have you installed any hacks or modifications to the headinclude, header or phpinclude templates?
        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

        • Pete99
          New Member
          • Dec 2003
          • 10
          • 3.5.x

          #5
          Well.. I do have the v3arcade installed.. and a template (vbskinz). So my problem may lay in that arcade.
          Pete

          Comment

          • Pete99
            New Member
            • Dec 2003
            • 10
            • 3.5.x

            #6
            Have any suggestions on how I can get my forum back online with a bad template table in the database?

            Or just recover in general with posts/catagories/permissions/members intact?
            Last edited by Pete99; Thu 18 Mar '04, 8:45pm.
            Pete

            Comment

            • Pete99
              New Member
              • Dec 2003
              • 10
              • 3.5.x

              #7
              I have uploaded everything fresh.. I've got a blank page, but able to access the Admin now.

              But the forum is blank. No templates in the database.. Help?
              Pete

              Comment

              • Zachery
                Former vBulletin Support
                • Jul 2002
                • 59097

                #8
                Its almost impossible to have no templates in the database :/
                Try importing the default style by uploading/downloading function in the style area.

                Comment

                • Pete99
                  New Member
                  • Dec 2003
                  • 10
                  • 3.5.x

                  #9
                  My template table is at 0. I tried to upload a style.. came back with an sql error.

                  I had to revert to a database backup.. everything was recovered from the sql backup except the Template table.
                  Pete

                  Comment

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

                    #10
                    I'm afraid to ask how you ended up with no template table. However in RC4, this is the query to create it (assuming you did not use a table prefix):

                    CREATE TABLE template (
                    templateid INT UNSIGNED NOT NULL AUTO_INCREMENT,
                    styleid SMALLINT NOT NULL DEFAULT '0',
                    title VARCHAR(100) NOT NULL DEFAULT '',
                    template MEDIUMTEXT NOT NULL,
                    template_un MEDIUMTEXT NOT NULL,
                    templatetype enum('template','stylevar','css','replacement') NOT NULL default 'template',
                    dateline INT UNSIGNED NOT NULL DEFAULT '0',
                    username VARCHAR(50) NOT NULL DEFAULT '',
                    version VARCHAR(30) NOT NULL DEFAULT '',
                    PRIMARY KEY (templateid),
                    UNIQUE KEY title (title, styleid)
                    )
                    ;
                    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

                    • Pete99
                      New Member
                      • Dec 2003
                      • 10
                      • 3.5.x

                      #11
                      Originally posted by Steve Machol
                      I'm afraid to ask how you ended up with no template table. However in RC4, this is the query to create it (assuming you did not use a table prefix):

                      CREATE TABLE template (
                      templateid INT UNSIGNED NOT NULL AUTO_INCREMENT,
                      styleid SMALLINT NOT NULL DEFAULT '0',
                      title VARCHAR(100) NOT NULL DEFAULT '',
                      template MEDIUMTEXT NOT NULL,
                      template_un MEDIUMTEXT NOT NULL,
                      templatetype enum('template','stylevar','css','replacement') NOT NULL default 'template',
                      dateline INT UNSIGNED NOT NULL DEFAULT '0',
                      username VARCHAR(50) NOT NULL DEFAULT '',
                      version VARCHAR(30) NOT NULL DEFAULT '',
                      PRIMARY KEY (templateid),
                      UNIQUE KEY title (title, styleid)
                      )
                      ;
                      No dump required? I have that part of it.. I just can't successfully get the dump in there from the database backup.. keeps coming up with an error on that dump.
                      Pete

                      Comment

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

                        #12
                        Sorry I don't understand the part about the 'dump'. What are you doing exactly and what happens?
                        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

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