Results 1 to 4 of 4

Thread: Display backtrace from MySQL Error?

  1. #1

    Join Date
    Mar 2010
    Posts
    9

    Default Display backtrace from MySQL Error?

    Hi,

    I'm currently developping a module with Dolphin 7 and I have the error "Database query error", without any information on the query, no backtrace, nothing...

    How to display it?

    Thanks

  2. #2
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Look in inc/db.inc.php

    You will see where you can enable visual error reporting (to the page)...

    And in any case, on db error, you will be sent an email to your inc/header.inc.php $BUG_REPORT email, assuming you have configured this correctly, the email account exists, and you, of course, checked it's contents.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  3. #3

    Join Date
    Mar 2010
    Posts
    9

    Default

    Thanks I'll look into that!

  4. #4

    Join Date
    Mar 2010
    Posts
    9

    Default

    Actually it's the BxDolDb module.

    Find

    Code:
    define( 'DB_FULL_DEBUG_MODE', false );
    And replace false by true.

    I had another SQL error and wanted to activate it so that's why I'm completing this post.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mysql error: Column 'DateStarts' cannot be null
    By chrisstoffer101 in forum General Troubleshooting
    Replies: 5
    Last Post: 03-16-2010, 03:14 AM
  2. Mysql error: Table 'dol.shoutbox' doesn't exist
    By cilicia in forum General Troubleshooting
    Replies: 1
    Last Post: 02-13-2009, 09:16 PM
  3. MySQL Error [persistant connections]
    By ElFalu in forum General Troubleshooting
    Replies: 0
    Last Post: 10-14-2007, 09:53 AM
  4. shoutbox.php mysql error
    By birkenstam in forum General Issues, Comments, Questions
    Replies: 0
    Last Post: 05-30-2007, 04:30 AM
  5. better way of handling mysql error reporting
    By tester00 in forum Free Mod Exchange
    Replies: 0
    Last Post: 10-30-2005, 09:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •