Closed (won't fix)
Project:
Schema
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2007 at 14:42 UTC
Updated:
25 Nov 2007 at 23:26 UTC
After enabling this with PHP 4.4.7, I get the fatal error:
Fatal error: Call to undefined function: array_intersect_key() in modules/schema/schema.module on line 274
checking the PHP docs:
http://www.php.net/manual/en/function.array-intersect-key.php
which states: PHP 5 >= 5.1.0.
Since Drupal 6 can have a PHP version requirements in the .info file, this should be added here to forestall this problem - attached patch does this and when tested with PHP 4.4.7 prevents module activation. This requirement should also noted on the project page.
| Comment | File | Size | Author |
|---|---|---|---|
| schema-info-php.patch | 474 bytes | pwolanin |
Comments
Comment #1
bjaspan commentedI fixed this by making schema.module work with PHP 4. See http://drupal.org/node/194984.