Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception from line 318 of [SITENAME]/includes/MagicWord.php: Error: invalid magic word 'listerrors' #336

Closed
Zidjinn opened this issue Jun 15, 2014 · 2 comments
Labels
bug Occurrence of an unintended or unanticipated behaviour that causes a vulnerability or fatal error

Comments

@Zidjinn
Copy link

Zidjinn commented Jun 15, 2014

see (similar to) #165

This time it is with MW 1.23.0

I install with Semantic MediaWiki 1.9.2 (+dependencies) (validator seem to be in the SMW extension) (idem, no shell access).

Before any Update script, it seem to be ok.

I run SMW\RefreshJob script
(it run with success)

Setting up standard database configuration for SMW ...

Selected storage engine is "SMWSQLStore3" (or an extension thereof)

Checking table mwi_smw_object_ids ...
Table not found, now creating...
... done.
Checking table mwi_smw_concept_cache ...
Table not found, now creating...
... done.
Checking table mwi_smw_prop_stats ...
Table not found, now creating...
... done.
Checking table mwi_smw_di_number ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_di_number ...
... creating new index s_id,p_id ...done.
... creating new index p_id,o_sortkey ...done.
... done.
Checking table mwi_smw_di_blob ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_di_blob ...
... creating new index s_id,p_id ...done.
... creating new index p_id,o_hash ...done.
... done.
Checking table mwi_smw_di_bool ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_di_bool ...
... creating new index s_id,p_id ...done.
... creating new index p_id,o_value ...done.
... done.
Checking table mwi_smw_di_uri ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_di_uri ...
... creating new index s_id,p_id ...done.
... creating new index p_id,o_serialized ...done.
... done.
Checking table mwi_smw_di_time ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_di_time ...
... creating new index s_id,p_id ...done.
... creating new index p_id,o_sortkey ...done.
... done.
Checking table mwi_smw_di_coords ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_di_coords ...
... creating new index s_id,p_id ...done.
... creating new index p_id,o_serialized ...done.
... creating new index o_lat,o_lon ...done.
... done.
Checking table mwi_smw_di_wikipage ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_di_wikipage ...
... creating new index s_id,p_id ...done.
... creating new index p_id,o_id ...done.
... creating new index o_id ...done.
... done.
Checking table mwi_smw_fpt_type ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_type ...
... creating new index s_id ...done.
... creating new index o_serialized ...done.
... done.
Checking table mwi_smw_fpt_unit ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_unit ...
... creating new index s_id ...done.
... creating new index o_hash ...done.
... done.
Checking table mwi_smw_fpt_conv ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_conv ...
... creating new index s_id ...done.
... creating new index o_hash ...done.
... done.
Checking table mwi_smw_fpt_pval ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_pval ...
... creating new index s_id ...done.
... creating new index o_hash ...done.
... done.
Checking table mwi_smw_fpt_list ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_list ...
... creating new index s_id ...done.
... creating new index o_hash ...done.
... done.
Checking table mwi_smw_fpt_serv ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_serv ...
... creating new index s_id ...done.
... creating new index o_hash ...done.
... done.
Checking table mwi_smw_fpt_ask ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_ask ...
... creating new index s_id ...done.
... creating new index o_id ...done.
... done.
Checking table mwi_smw_fpt_askde ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_askde ...
... creating new index s_id ...done.
... creating new index o_sortkey ...done.
... done.
Checking table mwi_smw_fpt_asksi ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_asksi ...
... creating new index s_id ...done.
... creating new index o_sortkey ...done.
... done.
Checking table mwi_smw_fpt_askfo ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_askfo ...
... creating new index s_id ...done.
... creating new index o_hash ...done.
... done.
Checking table mwi_smw_fpt_askst ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_askst ...
... creating new index s_id ...done.
... creating new index o_hash ...done.
... done.
Checking table mwi_smw_fpt_askdu ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_askdu ...
... creating new index s_id ...done.
... creating new index o_sortkey ...done.
... done.
Checking table mwi_smw_fpt_subp ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_subp ...
... creating new index s_id ...done.
... creating new index o_id ...done.
... done.
Checking table mwi_smw_fpt_subc ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_subc ...
... creating new index s_id ...done.
... creating new index o_id ...done.
... done.
Checking table mwi_smw_fpt_inst ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_inst ...
... creating new index s_id ...done.
... creating new index o_id ...done.
... done.
Checking table mwi_smw_fpt_redi ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_redi ...
... creating new index s_title,s_namespace ...done.
... creating new index o_id ...done.
... done.
Checking table mwi_smw_fpt_sobj ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_sobj ...
... creating new index s_id ...done.
... creating new index o_id ...done.
... done.
Checking table mwi_smw_fpt_impo ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_impo ...
... creating new index s_id ...done.
... creating new index o_hash ...done.
... done.
Checking table mwi_smw_fpt_uri ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_uri ...
... creating new index s_id ...done.
... creating new index o_serialized ...done.
... done.
Checking table mwi_smw_fpt_conc ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_conc ...
... creating new index s_id ...done.
... done.
Checking table mwi_smw_fpt_sf_df ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_sf_df ...
... creating new index s_id ...done.
... creating new index o_id ...done.
... done.
Checking table mwi_smw_fpt_sf_af ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_sf_af ...
... creating new index s_id ...done.
... creating new index o_id ...done.
... done.
Checking table mwi_smw_fpt_mdat ...
Table not found, now creating...
... done.
Checking index structures for table mwi_smw_fpt_mdat ...
... creating new index s_id ...done.
... creating new index o_sortkey ...done.
... done.
Database initialized successfully.

Setting up internal property indices ...
... allocating space for internal properties ...
.................................................. done.
... writing entries for internal properties ... done.
Internal properties initialized successfully.

I add Semantic Forms 2.7, idem, all Ok.

But, then I try an update script ( [SITENAME]/mw-config/ )

And i have this :

[86c78bae] /mw-config/?page=ExistingWiki Exception from line 318 of [SITENAME]/includes/MagicWord.php: Error: invalid magic word 'listerrors'

Backtrace:
#0 [SITENAME]/includes/MagicWord.php(241): MagicWord->load(string)
#1 [SITENAME]/includes/parser/Parser.php(4984): MagicWord::get(string)
#2 [SITENAME]/extensions/SemanticMediaWiki/extensions/Validator/src/legacy/ParserHook.php(208): Parser->setFunctionHook(string, array, integer)
#3 [SITENAME]/extensions/SemanticMediaWiki/extensions/Validator/src/legacy/ListErrors.php(37): ParserHook->init(Parser)
#4 [internal function]: ValidatorListErrors::staticInit(Parser)
#5 [SITENAME]/includes/Hooks.php(206): call_user_func_array(string, array)
#6 [SITENAME]/includes/GlobalFunctions.php(4004): Hooks::run(string, array, NULL)
#7 [SITENAME]/includes/parser/Parser.php(275): wfRunHooks(string, array)
#8 [SITENAME]/includes/parser/Parser.php(287): Parser->firstCallInit()
#9 [SITENAME]/includes/parser/Parser.php(4825): Parser->clearState()
#10 [SITENAME]/includes/parser/Parser.php(367): Parser->startParse(Title, ParserOptions, integer, boolean)
#11 [SITENAME]/includes/installer/Installer.php(605): Parser->parse(string, Title, ParserOptions, boolean)
#12 [SITENAME]/includes/installer/WebInstaller.php(681): Installer->parse(string, boolean)
#13 [SITENAME]/includes/installer/WebInstallerPage.php(391): WebInstaller->getInfoBox(string)
#14 [SITENAME]/includes/installer/WebInstallerPage.php(379): WebInstaller_ExistingWiki->showKeyForm()
#15 [SITENAME]/includes/installer/WebInstaller.php(283): WebInstaller_ExistingWiki->execute()
#16 [SITENAME]/mw-config/index.php(63): WebInstaller->execute(array)
#17 [SITENAME]/mw-config/index.php(31): wfInstallerMain()
#18 {main}

@JeroenDeDauw
Copy link
Member

I actually removed this thing just yesterday. First thought the bug was related to that, though that should not be the case, since that version has not been released yet.

@mwjames
Copy link
Contributor

mwjames commented Aug 10, 2014

Please try to update to SMW 2.0. If the problem still persists, please re-open the issue. See also #165.

Please run an update without additional extensions like SF etc. and verify that issue occurs only in connection with SMW.

@mwjames mwjames closed this as completed Aug 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Occurrence of an unintended or unanticipated behaviour that causes a vulnerability or fatal error
Projects
None yet
Development

No branches or pull requests

3 participants