Bug #52988
closedUncaught TYPO3 Exception when loading Language module
Added by Marcin Sągol about 11 years ago. Updated almost 10 years ago.
0%
Description
When trying to open Language module using the latest git version of 6.2 the following exception is thrown:
@Uncaught TYPO3 Exception
#1166546734: Package "filemetadata" is not available. Please check if the package exists and that the package key is correct (package keys are case sensitive). (More information)
TYPO3\Flow\Package\Exception\UnknownPackageException thrown in file
/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManager.php in line 197.@
The source files were upgraded on the project in developement phase, all DB tables are up to date.
Updated by Marcin Sągol about 11 years ago
The reason is that Advanced File Metadata extension (key: filemetadata) is not activated by default but is required by some modules.
Updated by Markus Klein about 11 years ago
- Category deleted (
Language Manager (backend)) - Status changed from New to Needs Feedback
- Target version deleted (
next-patchlevel)
Is this still a problem on current master?
Updated by Franz Holzinger almost 11 years ago
I have the same problem with the latest TYPO3 Core from Git.
The extension agency-0.0.6 is not needed and not installed and it has never been installed. The folder agency-0.0.6 just exists in the folder typo3conf/ext. I did search all files. 'agency-0.0.6' is not included from anywhere.
root@Server-Ubuntu-64 /home/agency/public_html # find . -name '*.*' -exec grep 'agency-0.0.6' {} \; -ls
This gives no result.
----------------------------------------------------
Uncaught TYPO3 Exception #1166546734: Package "agency-0.0.6" is not available. Please check if the package exists and that the package key is correct (package keys are case sensitive). (More information) TYPO3\Flow\Package\Exception\UnknownPackageException thrown in file /home/agency/public_html/typo3_src-master/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManager.php in line 197. 14 TYPO3\Flow\Package\PackageManager::getPackage("agency-0.0.6") /home/agency/public_html/typo3_src-master/typo3/sysext/core/Classes/Package/PackageManager.php: 00488: $packageKey = $this->packageAliasMap[$lowercasedPackageKey]; 00489: } 00490: return parent::getPackage($packageKey); 00491: } 00492: 13 TYPO3\CMS\Core\Package\PackageManager::getPackage("agency-0.0.6") /home/agency/public_html/typo3_src-master/typo3/sysext/core/Classes/Compatibility/LoadedExtensionsArray.php: 00076: public function offsetGet($offset) { 00077: // Pass it through the package manager, as it resolves package aliases 00078: $package = $this->packageManager->getPackage($offset); 00079: $packageKey = $package->getPackageKey(); 00080: if (!isset($this->loadedExtensionArrayElementCache[$packageKey])) { 12 TYPO3\CMS\Core\Compatibility\LoadedExtensionsArray::offsetGet("agency-0.0.6") /home/agency/public_html/typo3_src-master/typo3/sysext/lang/Classes/Domain/Repository/ExtensionRepository.php: 00102: */ 00103: protected function getExtensionIconWithPath($extensionEntry) { 00104: $extensionIcon = $GLOBALS['TYPO3_LOADED_EXT'][$extensionEntry['key']]['ext_icon']; 00105: if (empty($extensionIcon)) { 00106: $extensionIcon = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getExtensionIcon(PATH_site . $extensionEntry['siteRelPath'] . '/'); 11 TYPO3\CMS\Lang\Domain\Repository\ExtensionRepository::getExtensionIconWithPath(array) /home/agency/public_html/typo3_src-master/typo3/sysext/lang/Classes/Domain/Repository/ExtensionRepository.php: 00084: $entry['key'], 00085: $entry['title'], 00086: $this->getExtensionIconWithPath($entry) 00087: ); 00088: $extension->setVersionFromString($entry['version']); 10 TYPO3\CMS\Lang\Domain\Repository\ExtensionRepository::findAll() /home/agency/public_html/typo3_src-master/typo3/sysext/lang/Classes/Controller/LanguageController.php: 00091: 00092: if (empty($extensions)) { 00093: $extensions = $this->extensionRepository->findAll(); 00094: } 00095: 9 TYPO3\CMS\Lang\Controller\LanguageController::indexAction(NULL, NULL) 8 call_user_func_array(array, array) /home/agency/public_html/typo3_src-master/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php: 00298: if (!$validationResult->hasErrors()) { 00299: $this->signalSlotDispatcher->dispatch(__CLASS__, 'beforeCallActionMethod', array('controllerName' => get_class($this), 'actionMethodName' => $this->actionMethodName, 'preparedArguments' => $preparedArguments)); 00300: $actionResult = call_user_func_array(array($this, $this->actionMethodName), $preparedArguments); 00301: } else { 00302: $methodTagsValues = $this->reflectionService->getMethodTagsValues(get_class($this), $this->actionMethodName); 7 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::callActionMethod() /home/agency/public_html/typo3_src-master/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php: 00169: $this->initializeView($this->view); 00170: } 00171: $this->callActionMethod(); 00172: } 00173: 6 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::processRequest(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response) /home/agency/public_html/typo3_src-master/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php: 00081: $controller = $this->resolveController($request); 00082: try { 00083: $controller->processRequest($request, $response); 00084: } catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $ignoredException) { 00085: } 5 TYPO3\CMS\Extbase\Mvc\Dispatcher::dispatch(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response) /home/agency/public_html/typo3_src-master/typo3/sysext/extbase/Classes/Mvc/Web/BackendRequestHandler.php: 00045: /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */ 00046: $response = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Mvc\\Web\\Response'); 00047: $this->dispatcher->dispatch($request, $response); 00048: return $response; 00049: } 4 TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler::handleRequest() /home/agency/public_html/typo3_src-master/typo3/sysext/extbase/Classes/Core/Bootstrap.php: 00206: $requestHandler = $requestHandlerResolver->resolveRequestHandler(); 00207: 00208: $response = $requestHandler->handleRequest(); 00209: // If response is NULL after handling the request we need to stop 00210: // This happens for instance, when a USER object was converted to a USER_INT 3 TYPO3\CMS\Extbase\Core\Bootstrap::handleRequest() /home/agency/public_html/typo3_src-master/typo3/sysext/extbase/Classes/Core/Bootstrap.php: 00195: public function run($content, $configuration) { 00196: $this->initialize($configuration); 00197: return $this->handleRequest(); 00198: } 00199: 2 TYPO3\CMS\Extbase\Core\Bootstrap::run("", array) /home/agency/public_html/typo3_src-master/typo3/sysext/extbase/Classes/Core/ModuleRunner.php: 00079: 00080: $bootstrap = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Core\\BootstrapInterface'); 00081: $content = $bootstrap->run('', $configuration); 00082: print $content; 00083: 1 TYPO3\CMS\Extbase\Core\ModuleRunner::callModule("tools_LangLanguage") /home/agency/public_html/typo3_src-master/typo3/mod.php: 00045: foreach ($TBE_MODULES['_dispatcher'] as $dispatcherClassName) { 00046: $dispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager')->get($dispatcherClassName); 00047: if ($dispatcher->callModule($temp_M) === TRUE) { 00048: $isDispatched = TRUE; 00049: break;
Updated by Alexander Opitz over 10 years ago
- Status changed from Needs Feedback to New
Updated by Wouter Wolters almost 10 years ago
- Status changed from New to Needs Feedback
Hi,
does the problem still exists within newer versions of TYPO3 CMS (6.2.9)?
Updated by Marcin Sągol almost 10 years ago
Hi Wouter,
this issue is somehow fixed. I have no such problem with latest 6.2 versions. Please close it.
Updated by Fabien Udriot almost 10 years ago
- Status changed from Needs Feedback to Closed