Pro Drupal v2: annotate module

biosv - June 2, 2009 - 17:27

This is regarding the annotate exemple in Ch 2 from Pro Drupal Dev 2nd edition book.

I downloaded the code from http://www.drupalbook.com/node/2 and copied the following annotate module example codes in /sites/all/modules/custom/annotate/.
annotate.admin.inc
annotate.info
annotate.install
annotate.module

Then, I enabled the Annotate module and tried to create a Page content. But the figure 2-2 does not appear on the page node http://localhost/node/add/page.
what might be wrong?

Mine is Drupal 6.9 running on XP.

Thanks.

[Edit]
Figure 2-2 now appears for Page documents, now db errors.
The following is the error message from http://localhost/admin/reports/dblog.

Table 'drupaltest.annotations' doesn't exist query: SELECT note FROM annotations WHERE nid = 19 AND uid = 1 in C:\xampp\htdocs\sites\all\modules\custom\annotate\annotate.module on line 54.

.

profjk - June 2, 2009 - 17:34

subscribing

it is working now

biosv - June 3, 2009 - 02:36

There seemed to be a problem on mysql database.
Now it is working. ;-)

same issue here with annotations

drupalize - June 21, 2009 - 13:51

installed but does not work. I am curious how you repaired your module or got it to work.. Rob

Hi biosv, what's your php memory limit

profjk - June 21, 2009 - 14:17

Hi biosv,
I am happy that it's working for you,
what's your php memory set to or default
Your answer will hep lot's of people.
Thanks.
JK

annotation module for drupal 5 works, but for 6 does not

drupalize - June 21, 2009 - 17:41

is there a fix for this?

subscribe

izmeez - June 21, 2009 - 17:48

subscribe

Errata

mjohnq3 - June 21, 2009 - 21:43

Have you checked the Errata for the 2nd edition (Drupal 6)? There seem to be quite a few corrections for the Chapter 2 code . Check here: http://www.drupalbook.com/errata2

yes I noted there are a few corrections

drupalize - June 22, 2009 - 03:13

I am not sure why the download does not have the functional code, it seems to me this would be more helpful.

 
 

Drupal is a registered trademark of Dries Buytaert.