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

the 1.27.4 patch does not seem to be working as expected. #91

Open
Wildcarde opened this issue Oct 23, 2018 · 1 comment
Open

the 1.27.4 patch does not seem to be working as expected. #91

Wildcarde opened this issue Oct 23, 2018 · 1 comment

Comments

@Wildcarde
Copy link

You get the following error when attempting to apply the 1.27.4 patch:

A database query error has occurred.
Query: call `create_parent_pages`() 

Function: DatabaseBase::sourceFile( /opt/brody1274wiki/extensions/IntraACL/includes/../storage/intraacl-functions-mysql.sql )
Error: 1005 Can't create table 'brody127wiki.parent_pages' (errno: 150) (localhost)

Creating IntraACL 'Permission denied' page...PHP Fatal error:  Uncaught Error: Call to undefined method Message::getText() in /opt/brody1274wiki/includes/parser/Parser.php:3694
Stack trace:
#0 /opt/brody1274wiki/includes/parser/Preprocessor_DOM.php(1175): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#1 /opt/brody1274wiki/includes/parser/Parser.php(3402): PPFrame_DOM->expand(Object(DOMElement), 0)
#2 /opt/brody1274wiki/includes/parser/Parser.php(1261): Parser->replaceVariables('{{:MediaWiki:ha...')
#3 /opt/brody1274wiki/includes/parser/Parser.php(452): Parser->internalParse('{{:MediaWiki:ha...')
#4 /opt/brody1274wiki/includes/content/WikitextContent.php(331): Parser->parse('{{:MediaWiki:ha...', Object(Title), Object(ParserOptions), true, true, NULL)
#5 /opt/brody1274wiki/includes/content/AbstractContent.php(497): WikitextContent->fillParserOutput(Object(Title), NULL, Object(ParserOptions), true, Object(ParserOutput))
#6 /opt/brody1274wiki/includes/page/WikiPage.php(2110): AbstractContent->getParserOutput(Object(Title), NULL, Object(ParserOptions))
#7 /opt/brody12 in /opt/brody1274wiki/includes/parser/Parser.php on line 3694
@Wildcarde
Copy link
Author

Wildcarde commented Oct 24, 2018

I've managed to force this by updating the parser/Parser.php file to call text() instead of getText() at link 3694, the sql issue was resolved by adding engine=myisam to the end of the table create command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant