PDOException with APC Module Install

Created on 22 July 2012, over 12 years ago
Updated 22 July 2024, 5 months ago

In attempting to install the APC module in a Drupal 7.14 multisite environment, I encountered the following error message when attempting to access actual Drupal nodes after what appeared to be a successful and problem free install of the APC module:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dotnet-tactix.trigger_assignments' doesn't exist: SELECT ta.aid, a.type, a.label FROM {trigger_assignments} ta LEFT JOIN {actions} a ON ta.aid = a.aid WHERE ta.hook = :hook ORDER BY ta.weight; Array ( [:hook] => node_view ) in trigger_get_assigned_actions() (line 171 of /var/www/vhosts/fintactix.net/httpdocs/modules/trigger/trigger.module).

The following code was placed in the settings.php file:

/**
 * Add APC Caching.
 */
$conf['cache_backends'] = array('sites/all/modules/contrib/apc/drupal_apc_cache.inc');
$conf['cache_default_class'] = 'DrupalAPCCache';
//$conf['apc_show_debug'] = TRUE;  // Remove the slashes to use debug mode.

I've also confirmed the APC module code is available in the sites/all/modules/contrib folder.

Removing the APC code from the settings. php file and updating the file on my host server eliminates the error message and the site functions normally. I've tested and retested this to confirm.

Please let me know any additional information you need to investigate this, or whether you feel I should be looking in a different direction given the information presented. Thanks!

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇺🇸United States billp44ruby

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    This issue has not seen activity in over 10 years. I am therefore closing this issue to clean up the issue queue.
    Feel free to re-open and update this issue if you feel this issue is still relevant and of importance.

Production build 0.71.5 2024