From: Lynette R. <el...@cs...> - 2008-07-21 03:57:37
|
It turned out to be very simple. Fedora Version got set to 2.1.1. It was supposed to be 2.2. Now that it is set appropriately, this problem is resolved. That it got messed up has to do with some testing I was doing before the upgrade. I wouldn't expect anyone else to experience this problem. L- ________________________________ From: fez...@li... [mailto:fez...@li...] On Behalf Of Lynette Rayle Sent: Sunday, July 20, 2008 11:36 PM To: fez...@li... Subject: [Fez-users] FezACML not read I just updated from Rev 1658 to Rev 1884. FezACML seems to be broken. I can confirm that a collection has Fez Groups set for several roles. Users of those groups are not able to view the collection. The following warnings appear at the top of the page that tries to display the collection. Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML <http://onramp.nsdlib.org/community/function.DOMDocument-loadXML> ]: Start tag expected, '<' not found in Entity, line: 1 in /var/www/html/onramp-fez-fedora22/include/class.record.php on line 819 NOTE: The line number in class.record.php may not match that of Rev 1884. I have some site specific changes in this file. This is function getACML() where $xmldoc->loadXML($xmlACML); is executed. Warning: DOMXPath::query() [function.DOMXPath-query <http://onramp.nsdlib.org/community/function.DOMXPath-query> ]: Invalid or inclomplete context in /var/www/html/onramp-fez-fedora22/include/class.auth.php on line 851 Warning: DOMXPath::query() [function.DOMXPath-query <http://onramp.nsdlib.org/community/function.DOMXPath-query> ]: Invalid or inclomplete context in /var/www/html/onramp-fez-fedora22/include/class.auth.php on line 914 Warning: Invalid argument supplied for foreach() in /var/www/html/onramp-fez-fedora22/include/class.auth.php on line 915 As Admin, I can view the collection. When I edit security for the collection, it appears that no security is set for any roles. But when I look at the FezACML datastream in the collection object, it does have Fez Groups set on the expected roles. Doing a dump at the location where the error occurred in Record::getACML(), I saw all sorts of weird characters. "CgoKCgogICAgICAgIDxGZXpBQ01MIHhtbG5..." for well over half a page of display. Trying the same dump on the production site showed the FezACML as readable XML, which is what I expected. Any idea what might be going on here? Attached is the FezACML for the collection. It looks good to me. Lynette |