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

Blank pages with fresh 1.27.1 and IntraACL #84

Open
benhinc opened this issue Jun 16, 2017 · 6 comments
Open

Blank pages with fresh 1.27.1 and IntraACL #84

benhinc opened this issue Jun 16, 2017 · 6 comments

Comments

@benhinc
Copy link

benhinc commented Jun 16, 2017

I've created a fresh install of MediaWiki 1.27.1 with a new database and a snapshot of IntraACL from today.

I used the patch for 1.27.1 and installed per the instructions. I have the following issues:

  • Blank pages when attempting to edit any page
  • An empty box on Special:IntraACL
  • Blank page when accessing the IntraACL editor (like when trying to create a definition)

Here's what I get when I view the source of each of these pages. What I've pasted below is all that shows up for these pages — obviously, something is critically wrong but I don't have any error messages to work off of.

Editing a page

<div id="hacl_toolbar">
 

Special:IntraACL

<div id="acl_list" style="border: 1px solid gray; width: 500px; height: 500px; padding: 5px; overflow-y: scroll; overflow: -moz-scrollbars-vertical; float: left"></div>

<div style="float: left; margin: 0 8px">
<p><b>

IntraACL Editor

<form action="/mediawiki-1.27.1/index.php?action=submit" method="POST">
<input type="hidden" name="wpEditToken" value="41a534b6bf4d023f0a1973c3bbee9ea4594428aa+\" />
<input type="hidden" name="wpEdittime" value="" />
<input type="hidden" name="wpStarttime" value="20170616185122" />
<input type="hidden" id="wpTitle" name="title" value="" />
<table class="acle">
<tr>
 <td style="vertical-align: top; width: 500px">
  <p><b>

I'll note that I've been running IntraACL with MediaWiki 1.26.4 for a while now. My goal is to upgrade to the 1.27 branch but having IntraACL working is a priority.

@benhinc
Copy link
Author

benhinc commented Jun 19, 2017

I've completed the exact same procedure using fresh installs of both 1.26.4 and 1.27.2.

  1. Install new MediaWiki
  2. Clone IntraACL
  3. Add lines to LocalSettings.php
  4. Patch MediaWiki with appropriate patch
  5. Update database

The process worked perfectly for 1.26.4.

image

For 1.27.2, I am still experiencing the same issues.

image

@benhinc
Copy link
Author

benhinc commented Jun 19, 2017

Here's the same happening with a fresh install of 1.27.1. Is it something wrong on my end? Something with the extension? The patch? How can I be the only one experiencing this?

image

@vitalif
Copy link
Member

vitalif commented Jun 27, 2017

Hi! Sorry for slow response.
There's probably a bug in IntraACL.
Can you please enable display_errors in your php.ini and try to open these pages again?

@benhinc
Copy link
Author

benhinc commented Jun 27, 2017

No problem.

On Special:IntraACL:
Fatal error: Call to undefined function wfMsg() in /var/www/html/mediawiki-1.27.2/extensions/IntraACL/templates/HACL_ACLList.tpl.php on line 4

When editing any page:
Fatal error: Call to undefined function wfMsg() in /var/www/html/mediawiki-1.27.2/extensions/IntraACL/templates/HACL_Toolbar.tpl.php on line 21

When accessing IntraACL editor:
Fatal error: Call to undefined function wfMsg() in /var/www/html/mediawiki-1.27.2/extensions/IntraACL/templates/HACL_ACLEditor.tpl.php on line 9

@xBytez
Copy link

xBytez commented Jul 11, 2017

Replacing all wfMsg() with wfMessage() solved these issues for me on 1.27.2.

@jorel83
Copy link

jorel83 commented Feb 27, 2018

Indeed all files in extensions/IntraACL/templates/ needs this update (as xBytez wrote above) for it to work with 1.27.2. I have not managed to get this plugin to work with 1.27.4 nor found a suitable replacement. Hanging on with 1.27.2 for a while and hope the developer will upgrade it for next major LTS at least.

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

4 participants