Drupal - The installed URL Rewrite module version is not compatible.

crux19

Joined: 2003-11-04
Posts: 94
Posted: Wed, 2006-12-13 00:55

Hello,
I recently upgraded my Drupal 4.7 / Gallery2 Integration. I only upgrade the Gallery2 module because of a few errors I was getting with what seemed to be corrupt files. All works great again and I also upgraded the gallery.module. When doing the Autodetect settings, I get the following Advisory.

Embedded Gallery2 Status:
o 'URI of Gallery2' variable: Success
o PHP Memory Limit: Success
o Gallery2 Init: Success
o Gallery2 Image Block Module Status: Success
o Gallery2 Image Frame Module Status: Success
o Gallery2 URL Rewrite Module Status: Advisory
+ The installed URL Rewrite module version is not compatible.
o Overall Status: Success
* The configuration options have been saved.

Does this mean it is not compatible with Gallery core or with Drupal? The G2 plugins page shows:
URL Rewrite 1.1.9 1.1.9 Enables short URLs using Apache mod_rewrite, ISAPI Rewrite, or PathInfo

Thanks for your help.

Gallery version = 2.2-svn core 1.1.25
PHP version = 4.4.4 apache
Webserver = Apache
Database = mysql 4.1.21-standard-log, lock.system=flock
Toolkits = NetPBM, Exif, Thumbnail, Ffmpeg, ImageMagick, Gd, ArchiveUpload
Acceleration = partial/21600, partial/21600
Operating system = Linux baby.cirtexhosting.com 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8
Rows in GalleryAccessMap table = 276
Rows in GalleryAccessSubscriberMap table = 21872
Rows in GalleryUser table = 60
Rows in GalleryItem table = 21867
Rows in GalleryAlbumItem table = 407
Rows in GalleryCacheMap table = 10

*

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Wed, 2006-12-13 12:14

This seems to be a bug in the URL Rewrite module (RewriteApi.class isCompatibleWithApi function) where the test variables are reversed (required vs provided).

To temporarily fix it for your case I suggest that you edit G2EmbedTestUtilities.class line 242 and change $required = array(1, 0); to $required = array(1, 1);

 
crux19

Joined: 2003-11-04
Posts: 94
Posted: Wed, 2006-12-13 17:16

Great, thanks for your help. All come back with success now.