if database has prefixes you get errors

ezichko - October 20, 2006 - 15:47
Project:Voting Actions
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I installed my drupal DB with prefixes but voting actions does not add them when creating the tables resulting in errors.
without prefixes it works just fine

#1

arkepp - January 21, 2007 - 21:48

Just search through the module for FROM, replace "voting_actions" and "actions" with "{voting_actions}" and "{actions}" respectively.

It's just six or seven replacements, the curly brackets make Drupal add the prefixes automatically.

#2

arkepp - January 21, 2007 - 22:47

(I realize this is probably of no use to you, i'm only mentioning it for others and for the module maintainer)

Forgot: You have to do the same thing for UPDATE.

 
 

Drupal is a registered trademark of Dries Buytaert.