I installed this extension today. Whenever a search is done, or a special page is accessed, I receive this error: [96a4e972bfebcd93cd713a17] /index.php?search=stop&title=Special%3ASearch&go=Go MWException from line 105 of /var/www/html/includes/page/WikiPage.php: Invalid or virtual namespace -1 given. The initial number in the [] is always different, but the rest of the error message is the same. What can I do? Do you need any more information to help?
Topic on Extension talk:AccessControl
What is your setup? PHP, MediaWiki, AccessControl?
Yes, that is correct.
Yes, that is correct. Sorry for confusion. I came on at home and at work. Both 86.159.31.132 and 62.30.12.78 are me
Hi, and no worries. I was asking about the versions of the software mentioned.
Mediawiki 1.27.1 PHP 5.5.9-1ubuntu4.19 (apache2handler) Access Control 2.6
I fixed this one by editing "includes/page/WikiPage.php", in function factory. On line 120, replace : } elseif ( $ns < 0 ) {
By : } elseif ( $ns < -1 ) {
Same Problem Here.
fix by 109.190.122.47 is working, but is this not just fixing the symptoms?
MediaWiki | 1.28.0 |
PHP | 5.6.30 (apache2handler) |
MariaDB | 10.1.21-MariaDB |
AccessControl | 2.6(4c085e6) |