My DB is working with a table prefix, which is unfortunately not support by invvoucher.

user warning: Table 'DB504568.users' doesn't exist query

Comments

RaRi’s picture

Workaround:

I have changed line 158

$result = db_query('SELECT uid, name FROM `users` WHERE 1');

Whereas is the prefix.

dear_anton’s picture

Status: Active » Fixed

You may check that module again - I've fixed the problem.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

happyend-re’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev

I have same problem than RaRi, but with version 6.x-1.x-dev... Here is error massage (bugreport): ... Table 'testdb.invvoucher' doesn't exist query: SELECT t1.* , t2.uid, t3.name AS owner_name FROM `invvoucher` AS t1 LEFT JOIN (`invvoucher_users` AS t2) ON ( t1.id = t2.voucher_id ) LEFT JOIN ( `users` AS t3 ) ON ( t1.owner_uid = t3.uid ) WHERE 1 in modules/invvoucher/invvoucher.module on line 182...
Any suggestion?