Closed (fixed)
Project:
Glossify
Version:
6.x-3.0-beta2
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
17 Aug 2010 at 14:04 UTC
Updated:
29 Nov 2010 at 10:50 UTC
Glossify is creating links to unpublished nodes, so when normal users (not the admin) and search engines click on them, they get a "you are not authorized to view this..."
Comments
Comment #1
Ivo.Radulovski commentedplease test the new version!
We have rewritten the module!
Help us to make this module better!
Comment #2
federico commentedThanks for your reply.
I've tried to install 6.x-3.0-beta1 . I got this message when I tried to install it:
After that, I went to admin/settings/glossify and I got the usual admin/settings page, and also links were not created, so the module was not installed.
I checked also the watchdog. This messages arose:
Drupal version is: 6.19
Thanks,
Comment #3
Ivo.Radulovski commentedwill check this out as soon as possible
Comment #4
Ivo.Radulovski commentedshould be fine now - please test as soon beta2 is visible to you
Comment #5
emdalton commentedI just installed beta3 and I'm getting the same errors.
* user warning: Table 'gaeabooks.glossify' doesn't exist query: SELECT term, method FROM glossify WHERE nid = 126 ORDER BY term in /var/www/html/ga/gaeabooks.com/gb/sites/all/modules/glossify/glossify.module on line 407.
* user warning: Table 'gaeabooks.glossify' doesn't exist query: SELECT alternate FROM glossify WHERE nid = 126 in /var/www/html/ga/gaeabooks.com/gb/sites/all/modules/glossify/glossify.module on line 161.
* user warning: Table 'gaeabooks.glossify' doesn't exist query: SELECT gtid FROM glossify WHERE nid = 126 AND method = 'title' in /var/www/html/ga/gaeabooks.com/gb/sites/all/modules/glossify/glossify.module on line 226.
* user warning: Table 'gaeabooks.glossify' doesn't exist query: SELECT nid FROM glossify WHERE term = 'Hugo' AND language = '' in /var/www/html/ga/gaeabooks.com/gb/sites/all/modules/glossify/glossify.module on line 429.
* user warning: Table 'gaeabooks.glossify' doesn't exist query: INSERT INTO glossify (nid, term, language, method, alternate) VALUES (126, 'Hugo', '', 'title', '') in /var/www/html/ga/gaeabooks.com/gb/sites/all/modules/glossify/glossify.module on line 432.
* user warning: Table 'gaeabooks.glossify' doesn't exist query: SELECT g.term, g.nid, g.alternate, g.language FROM node n INNER JOIN glossify g ON g.nid = n.nid WHERE n.type IN ('wiki') AND g.nid != 0 AND g.method IN ('title') in /var/www/html/ga/gaeabooks.com/gb/sites/all/modules/glossify/glossify.module on line 564.
* user warning: Table 'gaeabooks.glossify' doesn't exist query: SELECT term, method FROM glossify WHERE nid = 126 ORDER BY term in /var/www/html/ga/gaeabooks.com/gb/sites/all/modules/glossify/glossify.module on line 407.
* user warning: Table 'gaeabooks.glossify' doesn't exist query: SELECT alternate FROM glossify WHERE nid = 126 in /var/www/html/ga/gaeabooks.com/gb/sites/all/modules/glossify/glossify.module on line 161.
* user warning: Table 'gaeabooks.glossify' doesn't exist query: SELECT g.term, g.nid, g.alternate, g.language FROM node n INNER JOIN glossify g ON g.nid = n.nid WHERE n.type IN ('wiki') AND g.nid != 0 AND g.method IN ('title') in /var/www/html/ga/gaeabooks.com/gb/sites/all/modules/glossify/glossify.module on line 564.
What is this table supposed to contain?
Comment #6
emdalton commentedI manually created the table:
create table glossify (gtid serial, nid int, term varchar(256), language varchar(12), method varchar(12), alternate varchar(256));
The errors went away, but I still don't get any links. I've enabled the filter, but I'm not seeing an indication of the filter in the Input Formats section on the node.
Has anyone else gotten this to work?
Comment #7
Beatle88 commentedHi,
I had the same problem with exactly the same error messages so I uninstalled both glossify and simplehtmldom, deleted them from the modules directory and then re-installed them. This got rid of the messages but now I have the same problem as above - no links are appearing (except when the 'use title of node' box is ticked and then only one word is linked to the site home page - whatever the home page is)... same Q as above, how do you make it work?
Comment #8
Ivo.Radulovski commentedOk, so i got around to inspect your error and i assume that you switched from an earlier version of glossify (which didn't use tables yet) to this new one. Therefor hook_install was not triggered which means no table was added to the database.