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) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CiviCRM Fatal Error
Pages: [1]

Author Topic: CiviCRM Fatal Error  (Read 2263 times)

sethneal

  • Guest
CiviCRM Fatal Error
July 31, 2007, 08:59:24 am
I get the following error after installing civiCRM 1.7 in Drupal 5.2 (php 4.4.4, mysql 4.1.21), as I try to enable civicrm in drupal:

Quote
[db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT * FROM civicrm_domain WHERE ( civicrm_domain.id = 1 ) [nativecode=1146 ** Table 'rjgvwwd_civicrm.civicrm_domain' doesn't exist]"]

I have a mySQL database & user for drupal and another one for civicrm.  Each in the appropriate place.

Any help?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM Fatal Error
July 31, 2007, 09:50:32 am
Check your username/password for civicrm database. Also ensure that this user have privilege to access civicrm database.

kurund
Found this reply helpful? Support CiviCRM

sethneal

  • Guest
Re: CiviCRM Fatal Error
July 31, 2007, 10:02:35 am
Yea, I did both of those things a couple of times...

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: CiviCRM Fatal Error
July 31, 2007, 10:22:19 am
The error indicates that a core civicrm table does not exist. One possibility is that the step of creating the DB tables and populating them with the required fixed data was not done:

http://wiki.civicrm.org/confluence/display/CRMDOC/Install+CiviCRM+1.7+for+Drupal#InstallCiviCRM1.7forDrupal-5.CreateandLoadCiviCRMDatabaseTables

You can verify this either using phpMyAdmin (just navigate to the rjgvwwd_civicrm DB and check table listings) OR via command line:
Code: [Select]
mysql > use rjgvwwd_civicrm;
mysql > show tables;

You should see 100 tables listed, including civicrm_domain.
Protect your investment in CiviCRM by  becoming a Member!

sethneal

  • Guest
Re: CiviCRM Fatal Error
August 01, 2007, 01:49:09 pm
Hmm... that would make sense.  I probably didn't do that because I don't know how to use phpMyAdmin.  Is there an easy tutorial here somewhere so I can see how to go about creating these tables in phpMyAdmin?

Thanks.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: CiviCRM Fatal Error
August 01, 2007, 02:28:30 pm
The steps for doing this using phpMyAdmin are actually described in the install doc (linked below). If you don't have access to phpMyAdmin for your DBs - then you can use the command line prompts shown. If you need more info on these tools - Google or Yahoo search are your friends :-)
Protect your investment in CiviCRM by  becoming a Member!

sethneal

  • Guest
Re: CiviCRM Fatal Error
August 02, 2007, 07:52:05 am
Aw... well, I found a short little tutorial on the civicrm website... http://civicrm.org/node/97

It all works perfectly now!  Thanks.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CiviCRM Fatal Error

This forum was archived on 2017-11-26.