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) »
  • Click on event link gives "Sorry. A non-recoverable error has occurred."
Pages: [1]

Author Topic: Click on event link gives "Sorry. A non-recoverable error has occurred."  (Read 1635 times)

trevorwood

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 4
  • CiviCRM version: 4.0.2
  • CMS version: Joomla 1.6
  • MySQL version: 5.0.51a
  • PHP version: 5.2.6-1+lenny8
Click on event link gives "Sorry. A non-recoverable error has occurred."
April 25, 2012, 06:21:41 am
From the list of events created by goign to CivCRM/Events/Manage events.

I click on an event name and get

Sorry. A non-recoverable error has occurred.
DB Error: no such table
Error Details

Return to home page.

This happens with all events.

The URL that it tries to go to is http://website/administrator/?option=com_civicrm&task=civicrm/event/info&id=150&reset=1

If I click on "configure"/"info and settings" it works fine. Goes to

http://website/administrator/?option=com_civicrm&task=civicrm/event/manage/eventInfo&reset=1&action=update&id=150

Joomla 1.7, CiviCRM 4.0.7 (yes I know there are later versions but we need a stable website before we can upgrade  :( )

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Click on event link gives "Sorry. A non-recoverable error has occurred."
April 25, 2012, 01:54:57 pm
Need to see the Error Details. Looks like a custom data set was removed or some such. Anyhow to expose the Error Details, try using Firebug and right click on Error Details and choose Inspect Element and then click on the DIV tag and click on the class and remove the class.

Then it will magically appear.

Or just post a View Source if the above is too complicated.
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.

trevorwood

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 4
  • CiviCRM version: 4.0.2
  • CMS version: Joomla 1.6
  • MySQL version: 5.0.51a
  • PHP version: 5.2.6-1+lenny8
Re: Click on event link gives "Sorry. A non-recoverable error has occurred."
April 26, 2012, 12:30:20 am
Hope this source helps

Seems to be implying that Table 'busclub-joomla.civicrm_acl' doesn't exist. I've inspected the database with phpmyadmin and it's right. That table doesn't exist. What's happened to it and how do i get it back?

Cheers

<div id="crm-container" lang="en" xml:lang="en">
  <style type="text/css" media="screen">@import url(/administrator/components/com_civicrm/civicrm/css/civicrm.css);</style>
  <style type="text/css" media="screen">@import url(/administrator/components/com_civicrm/civicrm/css/extras.css);</style>
  <script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/js/jquery/jquery.crmaccordions.js"></script>
<div class="messages status">  <div class="icon red-icon alert-icon"></div>
 <span class="status-fatal">Sorry. A non-recoverable error has occurred.</span>
    <div class="crm-section crm-error-message"></div>
            <hr style="solid 1px" />
        <div class="crm-section crm-error-message">DB Error: no such table</div>
                <div class="crm-accordion-wrapper crm-accordion_title-accordion crm-accordion-closed crm-fatal-error-details-block">
         <div class="crm-accordion-header">
          <div class="icon crm-accordion-pointer"></div>
           Error Details         </div><!-- /.crm-accordion-header -->
         <div class="crm-accordion-body">
                                        <div class="crm-section">Database Error Code: Table 'busclub-joomla.civicrm_acl' doesn't exist, 1146</div>
                                        <div class="crm-section">Additional Details: <p><pre>Array
(
    [callback] =&gt; Array
        (
           
  • =&gt; CRM_Core_Error
  • [1] =&gt; handle
            )

       
Code: [Select]
=&gt; -18
    [message] =&gt; DB Error: no such table
    [mode] =&gt; 16
    [debug_info] =&gt;  SELECT      civicrm_acl.*
                        FROM        civicrm_acl  WHERE   civicrm_acl.entity_table   = 'civicrm_contact'
                            AND     civicrm_acl.entity_id      = 1 [nativecode=1146 ** Table 'busclub-joomla.civicrm_acl' doesn't exist]
    [type] =&gt; DB_Error
    [user_info] =&gt;  SELECT      civicrm_acl.*
                        FROM        civicrm_acl  WHERE   civicrm_acl.entity_table   = 'civicrm_contact'
                            AND     civicrm_acl.entity_id      = 1 [nativecode=1146 ** Table 'busclub-joomla.civicrm_acl' doesn't exist]
    [to_string] =&gt; [db_error: message=&quot;DB Error: no such table&quot; code=-18 mode=callback callback=CRM_Core_Error::handle prefix=&quot;&quot; info=&quot; SELECT      civicrm_acl.*
                        FROM        civicrm_acl  WHERE   civicrm_acl.entity_table   = 'civicrm_contact'
                            AND     civicrm_acl.entity_id      = 1 [nativecode=1146 ** Table 'busclub-joomla.civicrm_acl' doesn't exist]&quot;]
)
</pre></p><p></p></div>
                     </div><!-- /.crm-accordion-body -->
        </div><!-- /.crm-accordion-wrapper -->
        <p><a href="http://joomla/administrator/" title="Main Menu">Return to home page.</a></p>
</div>
</div>
<script type="text/javascript">
cj(function() {
   cj().crmaccordions();
});
</script>


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Click on event link gives "Sorry. A non-recoverable error has occurred."
April 26, 2012, 02:34:15 am
Is busclub-joomla your CiviCRM DB? Are there a bunch of other civicrm_ tables there?
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.

trevorwood

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 4
  • CiviCRM version: 4.0.2
  • CMS version: Joomla 1.6
  • MySQL version: 5.0.51a
  • PHP version: 5.2.6-1+lenny8
Re: Click on event link gives "Sorry. A non-recoverable error has occurred."
April 30, 2012, 03:26:16 am
Quote from: Hershel on April 26, 2012, 02:34:15 am
Is busclub-joomla your CiviCRM DB?
yes it is
Quote from: Hershel on April 26, 2012, 02:34:15 am
Are there a bunch of other civicrm_ tables there?
No there aren't - only the ones for busclub-joomla

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Click on event link gives "Sorry. A non-recoverable error has occurred."
April 30, 2012, 03:28:20 am
Quote from: trevorwood on April 26, 2012, 12:30:20 am
Seems to be implying that Table 'busclub-joomla.civicrm_acl' doesn't exist. I've inspected the database with phpmyadmin and it's right. That table doesn't exist. What's happened to it and how do i get it back?

No idea how it got lost. To get it back, do you have a backup?
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.

trevorwood

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 4
  • CiviCRM version: 4.0.2
  • CMS version: Joomla 1.6
  • MySQL version: 5.0.51a
  • PHP version: 5.2.6-1+lenny8
Re: Click on event link gives "Sorry. A non-recoverable error has occurred."
May 01, 2012, 01:58:46 am
I keep 30 days worth of backups, but it's not on any of them. I'll try getting it back by reinstalling CiviCRM over the current installation (I've got a test system that doesn't matter if it get's trashed).

If that doesn't work, what do I need to do to manually re-create it and what information would be populated in there?

trevorwood

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 4
  • CiviCRM version: 4.0.2
  • CMS version: Joomla 1.6
  • MySQL version: 5.0.51a
  • PHP version: 5.2.6-1+lenny8
Re: Click on event link gives "Sorry. A non-recoverable error has occurred."
May 01, 2012, 02:07:06 am
Reinstalling didn't work - the table is still missing :( Any ideas?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Click on event link gives "Sorry. A non-recoverable error has occurred."
May 01, 2012, 02:50:16 am
You tried installing into a fresh DB? civicrm_acl is a standard table so it should be there.
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.

trevorwood

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 4
  • CiviCRM version: 4.0.2
  • CMS version: Joomla 1.6
  • MySQL version: 5.0.51a
  • PHP version: 5.2.6-1+lenny8
Re: Click on event link gives "Sorry. A non-recoverable error has occurred."
May 01, 2012, 04:23:34 am
I reinstalled over the current DB - I don't have time at the moment to create a new Joomla site and install CiviCRM on to it. Is there a table I can dump from somewhere and copy in?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Click on event link gives "Sorry. A non-recoverable error has occurred."
May 01, 2012, 04:25:48 am
Try this:

Code: [Select]
CREATE TABLE `civicrm_acl` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique table ID',
  `name` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'ACL Name.',
  `deny` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'Is this ACL entry Allow  (0) or Deny (1) ?',
  `entity_table` varchar(64) COLLATE utf8_unicode_ci NOT NULL COMMENT 'Table of the object possessing this ACL entry (Contact, Group, or ACL Group)',
  `entity_id` int(10) unsigned DEFAULT NULL COMMENT 'ID of the object possessing this ACL',
  `operation` enum('All','View','Edit','Create','Delete','Grant','Revoke','Search') COLLATE utf8_unicode_ci NOT NULL COMMENT 'What operation does this ACL entry control?',
  `object_table` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'The table of the object controlled by this ACL entry',
  `object_id` int(10) unsigned DEFAULT NULL COMMENT 'The ID of the object controlled by this ACL entry',
  `acl_table` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'If this is a grant/revoke entry, what table are we granting?',
  `acl_id` int(10) unsigned DEFAULT NULL COMMENT 'ID of the ACL or ACL group being granted/revoked',
  `is_active` tinyint(4) DEFAULT NULL COMMENT 'Is this property active?',
  PRIMARY KEY (`id`),
  KEY `index_acl_id` (`acl_id`)
) ENGINE=InnoDB AUTO_INCREMENT=66 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
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.

trevorwood

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 4
  • CiviCRM version: 4.0.2
  • CMS version: Joomla 1.6
  • MySQL version: 5.0.51a
  • PHP version: 5.2.6-1+lenny8
Re: Click on event link gives "Sorry. A non-recoverable error has occurred."
May 01, 2012, 04:55:11 am
Thanks I'll give that a try

trevorwood

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 4
  • CiviCRM version: 4.0.2
  • CMS version: Joomla 1.6
  • MySQL version: 5.0.51a
  • PHP version: 5.2.6-1+lenny8
Re: Click on event link gives "Sorry. A non-recoverable error has occurred."
May 03, 2012, 07:39:47 am
That's fixed it. Also found out what had happened & it must have happened many months back. That table was excluded from the backup (I suspect it shoudl have been acl_cache) and when we did a recovery a few months back after a server crash, it wasn't restored. Strange that re-installing CiviCRM over the current system didn't re-create it though

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Click on event link gives "Sorry. A non-recoverable error has occurred."

This forum was archived on 2017-11-26.