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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Sorry. A non-recoverable error has occurred.
Pages: 1 [2] 3 4

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

TheoRichel

  • I post frequently
  • ***
  • Posts: 122
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Drupal 6.24
  • MySQL version: 5.9
  • PHP version: 5.3.16
Re: Sorry. A non-recoverable error has occurred.
November 28, 2011, 02:48:44 am
I have news! The error I reported above happened when I tried to run Civicrm, I mean, after I had clicked away the db error that resulted from the failing upgrade script. Now I have reproduced the latter and paste it below. So this is the real error that results from the upgrade script. I can only hope it means something to you. Many thanks

Database Error Code: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UPDATE `civicrm_dashboard` SET fullscreen_url='civicrm/dashlet/activity&reset=1&' at line 3, 1064</div>
                                        <div class="crm-section">Additional Details: <p><pre>Array
(
    [callback] =&gt; Array
        (
           
  • =&gt; CRM_Core_Error
  • [1] =&gt; handle
            )

       
Code: [Select]
=&gt; -2
    [message] =&gt; DB Error: syntax error
    [mode] =&gt; 16
    [debug_info] =&gt; ALTER TABLE `civicrm_dashboard` ADD `fullscreen_url` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'fullscreen url for dashlet';

UPDATE `civicrm_dashboard` SET fullscreen_url='civicrm/dashlet/activity&amp;reset=1&amp;snippet=4&amp;context=dashletFullscreen' WHERE url='civicrm/dashlet/activity&amp;reset=1&amp;snippet=4';
UPDATE `civicrm_dashboard` SET fullscreen_url='civicrm/dashlet/myCases&amp;reset=1&amp;snippet=4&amp;context=dashletFullscreen' WHERE url='civicrm/dashlet/myCases&amp;reset=1&amp;snippet=4';
UPDATE `civicrm_dashboard` SET fullscreen_url='civicrm/dashlet/allCases&amp;reset=1&amp;snippet=4&amp;context=dashletFullscreen' WHERE url='civicrm/dashlet/allCases&amp;reset=1&amp;snippet=4';

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Sorry. A non-recoverable error has occurred.
November 28, 2011, 03:01:16 am
What is your precise MySQL version?
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.

TheoRichel

  • I post frequently
  • ***
  • Posts: 122
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Drupal 6.24
  • MySQL version: 5.9
  • PHP version: 5.3.16
Re: Sorry. A non-recoverable error has occurred.
November 28, 2011, 03:23:07 am
Server version: 5.0.67-community

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Sorry. A non-recoverable error has occurred.
November 28, 2011, 03:30:16 am
On the About CiviCRM page http://civicrm.org/aboutcivicrm the team recommends "MySQL 5.1.x+ with InnoDB support" and MySQL 5.0 I think is known to be buggy. The SQL you posted looks OK to me. I would suggest you upgrade your MySQL.
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.

Claare

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 3.4.7
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.92
  • PHP version: 5.2.17
Re: Sorry. A non-recoverable error has occurred.
December 04, 2011, 12:13:16 pm
Hi... did you delete the old civicrm folder from your site before upgrading?
As per http://wiki.civicrm.org/confluence/display/CRMDOC40/Upgrade+Drupal+Sites+to+3.4

6. Backup and then delete all previous version code files

CiviCRM will not run properly if files from previous version are present after the upgrade. Make sure you have a good backup of your complete previous version installation and then delete /sites/all/modules/civicrm.

TheoRichel

  • I post frequently
  • ***
  • Posts: 122
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Drupal 6.24
  • MySQL version: 5.9
  • PHP version: 5.3.16
Re: Sorry. A non-recoverable error has occurred.
December 22, 2011, 08:01:01 am
Well I upgraded Mysql to 5.1.57. I deleted the civicrm folder again and reuploaded the files as well as the sql-file. Then I ran the upgrade script again, but it ended with the same error as above: non recoverable db error.

I am working about a month now without access to CIVICRM. Getting pretty desperate now.
« Last Edit: December 22, 2011, 08:03:45 am by TheoRichel »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Sorry. A non-recoverable error has occurred.
December 22, 2011, 09:38:44 am
Can you post the full text of the error?
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.

TheoRichel

  • I post frequently
  • ***
  • Posts: 122
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Drupal 6.24
  • MySQL version: 5.9
  • PHP version: 5.3.16
Re: Sorry. A non-recoverable error has occurred.
December 22, 2011, 09:56:55 am
Thanks. The button that is supposed to show the text of the error doesnt work, so I give you the contents of the page source. This is however too long to post here, and there seem to be several errors inside (or retries) so I uploaded the file to: http://www.groenerekenkamer.nl/ErrorRichel.txt

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Sorry. A non-recoverable error has occurred.
December 22, 2011, 10:02:03 am
Your error is indeed the same as before:
Code: [Select]
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UPDATE `civicrm_dashboard` SET fullscreen_url='civicrm/dashlet/activity&amp;reset=1&amp;' at line 3
Here is the SQL:

Code: [Select]
ALTER TABLE `civicrm_dashboard` ADD `fullscreen_url` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'fullscreen url for dashlet';

UPDATE `civicrm_dashboard` SET fullscreen_url='civicrm/dashlet/activity&amp;reset=1&amp;snippet=4&amp;context=dashletFullscreen' WHERE url='civicrm/dashlet/activity&amp;reset=1&amp;snippet=4';
UPDATE `civicrm_dashboard` SET fullscreen_url='civicrm/dashlet/myCases&amp;reset=1&amp;snippet=4&amp;context=dashletFullscreen' WHERE url='civicrm/dashlet/myCases&amp;reset=1&amp;snippet=4';
UPDATE `civicrm_dashboard` SET fullscreen_url='civicrm/dashlet/allCases&amp;reset=1&amp;snippet=4&amp;context=dashletFullscreen' WHERE url='civicrm/dashlet/allCases&amp;reset=1&amp;snippet=4';



DELETE FROM civicrm_navigation where name = 'CiviCampaign';

I do not see why it should fail with that error. I would suggest you run this directly against the DB yourself, to see if it gives a different error.
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.

TheoRichel

  • I post frequently
  • ***
  • Posts: 122
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Drupal 6.24
  • MySQL version: 5.9
  • PHP version: 5.3.16
Re: Sorry. A non-recoverable error has occurred.
December 22, 2011, 11:42:58 am
OK Thanks. Then it says:

#1054 - Unknown column 'fullscreen_url' in 'field list'

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Sorry. A non-recoverable error has occurred.
December 22, 2011, 11:45:04 am
That's what I got also. We are making progress--that I think is the correct error message. Can you clarify what version you have and what version you are trying to upgrade to?
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.

TheoRichel

  • I post frequently
  • ***
  • Posts: 122
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Drupal 6.24
  • MySQL version: 5.9
  • PHP version: 5.3.16
Re: Sorry. A non-recoverable error has occurred.
December 22, 2011, 11:50:32 am
I am upgrading from 3.4 to 3.4.7

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Sorry. A non-recoverable error has occurred.
December 22, 2011, 11:52:15 am
There is no "3.4" Perhaps you mean 3.4.0?
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.

TheoRichel

  • I post frequently
  • ***
  • Posts: 122
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Drupal 6.24
  • MySQL version: 5.9
  • PHP version: 5.3.16
Re: Sorry. A non-recoverable error has occurred.
December 22, 2011, 12:01:36 pm
3.4.0 it is. Revision:33823

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Sorry. A non-recoverable error has occurred.
December 23, 2011, 04:10:37 am
I installed a fresh 3.4.0 and ran your SQL and it works fine. Seems this line actually

Code: [Select]
ALTER TABLE `civicrm_dashboard` ADD `fullscreen_url` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL COMMENT 'fullscreen url for dashlet';
is failing. Can you run that manually? It works fine for me manually.
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 [2] 3 4
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Sorry. A non-recoverable error has occurred.

This forum was archived on 2017-11-26.