CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • No Database Selected Error
Pages: [1]

Author Topic: No Database Selected Error  (Read 673 times)

sushant1431

  • Guest
No Database Selected Error
July 06, 2010, 02:37:50 am
I'm getting this error. I check database connection in civicrm.settings.php and it's ok. then why i'm getting this. help
 
[nativecode=**]
    [to_string] => [db_error: message="DB Error: no database selected" code=-14 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT *
 FROM civicrm_preferences
 
 WHERE (  civicrm_preferences.domain_id = 1 )  AND (  civicrm_preferences.is_domain = 1 )

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: No Database Selected Error
July 06, 2010, 02:47:26 am
Did it work yesterday? If so, then perhaps something changed on the server.

Or is this a brand new install? If so, did you use the installer? What version of CiviCRM is this?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • No Database Selected Error

This forum was archived on 2017-11-26.