1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Database error

Discussion in 'Troubleshooting and Problems' started by MirandaSings, Sep 19, 2015.

  1. MirandaSings

    MirandaSings Active Member

  2. MirandaSings

    MirandaSings Active Member

    Still having this issue very frequently, any solution?
     
  3. Mike

    Mike XenForo Developer Staff Member

    When you get that error, view the page source for a more detailed error.

    Based on the logs in your control panel though, your server is having DNS issues. You would need to contact your host about this.
     
  4. MirandaSings

    MirandaSings Active Member

    Zend_Db_Adapter_Mysqli_Exception: php_network_getaddresses: getaddrinfo failed: Name or service not known - library/Zend/Db/Adapter/Mysqli.php:333
    Generated By: Unknown Account, Today at 7:47 PM
    Stack Trace

    #0 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/Zend/Db/Adapter/Abstract.php(315): Zend_Db_Adapter_Mysqli->_connect()
    #1 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Application.php(728): Zend_Db_Adapter_Abstract->getConnection()
    #2 [internal function]: XenForo_Application->loadDb(Object(Zend_Config))
    #3 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Application.php(971): call_user_func_array(Array, Array)
    #4 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Application.php(1002): XenForo_Application->lazyLoad('db', NULL)
    #5 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Application.php(1607): XenForo_Application::get('db')
    #6 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Model.php(161): XenForo_Application::getDb()
    #7 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Model/DataRegistry.php(138): XenForo_Model->_getDb()
    #8 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Model/DataRegistry.php(97): XenForo_Model_DataRegistry->_getMultiFromDb(Array)
    #9 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Dependencies/Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
    #10 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
    #11 /customers/e/b/d/dreamaion-forum.com/httpd.www/index.php(13): XenForo_FrontController->run()



    And

    Zend_Db_Adapter_Mysqli_Exception: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution - library/Zend/Db/Adapter/Mysqli.php:333
    Generated By: Unknown Account, Today at 7:13 PM
    Stack Trace
    #0 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/Zend/Db/Adapter/Abstract.php(315): Zend_Db_Adapter_Mysqli->_connect()
    #1 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Application.php(728): Zend_Db_Adapter_Abstract->getConnection()
    #2 [internal function]: XenForo_Application->loadDb(Object(Zend_Config))
    #3 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Application.php(971): call_user_func_array(Array, Array)
    #4 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Application.php(1002): XenForo_Application->lazyLoad('db', NULL)
    #5 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Application.php(1607): XenForo_Application::get('db')
    #6 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Model.php(161): XenForo_Application::getDb()
    #7 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Model/DataRegistry.php(138): XenForo_Model->_getDb()
    #8 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Model/DataRegistry.php(97): XenForo_Model_DataRegistry->_getMultiFromDb(Array)
    #9 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/Dependencies/Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
    #10 /customers/e/b/d/dreamaion-forum.com/httpd.www/library/XenForo/FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
    #11 /customers/e/b/d/dreamaion-forum.com/httpd.www/index.php(13): XenForo_FrontController->run()
    #12 {main}
    Request State
    array(3) {
    ["url"] => string(72) "http://www.dreamaion-forum.com/index.php?forums/in-game-forum-events.98/"
    ["_GET"] => array(1) {
    ["forums/in-game-forum-events_98/"] => string(0) ""
    }
    ["_POST"] => array(0) {
    }
    }
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    As Mike said, this is something you will need to contact your host about.
     

Share This Page