https://bugzilla.wikimedia.org/show_bug.cgi?id=54872
Web browser: ---
Bug ID: 54872
Summary: MW_refreshData.php: no permission vor *.ogg
Product: MediaWiki extensions
Version: unspecified
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: critical
Priority: Unprioritized
Component: Semantic MediaWiki
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
MediaWiki 1.21.1
Semantic Bundle (Version 1.8.0.5) had the same Problem with Version 1.8.0.4
At Special:SMWAdmin I
1. initialized the tables
2. reorganiced the database
Then
php SMW_refreshData.php -v -tp
php SMW_refreshData.php -v -s 0 -e 1000
php SMW_refreshData.php -v -s 1001 -e 2000
php SMW_refreshData.php -v -s 2001 -e 3000
It stops running with the following messages:
(0) Processing ID 2520 ...
You need read permission to use this module
Backtrace:
#0 /var/www/koppwiki/includes/api/ApiBase.php(1404): ApiBase->dieUsage('You
need read p...', 'readapidenied')
#1 /var/www/koppwiki/includes/api/ApiMain.php(780):
ApiBase->dieUsageMsg('readrequired')
#2 /var/www/koppwiki/includes/api/ApiMain.php(833):
ApiMain->checkExecutePermissions(Object(ApiQuery))
#3 /var/www/koppwiki/includes/api/ApiMain.php(349): ApiMain->executeAction()
#4
/var/www/koppwiki/extensions/TimedMediaHandler/handlers/TextHandler/TextHandler.php(173):
ApiMain->execute()
#5
/var/www/koppwiki/extensions/TimedMediaHandler/handlers/TextHandler/TextHandler.php(63):
TextHandler->getLocalTextSources()
#6
/var/www/koppwiki/extensions/TimedMediaHandler/TimedMediaTransformOutput.php(236):
TextHandler->getTracks()
#7
/var/www/koppwiki/extensions/TimedMediaHandler/TimedMediaTransformOutput.php(126):
TimedMediaTransformOutput->getHtmlMediaTagOutput()
#8 /var/www/koppwiki/includes/ImageGallery.php(325):
TimedMediaTransformOutput->toHtml(Array)
#9 /var/www/koppwiki/includes/parser/Parser.php(5075): ImageGallery->toHTML()
#10 /var/www/koppwiki/includes/parser/CoreTagHooks.php(120):
Parser->renderImageGallery(':Datei:01intro....', Array)
#11 [internal function]: CoreTagHooks::gallery(':Datei:01intro....', Array,
Object(Parser), Object(PPFrame_DOM))
#12 /var/www/koppwiki/includes/parser/Parser.php(3916):
call_user_func_array(Array, Array)
#13 /var/www/koppwiki/includes/parser/Preprocessor_DOM.php(1144):
Parser->extensionSubstitution(Array, Object(PPFrame_DOM))
#14 /var/www/koppwiki/includes/parser/Parser.php(3073):
PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#15 /var/www/koppwiki/includes/parser/Parser.php(1153):
Parser->replaceVariables('{{Extension DPL...')
#16 /var/www/koppwiki/includes/parser/Parser.php(543):
Parser->internalParse('{{Extension DPL...', false, false)
#17 /var/www/koppwiki/extensions/DynamicPageList/DPLSetup.php(1333):
Parser->recursiveTagParse('{{Extension DPL...')
#18 /var/www/koppwiki/extensions/DynamicPageList/DPLSetup.php(1308):
ExtDynamicPageList::executeTag('? namespace = ...', Array, Object(Parser))
#19 [internal function]: ExtDynamicPageList::dplTag('? namespace = ...',
Array, Object(Parser), Object(PPFrame_DOM))
#20 /var/www/koppwiki/includes/parser/Parser.php(3916):
call_user_func_array(Array, Array)
#21 /var/www/koppwiki/includes/parser/Preprocessor_DOM.php(1144):
Parser->extensionSubstitution(Array, Object(PPFrame_DOM))
#22 /var/www/koppwiki/includes/parser/Parser.php(3073):
PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#23 /var/www/koppwiki/includes/parser/Parser.php(1153):
Parser->replaceVariables('{{DPL-Test |? ...')
#24 /var/www/koppwiki/includes/parser/Parser.php(383):
Parser->internalParse('{{DPL-Test |? ...')
#25
/var/www/koppwiki/extensions/SemanticMediaWiki/includes/jobs/SMW_UpdateJob.php(59):
Parser->parse('{{DPL-Test |? ...', Object(Title), Object(ParserOptions), true,
true, 24768)
#26
/var/www/koppwiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_SetupHandlers.php(454):
SMWUpdateJob->run()
#27
/var/www/koppwiki/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(404):
SMWSQLStore3SetupHandlers->refreshData(2520, 1, false, false)
#28
/var/www/koppwiki/extensions/SemanticMediaWiki/maintenance/SMW_refreshData.php(147):
SMWSQLStore3->refreshData(2520, 1, false, false)
#29 {main}
What I tried to find the problem:
==================================
I put a "print_r( $module );" into
/var/www/koppwiki/includes/api/ApiMain.php
and found in the result-array that the problem is a *.ogg-file I have uploaded.
The permissions are the same as with lots of *.jpgs I have uploaded. And I have
enabled *.ogg in the mediawiki-configfile.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l