Database Error

Discussion in 'Support & Feedback' started by Ang3r, Jun 11, 2008.

  1. #1
    I am getting Database error on all attachments on DP forums.
    Checkout here..

    http://forums.digitalpoint.com/attachment.php?attachmentid=1
    Code (markup):
     
    Ang3r, Jun 11, 2008 IP
  2. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #2
    This is error is not a database error but attachment.php doesn't actually exist, have a look http://forums.digitalpoint.com/attachment.php

    This might be the result of an accidental FTP/file manager deletion and only people with access to DigitalPoint's website can restore the missing file if available.
     
    Trusted Writer, Jun 11, 2008 IP
  3. DarkX

    DarkX Peon

    Messages:
    2,128
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It does exist, if it wasn't, you'd see 404 error pages.
    Most probably, database is corrupted, and requires to be repair/optimize tables.
    Shawn should fix this up, it can cause further problems.
     
    DarkX, Jun 11, 2008 IP
  4. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #4
    Follow this link >>> http://forums.digitalpoint.com/attachment.php

    It really leads to a 404 error page, what you are quoting is the result of a variable (attachment.php?attachmentid=1) passed to a non-existing page.

    You should know he can't do this for now :rolleyes:
     
    Trusted Writer, Jun 11, 2008 IP
  5. DarkX

    DarkX Peon

    Messages:
    2,128
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    0
    #5
    For me, it doesn't lead to a 404 error page, but a blank page, and that's normal.
     
    DarkX, Jun 11, 2008 IP
  6. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #6
    That's strange because you know in PHP a blank page it's only normal when error_reporting is disabled [error_reporting(0);], or there is a .htaccess file redirecting to a blank page in 404 error.

    Even though I can see a 404 error page as most of us have read vBulletin's default DB connection error when forum is not available, so error_reporting or .htaccess redirect must not be applying... so then? :confused:

    By the way, I'm using Internet Explorer 6.1, change on version or browser might prevent you see the error page I said, only explanation coming to my mind.
     
    Trusted Writer, Jun 11, 2008 IP
  7. tradeya

    tradeya Notable Member

    Messages:
    5,729
    Likes Received:
    275
    Best Answers:
    0
    Trophy Points:
    230
    #7
    many times a day when i tried to connect to DP i got database error page. that would be just because of connection problem.
     
    tradeya, Jun 14, 2008 IP