Hi,
installing the module on drupal 5.1, when I go on the "Node style" admin page I get this mysql error:

Table tablename doesn't exist query: SELECT s.name, s.sid, COUNT(m.sid) AS count FROM tablename s LEFT JOIN tablename m USING (sid) GROUP BY s.sid ORDER BY s.name in /path/to/includes/database.mysql.inc on line 172.

I've tried to add a scheme but without success. It is'nt displayed in the scheme's list and the error of before is always on the top of the page.

Thank you in advance for a possible fix.

Other infos:

Drupal version 5.1
PHP version 4.4.4
MySQL version 4.1.21

Comments

vm’s picture

The tablename should be node_style. in your error you have Tablename = tablename. Using the devel.module will help you re run the .install of the module.

duser’s picture

"Tablename" is simply a generic name. The real table is "node_style_maps".
Thanks for the answer.

Zen’s picture

Component: Miscellaneous » Code

Not sure. Is this an upgraded install?

If not, (or if you don't have any schemes / node associations), please considering uninstalling and reinstalling the module.

Please keep an eye out for any error messages.

Thanks,
-K

duser’s picture

This is a new install (Drupal 5.1 in a subdirectory of my webserver). I have tried to reinstall the module but I always get this error.

There is someone with the same problem?

Zen’s picture

Status: Active » Postponed (maintainer needs more info)

I just tried testing this again and the install script was executed fine.

Re:Uninstalling: In case you aren't aware of D5's uninstall procedure, you will need to first disable the module (uncheck it), then click on the uninstall tab at the top of the modules page and uninstall it from here. You should be able to reinstall it again from the modules page after this.

Please keep us posted.
Regards,
-K

Zen’s picture

Priority: Critical » Normal
Zen’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

No response.