Drupal 4.6.3

After reading the post regarding the very useful improvements to the pathauto.module recently. I downloaded a fresh copy. Everything appears to be ok until I go into admin/settings then I receive this error.

Fatal error: Call to undefined function: node_get_types() in /home/user/modules/pathauto/pathauto_node.inc on line 62

do I need to clean/flush out something or change any other files?

thanks

Comments

Geary’s picture

Go to drupaldocs.org and search for node_get_types in HEAD and in 4.6. You will see what the problem is.

green monkey’s picture

Geary,
Thank you for the reply. I found reference in HEAD but not in 4.6. The reference is confusing to me.

But seeing this post at the top: 1.555 (checked in on 2005/11/25 at 10:11:59 by dries) I have to guess-a-mate that this error is caused by call differences between 4.6x and 4.7, since 4.7 is about to be released and perhaps the pathauto.module I have just downloaded should have been marked for 4.7 instead 4.6

close answer or am I way off track?

green monkey’s picture

I still have a copy of ver. 1.17 and will revert back to that, until I understand more. But it did seem to run faster... either that or I was having a good bandwidth night.

mikeryan’s picture

Status: Active » Closed (fixed)

You need to use the 4.6 version of pathauto with Drupal 4.6.3. CVS is now 4.7-compatible, which is incompatible with Drupal 4.6.*.

Geary’s picture

Sorry if my reply was a bit cryptic. I thought I'd point you to the API docs to find the answer...

I found reference in HEAD but not in 4.6.

And you did! :-) That was exactly what I was getting at: This version of pathauto is for HEAD only. You need to get the version that is tagged for 4.6 instead.