user warning: Table '*.*' doesn't exist

aliasghar - April 7, 2009 - 14:48
Project:Conference
Version:6.x-1.2-beta1
Component:Code
Category:bug report
Priority:critical
Assigned:zyxware
Status:needs review
Issue tags:prefix, table, user warning
Description

reason
it is not used prefixes in queries.

solution
open conference.module,
replace every line like:
SELECT decision FROM conference_decision
with:
SELECT decision FROM {conference_decision}

note:
i opened this, as a new issue to help people quickly fix unwanted warnings.
finally thanks the author.

#1

zyxware - June 15, 2009 - 11:31
Assigned to:Anonymous» zyxware
Status:active» needs review

This has been corrected in the latest release let us know in case of pit falls

Regards
Zyxware

#2

FiNeX - October 28, 2009 - 09:46

I think this bug can be safely closed: the code looks correct on the latest release.

Just a small, small, small fix would be to remove the extra spaces on line 1479:

1479c1479
<     $sql = "SELECT  count(*) FROM { conference } c, { node } n where c.pnid = n.nid and c.pvid = n.vid AND n.nid = %d";
---
>     $sql = "SELECT  count(*) FROM {conference} c, {node} n where c.pnid = n.nid and c.pvid = n.vid AND n.nid = %d";

Regards.

 
 

Drupal is a registered trademark of Dries Buytaert.