weblink SQL error in my error log.
Maybe I made a mistake with the weblink setup.
When I login I see;

Table 'gecko13.weblink' doesn't exist query: SELECT n.nid, n.tit
and the detail of the error is;

Table 'gecko13.weblink' doesn't exist query: SELECT n.nid, n.title, n.teaser, n.status, n.moderate, w.weblink, w.click FROM node n, weblink w, linkattach l WHERE n.nid = w.nid AND n.nid = l.lid AND l.nid = 3 AND n.type='weblink' AND n.status = 1 AND n.moderate = 0 ORDER BY n.title in /.../.../.../.../includes/database.mysql.inc on line 66.

now I checked my database and I have two weblink tables, weblinks and weblinks_node

Maybe I did something wrong.

both tables are empty since I have not activated the weblinks module yet.

Comments

Bèr Kessels’s picture

did you follow the upgrade instructions closely?

gecko13’s picture

which upgrade instructions are you speaking of?
I grabbed the module as well as a bunch of other modules and began installing them after I installed drupal.

the version I downloaded was more current thna the latest CVS at the time.

FH’s picture

Bonjour,
je pense que l'erreur vient du module "link attach"
essaie de le désactiver, il n'y aura plus ce message

metzlerd’s picture

I am also experiencing this problem. Has anyone noticed that the Select statement is referencing a table name called weblink (without an s), but that the code .mysql script creates a table called weblinks (with an s.) Which is correct here? Should the code be fixed or the SQL script?

Dave

metzlerd’s picture

I think I've determined that this issue is not in weblink, but in the Link Attatch module. Try disabling that module and see if thats true in your case.

Dave

hintbw’s picture

Title: weblink SQL error in my error log. » weblink SQL error in my error log. - See this node for a possible resolution

A possible solution for this error is found at:

http://drupal.org/node/34765

Bèr Kessels’s picture

Status: Active » Closed (won't fix)

weblinks is being replaced by links.