Actions
Bug #67234
closedLoading Language Files fails when document root is an nfs share
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2015-06-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:
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.
Actions