Hello,

Looks like one of the uc_followup queries (typically see this error after cron) does not append the table prefix to the query, so the following error occurs;

user warning: Table 'mydbname.uc_followup' doesn't exist
in /.../sites/all/modules/uc_followup/uc_followup.module on line 157.

I am currently using db prefix and I don't see it in the user warning above, hence no table is found.

After upgrading to dev it is fixed.

Thanks,

KH

Comments

webchick’s picture

Status: Active » Needs review
StatusFileSize
new1.64 KB

Noticed this too. Here's an untested patch.

webchick’s picture

StatusFileSize
new922 bytes

Sorry, there was some crud in that patch.

neochief’s picture

Status: Needs review » Fixed

Patch is incomplete, but anyways, thanks for taking care of it. Fixed it everywhere. Thanks.

Status: Fixed » Closed (fixed)

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

3dloco’s picture

Version: 6.x-1.0-beta3 » 6.x-1.0
Status: Closed (fixed) » Active

Hello Neochief,

Thanks for working on this, greatly appreciate it. I recently re-enabled this module and got this db prefix again.

So, I am reopening this issue back again as it looks like one of the queries, must have slipped through as it has a couple of joins in there....

see uc_followup.module line 107.

Thanks,

KH

neochief’s picture

Status: Active » Fixed

Ah, yes, you're right. Fixed in 6-1.1

Status: Fixed » Closed (fixed)
Issue tags: -Table doesn't exist, -db_prefix, -ubercart followup, -uc_followup

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