Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Critical
-
Resolution: Won't Fix
-
Affects Version/s: 1.7
-
Fix Version/s: None
-
Component/s: Core CiviCRM
-
Labels:None
Description
Hi,
i installed CiviCRM 1.7.beta.9239 recently on my server which works with drupal 5.1 . The problem is when i try to activate google maps in civiCRM after entering google api key for my site and enabled it in one civiCRM profile. When i save data in one another profile where this google maps is not even enabled i get following error:
Fatal error: Call to undefined function: simplexml_load_string() in /home/thinkind/public_html/den/modules/civicrm/CRM/Utils/Geocode/Google.php on line 133
I guess this is coming because i am using php4.4 on my server where as simplexml_load_string() function exists in php5 onwards.
I found similar problem sometime back when i was creating my own mashup using yahoo apis, to solve this problem i used yahoo DOM parser for php4 given at http://developer.yahoo.com/php/samples/parse/parseDOMXML.txt .
You can use this code with statement like :
if(!function_exists('simplexml_load_file'))
--rafi