Announcement

Collapse
No announcement yet.

Style error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Style error

    Database error in vBulletin 3.0.0 Beta 4:

    Invalid SQL: UPDATE template SET styleid = -10 WHERE styleid = -1
    mysql error: Duplicate entry 'whosonlinebit--10' for key 2

    mysql error number: 1062

    Date: Thursday 28th of August 2003 09:52:48 PM
    Script: http://www.******.***/forums/admincp/template.php
    Referer: http://www.******.***/forums/admincp/template.php?do=files
    Username: x
    IP Address: x.x.x.x


    This happens when I want to import the old vbulletin-style.xml file from the /install folder, and it's angering me greatly.

  • #2
    DELETE FROM style WHERE styleid=-10;

    That style is actually just a backup of the previous master.

    But that would indicate that you had a problem during a style import from before.

    Comment


    • #3
      And the solution to this is what?

      I'm having pretty big problems here right now, and even more if I can't upload the default style again. :/

      Comment


      • #4
        Run the query in the first line of my last post (either via phpMyAdmin or the SQL section of the CP). That will allow you to reimport the default style.

        Comment

        Loading...
        Working...
        X