Using Geonames on Drupal 5.6 under PHP 4.4.2, I get the following:
Fatal error: Cannot instantiate non-existent class: simplexmlelement in /var/www/drupal/modules/geonames/geonames.module on line 415
simplexmlelement isn't supported under PHP 4. Does Geonames have a PHP 5 dependency?
Any workaround? Tough to get my host to upgrade.
Comments
Comment #1
2xe commentedI have used SimpleXML -- which doesn't exist in php4. Google came up with a backport: http://www.ister.org/code/simplexml44/index.html
You could give this a shot, but you should really get your host to upgrade -- there are many good reasons to do so...