Problem/Motivation
I have installed bubbletimer on a clean minimal drupal installation with a database that used a table prefix. When I tried to create my first content and add it into the timetable, I got an error:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bubbletimer.bubbletimer_node_user' doesn't exist: SELECT nid FROM bubbletimer_node_user WHERE uid = :uid AND nid = :nid; Array ( [:uid] => 1 [:nid] => 1 ) in_bubbletimer_is_node_assigned_to_user() (line 153 of/home/clients/client17/web974/web/sites/all/modules/bubbletimer/includes/bubbletimer.utils.inc).
The database prefix was not used in the SQL statement.
I have reinstalled my site now with a database without prefixes. It worked like charm afterwards.
Proposed resolution
Workaround is not to use table prefixes when working with bubbletimer. I propose implementing the table prefix handling.
Comments