"This version is incompatible with the 6.0 version of Drupal core" for Pathauto

drdrup - February 16, 2008 - 05:10
Project:Pathauto
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Using Drupal 6.0, pathauto-6.x-1.x-dev (2008.02.15), module 'path' is enabled.
'update.php' was done w/o errors.

Still, drupal Modules page reports pathauto as:

"This version is incompatible with the 6.0 version of Drupal"

and I don't have the option to enable it.

What's wrong?

Thanks.

#1

greggles - February 16, 2008 - 09:20
Title:Message: "This version is incompatible with the 6.0 version of Drupal core" ?!!» "This version is incompatible with the 6.0 version of Drupal core" for Pathauto
Component:Miscellaneous» Code
Status:active» postponed (maintainer needs more info)

This usually means that the .info file is missing the core = 6.x line.

I tried using both a CVS checkout and a tarball downloaded from the project page but in both cases I was unable to repeat this bug. Are you sure that you are using the version of Pathauto that is labeled with 6.x-1.x? What does the "$Id:" line say in the pathauto.module?

Also, there are known problems with Pathauto under Drupal6. See the project homepage for more details.

#2

drdrup - February 17, 2008 - 00:45

Here is the content of pathauto.info

; $Id: pathauto.info,v 1.4 2007/10/28 21:06:13 greggles Exp $
name = Pathauto
description = Provides a mechanism for modules to automatically generate aliases for the content the
y manage.
dependencies[] = path
dependencies[] = token
core = 6.x

; Information added by drupal.org packaging script on 2008-02-15
version = "6.x-1.x-dev"
core = "6.x"
project = "pathauto"
datestamp = "1203077177"

Strange.

Thanks for your help.

#3

drdrup - February 20, 2008 - 08:09
Status:postponed (maintainer needs more info)» active

I am now trying the next update, but same problem.

The new pathauto.info is:

; $Id: pathauto.info,v 1.4 2007/10/28 21:06:13 greggles Exp $
name = Pathauto
description = Provides a mechanism for modules to automatically generate aliases for the content they manage.
dependencies[] = path
dependencies[] = token
core = 6.x

; Information added by drupal.org packaging script on 2008-02-20
version = "6.x-1.x-dev"
core = "6.x"
project = "pathauto"
datestamp = "1203466182"

Still:

This version is incompatible with the 6.0 version of Drupal core.

Nobody else see the same problem???

#4

drdrup - February 20, 2008 - 08:56

I found something:

I had "token" for drupal 5, disabled of course. The problem was/is that you have no opportunity to see that "pathauto" depends on "token" in such a case. You only see that "pathauto" is "This version is incompatible with the 6.0 version of Drupal core."

When I moved "token" outside of the modules directory, I was able to see the dependencies. So I got the new "token" for drupal 6, enabled it, and was able to enable "pathauto".

So, perhaps the inability to see missing/disabled modules is something specific to "pathauto", or a generic problem with drupal.

#5

greggles - February 20, 2008 - 10:34
Category:bug report» support request
Status:active» fixed

Aha - that explains it and explains why I didn't see the problem in my testing. I believe this is a problem with Drupal core and not something that can be fixed in Pathauto. Perhaps you could create an issue for the problem with core explaining how to get into the state where the problem shows up?

#6

drdrup - February 21, 2008 - 00:45

I did open an issue at #224643: Confusing message about incompatibility of a module

Thanks for your great work.

#7

Anonymous (not verified) - March 6, 2008 - 00:52
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.