|
#1: PHP Warning: fileperms(): stat failed for /var/www/t3_6.2/typo3conf/ext/powermail/ext_icon.gif in /var/www/typo3_src-6.2.3/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php line 1095 (More information)
|
|
|
|
TYPO3\CMS\Core\Error\Exception thrown in file
|
|
/var/www/typo3_src-6.2.3/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 111.
|
|
|
|
12 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "fileperms(): stat failed for /var/www/t3_6.2/typo3conf/ext/powermail/ext_icon.gif", "/var/www/typo3_src-6.2.3/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php", 1095, array)
|
|
|
|
11 fileperms("/var/www/t3_6.2/typo3conf/ext/powermail/ext_icon.gif")
|
|
/var/www/typo3_src-6.2.3/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php:
|
|
01093: public function getPermissions($identifier) {
|
|
01094: $path = $this->getAbsolutePath($identifier);
|
|
01095: $permissionBits = fileperms($path);
|
|
01096: if ($permissionBits === FALSE) {
|
|
01097: throw new \RuntimeException('Error while fetching permissions for ' . $path, 1319455097);
|
|
|
|
10 TYPO3\CMS\Core\Resource\Driver\LocalDriver::getPermissions("/typo3conf/ext/powermail/ext_icon.gif")
|
|
/var/www/typo3_src-6.2.3/typo3/sysext/core/Classes/Resource/ResourceStorage.php:
|
|
00597: // Check 5: "File permissions" of the driver (only when file isn't marked as missing)
|
|
00598: if (!$isMissing) {
|
|
00599: $filePermissions = $this->driver->getPermissions($file->getIdentifier());
|
|
00600: if ($isReadCheck && !$filePermissions['r']) {
|
|
00601: return FALSE;
|
|
|
|
9 TYPO3\CMS\Core\Resource\ResourceStorage::checkFileActionPermission("read", TYPO3\CMS\Core\Resource\File)
|
|
/var/www/typo3_src-6.2.3/typo3/sysext/core/Classes/Resource/ResourceStorage.php:
|
|
00753: */
|
|
00754: protected function assureFileReadPermission(FileInterface $file) {
|
|
00755: if (!$this->checkFileActionPermission('read', $file)) {
|
|
00756: throw new Exception\InsufficientFileAccessPermissionsException('You are not allowed to access that file.', 1375955429);
|
|
00757: }
|
|
|
|
8 TYPO3\CMS\Core\Resource\ResourceStorage::assureFileReadPermission(TYPO3\CMS\Core\Resource\File)
|
|
/var/www/typo3_src-6.2.3/typo3/sysext/core/Classes/Resource/ResourceStorage.php:
|
|
01423: */
|
|
01424: public function getFileContents($file) {
|
|
01425: $this->assureFileReadPermission($file);
|
|
01426: return $this->driver->getFileContents($file->getIdentifier());
|
|
01427: }
|
|
|
|
7 TYPO3\CMS\Core\Resource\ResourceStorage::getFileContents(TYPO3\CMS\Core\Resource\File)
|
|
/var/www/typo3_src-6.2.3/typo3/sysext/core/Classes/Resource/File.php:
|
|
00159: */
|
|
00160: public function getContents() {
|
|
00161: return $this->getStorage()->getFileContents($this);
|
|
00162: }
|
|
00163:
|
|
|
|
6 TYPO3\CMS\Core\Resource\File::getContents()
|
|
/var/www/typo3_src-6.2.3/typo3/sysext/impexp/Classes/ImportExport.php:
|
|
00959: }
|
|
00960: try {
|
|
00961: $fileContent = $file->getContents();
|
|
00962: } catch (\TYPO3\CMS\Core\Resource\Exception\InsufficientFileAccessPermissionsException $e) {
|
|
00963: $this->error('File ' . $file->getPublicUrl() . ': ' . $e->getMessage());
|
|
|
|
5 TYPO3\CMS\Impexp\ImportExport::export_addSysFile(TYPO3\CMS\Core\Resource\File)
|
|
/var/www/typo3_src-6.2.3/typo3/sysext/impexp/Classes/ImportExport.php:
|
|
00943: $recordData = $this->dat['records']['sys_file:' . $sysFileUid]['data'];
|
|
00944: $file = \TYPO3\CMS\Core\Resource\ResourceFactory::getInstance()->createFileObject($recordData);
|
|
00945: $this->export_addSysFile($file);
|
|
00946: }
|
|
00947: }
|
|
|
|
4 TYPO3\CMS\Impexp\ImportExport::export_addFilesFromSysFilesRecords()
|
|
/var/www/typo3_src-6.2.3/typo3/sysext/impexp/Classes/Controller/ImportExportController.php:
|
|
00340: $this->export->export_addFilesFromRelations();
|
|
00341:
|
|
00342: $this->export->export_addFilesFromSysFilesRecords();
|
|
00343:
|
|
00344: // If the download button is clicked, return file
|
|
|
|
3 TYPO3\CMS\Impexp\Controller\ImportExportController::exportData(array)
|
|
/var/www/typo3_src-6.2.3/typo3/sysext/impexp/Classes/Controller/ImportExportController.php:
|
|
00125: }
|
|
00126: // Call export interface
|
|
00127: $this->exportData($inData);
|
|
00128: break;
|
|
00129: case 'import':
|
|
|
|
2 TYPO3\CMS\Impexp\Controller\ImportExportController::main()
|
|
/var/www/typo3_src-6.2.3/typo3/sysext/impexp/app/index.php:
|
|
00062: $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Impexp\\Controller\\ImportExportController');
|
|
00063: $SOBE->init();
|
|
00064: $SOBE->main();
|
|
00065: $SOBE->printContent();
|
|
|
|
1 require("/var/www/typo3_src-6.2.3/typo3/sysext/impexp/app/index.php")
|
|
/var/www/typo3_src-6.2.3/typo3/mod.php:
|
|
00043: require $temp_path . 'conf.php';
|
|
00044: $BACK_PATH = '';
|
|
00045: require $temp_path . 'index.php';
|
|
00046: $isDispatched = TRUE;
|
|
00047: } else {
|