Posted by drdrup on February 16, 2008 at 5:10am
Jump to:
| Project: | Pathauto |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#1
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
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
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:
Nobody else see the same problem???
#4
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
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
I did open an issue at #224643: Confusing message about incompatibility of a module
Thanks for your great work.
#7
Automatically closed -- issue fixed for two weeks with no activity.