Anyone know what might have caused this error ? Warning: simplexml_load_file() [function.simplexml-load-file]: /home/tbnweek/public_html/e-edition/includes/Zend/Locale/Data/en_US.xml:1: parser error : Document is empty in /home/tbnweek/public_html/e-edition/includes/Zend/Locale/Data.php on line 146
This was working earlier today but suddenly has decided to die. $locale = new Zend_Locale('en_US'); The code from data.php : if (empty(self::$_ldml[(string) $locale])) { $filename = dirname(__FILE__) . '/Data/' . $locale . '.xml'; if (!file_exists($filename)) { require_once 'Zend/Locale/Exception.php'; throw new Zend_Locale_Exception("Missing locale file '$filename' for '$locale' locale."); } self::$_ldml[(string) $locale] = simplexml_load_file($filename); } The file is not empty. <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE ldml SYSTEM "http://www.unicode.org/cldr/dtd/1.6/ldml.dtd"> <ldml> <identity> <version number="$Revision: 1.51 $"/> <generation date="$Date: 2008/05/28 15:49:30 $"/> <language type="en"/> <territory type="US"/> </identity> </ldml> Thanks, Terre