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) »
  • Sorry. A non-recoverable error has occurred!
Pages: [1]

Author Topic: Sorry. A non-recoverable error has occurred!  (Read 2060 times)

flykix

  • Guest
Sorry. A non-recoverable error has occurred!
October 09, 2007, 01:08:25 am
PLEASE HELP!

This is so confusing...i'm almost at the last part and now I don't know what to do...

I have Drupal and CiviCRM running in separate databases and the instructions are vague to me...

It says:

 *      Drupal  DB Name = drupal, DB User = drupal
 *      CiviCRM DB Name = civicrm, CiviCRM DB User = civicrm
 *      define( 'CIVICRM_DSN'         , 'mysql://civicrm:YOUR_PASSWORD@localhost/civicrm?new_link=true' );

Now what do I do next? How do I know what to input here... I just put my Password of my database and the database host? I tried that already and no luck...

mysql://civicrm:YOUR_PASSWORD@localhost/civicrm?new_link=true

This is so confusing to me...

Error Details:

[db_error: message="DB Error: connect failed" code=-24 mode=callback callback=CRM_Core_Error::handle prefix="" info=" [nativecode=Access denied for user 'dbxxxxxxxx'@'xx.xxx.xx.xx' (using password: YES)]"]

I've been trying this out for ten hours... no luck.

please help!!!!!

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Sorry. A non-recoverable error has occurred!
October 09, 2007, 06:13:30 am
For each of the databases, you should have a username+password pair; the format of the config string is mysql://username:password@server/database?new_link=true – the server is usually localhost, so I’ll assume this below.

Let’s say that the Drupal database is called drupal, the username is lapurd and their password is CMS; the proper line would be mysql://lapurd:CMS@localhost/drupal?new_link=true

Let’s say that the CiviCRM database is called civicrm, the username is mrcivic and their password is CRM; the proper line would be mysql://mrcivic:CRM@localhost/civicrm?new_link=true
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

flykix

  • Guest
Re: Sorry. A non-recoverable error has occurred!
October 09, 2007, 11:44:36 am
Thanks for the help! I'm almost there on the home stretch!

When I click on 'CiviCRM' and 'My Account' on the Admin Primary Links I get this:

-------------------------------------

Error 500 - Internal server error

An internal server error has occured!
Please try again later.

--------------------------------------

The URL Path when I click on 'CiviCRM', it shows up as: http://www.test.mysite.com/index.php?q=civicrm/dashboard&reset=1

and when I click on 'My account', it shows up as: http://www.test.mysite.com/?q=user/1

Also, after I log in it gives me the same internal server error with this url: http://www.test.mysite.com/?q=user/1

I would have to delete the /?q=user/1 to get back into the admin page... so there is something going on with the paths here...

I feel like I'm getting so close! Thank you for the quick response!

I've included my civicrm.settings.php here:

/**
 * Content Management System (CMS) Datasource:
 *
 * Update this setting with your CMS (Drupal or Joomla) database username, server and DB name.
 * Datasource (DSN) format:
 *      define( 'CIVICRM_UF_DSN', 'mysql://cms_db_username:cms_db_password@db_server/cms_database?new_link=true');
 */

define( 'CIVICRM_UF_DSN'           , 'mysql://username:password@databasename/hostname?new_link=true' );


 * EXAMPLE: Drupal and CiviCRM running in separate databases...
 *      Drupal  DB Name = drupal, DB User = drupal
 *      CiviCRM DB Name = civicrm, CiviCRM DB User = civicrm
 *      define( 'CIVICRM_DSN'         , 'mysql://civicrm:YOUR_PASSWORD@localhost/civicrm?new_link=true' );
 *
 * MySQL Path:
 * This stores the installed path of mysql. You will need to verify and modify this value if you are
 * planning on using CiviCRMs built-in Database Backup utility. If you have shell access, you may be
 * able to query the path by using one of the following commands:
 * $ whereis mysql
 * $ type mysql
 *
 */

define( 'CIVICRM_MYSQL_VERSION', 5.0 );
define( 'CIVICRM_DSN'          , 'mysql://username:password@hostname/databasename?new_link=true' );
define( 'CIVICRM_MYSQL_PATH', '/usr/bin/' );


global $civicrm_root;

$civicrm_root = '/homepages/4/d114666421/htdocs/www/sites/all/modules/civicrm/';
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/homepages/4/d114666421/htdocs/www/files/civicrm/templates_c/' );

define( 'CIVICRM_UF_BASEURL'      , 'http://www.test.mysite.com/' );

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Sorry. A non-recoverable error has occurred!
October 09, 2007, 09:05:09 pm
Quote from: flykix on October 09, 2007, 11:44:36 am
Error 500 - Internal server error

You need to look into your server’s log to determine the error here.

That said, you’re definitely missing the line opening the comment block below; there should be a line with just /* in the below part (above the * EXAMPLE:… line):

Quote from: flykix on October 09, 2007, 11:44:36 am
define( 'CIVICRM_UF_DSN'           , 'mysql://username:password@databasename/hostname?new_link=true' );

 * EXAMPLE: Drupal and CiviCRM running in separate databases...
 *      Drupal  DB Name = drupal, DB User = drupal
 *      CiviCRM DB Name = civicrm, CiviCRM DB User = civicrm
 *      define( 'CIVICRM_DSN'         , 'mysql://civicrm:YOUR_PASSWORD@localhost/civicrm?new_link=true' );
 *
 * MySQL Path:
 * This stores the installed path of mysql. You will need to verify and modify this value if you are
 * planning on using CiviCRMs built-in Database Backup utility. If you have shell access, you may be
 * able to query the path by using one of the following commands:
 * $ whereis mysql
 * $ type mysql
 *
 */
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

flykix

  • Guest
Re: Sorry. A non-recoverable error has occurred!
October 20, 2007, 12:28:37 am
Hello Thank you all for your help... I had to upgrade my php to version 5 so now I have MySql 5 and PHP 5 running... I ran the automatic install and everything went smooth. I got civicrm-1.9.alpha.11640 but for some reason on the footer it says "CiviCRM 1.9.beta.11777." which I thought was odd. Anyways, now I am having one issue that I've found.

When I go to CivicContribute, under 'Global Settings', I click on 'Payment Processors', it says: 'There are no Payment Processors entered. You can add one.' Then when I click on 'add one', it gives me a fatal error!

Here is the error:

Fatal error: Class 'CRM_Admin_Form_PaymentProcessor' not found in /homepages/testsite/sites/all/modules/civicrm/CRM/Core/Controller.php on line 333.

I tried looking through the forums but haven't found anybody with similar problems! Please help... thank you in advance.


flykix

  • Guest
Re: Sorry. A non-recoverable error has occurred!
October 20, 2007, 02:29:33 am
Nevermind, bad install... tested on another site and it works. :P

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Sorry. A non-recoverable error has occurred!

This forum was archived on 2017-11-26.