Announcement

Collapse
No announcement yet.

Problems with database

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

  • Problems with database

    The queries are failing...

    Time to do a maintenance?
    (\__/) 07/07/1937 - Never forget
    (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
    (")_(") "Starting the fire from within."

  • #2
    Why do they start failing?
    Is God willing to prevent evil, but not able? Then he is not omnipotent. Is he able, but not willing? Then he is malevolent. Is he both able and willing? Then whence cometh evil? Is he neither able nor willing?
    Then why call him God? - Epicurus

    Comment


    • #3
      No idea why, not a guru of MySQL. All I know is it wouldn't let me attach images.
      (\__/) 07/07/1937 - Never forget
      (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
      (")_(") "Starting the fire from within."

      Comment


      • #4
        Possibly related to a faulty table, or somesuch.

        In any case, attachments aren't working

        Comment


        • #5
          blah
          Co-Founder, Apolyton Civilization Site
          Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
          giannopoulos.info: my non-mobile non-photo news & articles blog

          Comment


          • #6
            fixed

            we've managed to max out the allowed space for id's(65k) on the attachment table
            Co-Founder, Apolyton Civilization Site
            Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
            giannopoulos.info: my non-mobile non-photo news & articles blog

            Comment


            • #7
              No error message any more, but attachments aren't showing.
              The genesis of the "evil Finn" concept- Evil, evil Finland

              Comment


              • #8
                When a few hours ago I tried to post a Superhero image in that off topic thread, I get the following message:

                There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

                We apologise for the inconvenience.


                Database error in vBulletin: Invalid SQL: INSERT INTO attachment (attachmentid,userid,dateline,filename,visible,has h) VALUES (NULL,3088,1077899568,'obstructor.jpg','1','63949f b9398e6fd828c64f66884df1cd')
                mysql error: Duplicate entry '65535' for key 1
                mysql error number: 1062
                Date: Friday 27th of February 2004 11:32:48 AM
                Script: /forums/newreply.php
                Referer: http://apolyton.net/forums/newreply....hreadid=108754
                When I tried again now, I got the following message:

                There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser.

                We apologise for the inconvenience.


                Database error in vBulletin: Invalid SQL: INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature,ipad dress,iconid,visible) VALUES (NULL,'109506','','Maniac','3088','1077915061','65 559','Test','1','1','80.200.248.206','0','1')
                mysql error: Server shutdown in progress
                mysql error number: 1053
                Date: Friday 27th of February 2004 03:53:57 PM
                Script: /forums/newreply.php
                Referer: http://www.apolyton.com/forums/newre...hreadid=109506
                Any idea what's going on?
                Contraria sunt Complementa. -- Niels Bohr
                Mods: SMAniaC (SMAC) & Planetfall (Civ4)

                Comment


                • #9
                  blah
                  Co-Founder, Apolyton Civilization Site
                  Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
                  giannopoulos.info: my non-mobile non-photo news & articles blog

                  Comment


                  • #10
                    ?
                    Contraria sunt Complementa. -- Niels Bohr
                    Mods: SMAniaC (SMAC) & Planetfall (Civ4)

                    Comment


                    • #11
                      changes where needed in the posts table as well..
                      Attached Files
                      Co-Founder, Apolyton Civilization Site
                      Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
                      giannopoulos.info: my non-mobile non-photo news & articles blog

                      Comment


                      • #12
                        Originally posted by MarkG
                        fixed

                        we've managed to max out the allowed space for id's(65k) on the attachment table
                        Time to purge some of the inactive users. What criteria do you use for this process?

                        Comment


                        • #13
                          it's not an issue if inactive users, this was about the attachments sql table
                          Co-Founder, Apolyton Civilization Site
                          Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
                          giannopoulos.info: my non-mobile non-photo news & articles blog

                          Comment


                          • #14
                            Hosing the older attachments?
                            (\__/) 07/07/1937 - Never forget
                            (='.'=) "Claims demand evidence; extraordinary claims demand extraordinary evidence." -- Carl Sagan
                            (")_(") "Starting the fire from within."

                            Comment


                            • #15
                              no, the actual data of the attachments is not in the database any longer

                              the attachment table has an id column which was an int(5) so it had a maximum value of 65535. we've reached that number(we have less than 65535 attachments but when an entry is deleted the id is not used by a new one) and had to alter the table structure to be usable again
                              Co-Founder, Apolyton Civilization Site
                              Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
                              giannopoulos.info: my non-mobile non-photo news & articles blog

                              Comment

                              Working...
                              X