Bug #67234
closedLoading Language Files fails when document root is an nfs share
0%
Description
When using TYPO3 over nfs TYPO3 loading any language file failes. ("The path provided does not point to existing and accessible well-formed XML file." #1278155988)
I found that this error occurs in TYPO3\CMS\Core\Localization\Parser::parseXmlFile() (btw. I think 'SimpleXmlElement' should be changed to 'SimpleXMLElement')
... $rootXmlNode = simplexml_load_file($this->sourcePath, 'SimpleXmlElement', \LIBXML_NOWARNING); if (!isset($rootXmlNode) || $rootXmlNode === FALSE) { throw new InvalidXmlFileException('The path provided does not point to existing and accessible well-formed XML file.', 1278155988); } ..
Changing it to:
... $rootXmlNode = simplexml_load_string(file_get_contents($this->sourcePath),'SimpleXmlElement', \LIBXML_NOWARNING); if (!isset($rootXmlNode) || $rootXmlNode === FALSE) { throw new InvalidXmlFileException('The path provided does not point to existing and accessible well-formed XML file.', 1278155988); } ...
fixes the issue.
I think this issue comes from php, but since it makes TYPO3 unusable, it should be changed.
I tried PHP 5.5.25 && 5.6.9 as cgi versions under apache 2.4.10 (Debian Jessie)
NFS-Server is the one shipped with OS X Yosemite 10.10.3
I'm using the newest TYPO3 7 Development Version installed with composer, but the occurred also with a new 6.2.x stable.
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39896
Updated by Alexander Opitz over 9 years ago
- Status changed from Under Review to Closed
Merged some days ago
Updated by Stephan Großberndt over 9 years ago
- Status changed from Closed to New
Updated by Benni Mack over 5 years ago
- Status changed from New to Closed
Yup. This one was fixed as proposed!