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 »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Registering for CiviEvents event reports DB Error
Pages: [1]

Author Topic: Registering for CiviEvents event reports DB Error  (Read 722 times)

welly

  • I’m new here
  • *
  • Posts: 29
  • Karma: 2
  • CiviCRM version: 4.4
  • CMS version: Drupal
  • MySQL version: 5.1
  • PHP version: 5.3
Registering for CiviEvents event reports DB Error
December 13, 2013, 05:37:05 am
The error according to the log file is as follows:

[to_string] => [db_error: message="DB Error: unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="" info="UPDATE  civicrm_email
 SET is_primary = 0   WHERE (  civicrm_email.id = 2 )   [nativecode=1449 ** The user specified as a definer ('root'@'localhost') does not exist]"]
)


The problem is, I can't find where it's trying to use that db user. I had previously installed this Civi installation on my local machine and the root@localhost user is my local db user. civicrm.settings.php and settings.php have been updated to reflect moving the site to a remote development server but this error still persists. I can't find in the database or anywhere else a reference to that old user and so have no idea how or why it's trying to use it!

Any suggestions would be much appreciated.

Thanks,

welly

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Registering for CiviEvents event reports DB Error
December 13, 2013, 06:58:01 am

try rebuilding the triggers. check the last section in this wiki page:

http://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Configuration+Trouble-shooting#InstallationandConfigurationTrouble-shooting-civicrm_strip_non_numericdoesnotexisterror

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

welly

  • I’m new here
  • *
  • Posts: 29
  • Karma: 2
  • CiviCRM version: 4.4
  • CMS version: Drupal
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Registering for CiviEvents event reports DB Error
December 13, 2013, 07:12:47 am
Marvellous! That worked a treat. Thanks very much!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Registering for CiviEvents event reports DB Error

This forum was archived on 2017-11-26.