Topic on Project:Support desk

Language Extension Bundle is not working with 1.27.0

17
Pingopilot (talkcontribs)

I installed it as described (MediaWiki Language Extension Bundle#extensions in subdirectory) and get following errors (I did not try it 1.26.3):

after running the update.php (I tried it 3 times, same error):

MediaWiki 1.27.0-rc.0 Updater

Your composer.lock file is up to date with current dependencies!

[8a520918622b2ebe920dda28] [no req] MWException from line 612 of /volume1/web/MediaWiki/includes/db/Database.php: DatabaseBase::factory no viable database extension found for type 'mysql'

Backtrace:

#0 /volume1/web/MediaWiki/includes/db/loadbalancer/LoadBalancer.php(828): DatabaseBase::factory(string, array)

#1 /volume1/web/MediaWiki/includes/db/loadbalancer/LoadBalancer.php(681): LoadBalancer->reallyOpenConnection(array, boolean)

#2 /volume1/web/MediaWiki/includes/db/loadbalancer/LoadBalancer.php(561): LoadBalancer->openConnection(integer, boolean)

#3 /volume1/web/MediaWiki/includes/GlobalFunctions.php(3155): LoadBalancer->getConnection(integer, array, boolean)

#4 /volume1/web/MediaWiki/maintenance/Maintenance.php(1156): wfGetDB(integer, array, boolean)

#5 /volume1/web/MediaWiki/maintenance/update.php(152): Maintenance->getDB(integer)

#6 /volume1/web/MediaWiki/maintenance/doMaintenance.php(103): UpdateMediaWiki->execute()

#7 /volume1/web/MediaWiki/maintenance/update.php(224): require_once(string)

#8 {main}

when I then try to load my Wiki-Pages, I get following errors:

error_reporting(-1); ini_set('display_errors', 1); MediaWiki internal error.

Original exception: [c7f6fa4cea2419dd7eea0cd9] /MediaWiki/index.php?title=Spezial%3ABenutzer&username=&group=&creationSort=1&limit=50 DBQueryError from line 934 of /volume1/web/MediaWiki/includes/db/Database.php: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script

Query: SELECT rt_page FROM `revtag`,`page` WHERE (rt_page = page_id) AND (rt_revision = page_latest) AND rt_type IN ('tp:mark','tp:tag') GROUP BY rt_page 

Function: TranslatablePage::getTranslatablePages

Error: 1146 Table 'Luithlen_Wiki.revtag' doesn't exist (localhost)

Backtrace:

#0 /volume1/web/MediaWiki/includes/db/Database.php(901): DatabaseBase->reportQueryError(string, integer, string, string, boolean)

#1 /volume1/web/MediaWiki/includes/db/Database.php(1234): DatabaseBase->query(string, string)

#2 /volume1/web/MediaWiki/extensions/Translate/tag/TranslatablePage.php(867): DatabaseBase->select(array, string, array, string, array)

#3 /volume1/web/MediaWiki/extensions/Translate/tag/TranslatablePage.php(845): TranslatablePage::getTranslatablePages()

#4 /volume1/web/MediaWiki/extensions/Translate/tag/PageTranslationHooks.php(832): TranslatablePage::isSourcePage(Title)

#5 [internal function]: PageTranslationHooks::replaceSubtitle(string, SkinVector, OutputPage)

#6 /volume1/web/MediaWiki/includes/Hooks.php(195): call_user_func_array(string, array)

#7 /volume1/web/MediaWiki/includes/skins/Skin.php(658): Hooks::run(string, array)

#8 /volume1/web/MediaWiki/includes/skins/SkinTemplate.php(312): Skin->subPageSubtitle()

#9 /volume1/web/MediaWiki/includes/skins/SkinTemplate.php(246): SkinTemplate->prepareQuickTemplate(OutputPage)

#10 /volume1/web/MediaWiki/includes/OutputPage.php(2324): SkinTemplate->outputPage()

#11 /volume1/web/MediaWiki/includes/MediaWiki.php(753): OutputPage->output()

#12 /volume1/web/MediaWiki/includes/MediaWiki.php(519): MediaWiki->main()

#13 /volume1/web/MediaWiki/index.php(43): MediaWiki->run()

#14 {main}

Exception caught inside exception handler: [c7f6fa4cea2419dd7eea0cd9] /MediaWiki/index.php?title=Spezial%3ABenutzer&username=&group=&creationSort=1&limit=50 DBQueryError from line 934 of /volume1/web/MediaWiki/includes/db/Database.php: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script

Query: SELECT rt_page FROM `revtag`,`page` WHERE (rt_page = page_id) AND (rt_revision = page_latest) AND rt_type IN ('tp:mark','tp:tag') GROUP BY rt_page 

Function: TranslatablePage::getTranslatablePages

Error: 1146 Table 'Luithlen_Wiki.revtag' doesn't exist (localhost)

Backtrace:

#0 /volume1/web/MediaWiki/includes/db/Database.php(901): DatabaseBase->reportQueryError(string, integer, string, string, boolean)

#1 /volume1/web/MediaWiki/includes/db/Database.php(1234): DatabaseBase->query(string, string)

#2 /volume1/web/MediaWiki/extensions/Translate/tag/TranslatablePage.php(867): DatabaseBase->select(array, string, array, string, array)

#3 /volume1/web/MediaWiki/extensions/Translate/tag/TranslatablePage.php(845): TranslatablePage::getTranslatablePages()

#4 /volume1/web/MediaWiki/extensions/Translate/tag/PageTranslationHooks.php(832): TranslatablePage::isSourcePage(Title)

#5 [internal function]: PageTranslationHooks::replaceSubtitle(string, SkinVector, OutputPage)

#6 /volume1/web/MediaWiki/includes/Hooks.php(195): call_user_func_array(string, array)

#7 /volume1/web/MediaWiki/includes/skins/Skin.php(658): Hooks::run(string, array)

#8 /volume1/web/MediaWiki/includes/skins/SkinTemplate.php(312): Skin->subPageSubtitle()

#9 /volume1/web/MediaWiki/includes/skins/SkinTemplate.php(246): SkinTemplate->prepareQuickTemplate(OutputPage)

#10 /volume1/web/MediaWiki/includes/OutputPage.php(2324): SkinTemplate->outputPage()

#11 /volume1/web/MediaWiki/includes/exception/MWException.php(204): OutputPage->output()

#12 /volume1/web/MediaWiki/includes/exception/MWException.php(244): MWException->reportHTML()

#13 /volume1/web/MediaWiki/includes/exception/MWExceptionHandler.php(69): MWException->report()

#14 /volume1/web/MediaWiki/includes/exception/MWExceptionHandler.php(180): MWExceptionHandler::report(DBQueryError)

#15 /volume1/web/MediaWiki/includes/MediaWiki.php(528): MWExceptionHandler::handleException(DBQueryError)

#16 /volume1/web/MediaWiki/index.php(43): MediaWiki->run()

#17 {main}

my Loacalsettings.php:

error_reporting(-1);

ini_set('display_errors', 1);

<?php

# This file was automatically generated by the MediaWiki 1.23.13

# installer. If you make manual changes, please keep track in case you

# need to recreate them later.

#

# See includes/DefaultSettings.php for all configurable settings

# and their default values, but don't forget to make changes in _this_

# file, not there.

#

# Further documentation for configuration settings may be found at:

# https://www.mediawiki.org/wiki/Manual:Configuration_settings

# Protect against web entry

if ( !defined( 'MEDIAWIKI' ) ) {

exit;

}

## Uncomment this to disable output compression

# $wgDisableOutputCompression = true;

$wgSitename = "Luithlen Wiki";

$wgMetaNamespace = "Luithlen_Wiki";

## The URL base path to the directory containing the wiki;

## defaults for all runtime URL paths are based off of this.

## For more information on customizing the URLs

## (like /w/index.php/Page_title to /wiki/Page_title) please see:

## https://www.mediawiki.org/wiki/Manual:Short_URL

$wgScriptPath = "/MediaWiki";

$wgScriptExtension = ".php";

## The protocol and server name to use in fully-qualified URLs

$wgServer = "https://xyz.org";

## The relative URL path to the skins directory

$wgStylePath = "$wgScriptPath/skins";

## The relative URL path to the logo. Make sure you change this from the default,

## or else you'll overwrite your logo when you upgrade!

$wgLogo = "{$wgScriptPath}/LuithlenEltern.jpg";

## UPO means: this is also a user preference option

$wgEnableEmail = true;

$wgEnableUserEmail = true; # UPO

$wgEmergencyContact = "xyz@gmx.de";

$wgPasswordSender = "xyz@gmx.de";

$wgEnotifUserTalk = true; # UPO

$wgEnotifWatchlist = false; # UPO

$wgEmailAuthentication = true;

## Database settings

$wgDBtype = "mysql";

$wgDBserver = "localhost";

$wgDBname = "Luithlen_Wiki";

$wgDBuser = "Ingo";

$wgDBpassword = "xyz";

# MySQL specific settings

$wgDBprefix = "";

# MySQL table options to use during installation or update

$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=utf8";

# Experimental charset support for MySQL 5.0.

$wgDBmysql5 = false;

## Shared memory settings

$wgMainCacheType = CACHE_NONE;

$wgMemCachedServers = array();

## To enable image uploads, make sure the 'images' directory

## is writable, then set this to true:

$wgEnableUploads = true;

#$wgUseImageMagick = true;

#$wgImageMagickConvertCommand = "/usr/bin/convert";

# InstantCommons allows wiki to use images from http://commons.wikimedia.org

$wgUseInstantCommons = false;

## If you use ImageMagick (or any other shell command) on a

## Linux server, this will need to be set to the name of an

## available UTF-8 locale

$wgShellLocale = "en_US.utf8";

## If you want to use image uploads under safe mode,

## create the directories images/archive, images/thumb and

## images/temp, and make them all writable. Then uncomment

## this, if it's not already uncommented:

#$wgHashedUploadDirectory = false;

## Set $wgCacheDirectory to a writable directory on the web server

## to make your wiki go slightly faster. The directory should not

## be publically accessible from the web.

#$wgCacheDirectory = "$IP/cache";

# Site language code, should be one of the list in ./languages/Names.php

$wgLanguageCode = "de";

$wgSecretKey = "xyz";

# Site upgrade key. Must be set to a string (default provided) to turn on the

# web installer while LocalSettings.php is in place

$wgUpgradeKey = "xyz";

## Default skin: you can change the default skin. Use the internal symbolic

## names, ie 'cologneblue', 'monobook', 'vector':

$wgDefaultSkin = "vector";

## For attaching licensing metadata to pages, and displaying an

## appropriate copyright notice / icon. GNU Free Documentation

## License and Creative Commons licenses are supported so far.

$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright

$wgRightsUrl = "";

$wgRightsText = "";

$wgRightsIcon = "";

# Path to the GNU diff3 utility. Used for conflict resolution.

$wgDiff3 = "";

# The following permissions were set based on your choice in the installer

$wgGroupPermissions['*']['createaccount'] = true;

$wgGroupPermissions['*']['edit'] = false;

$wgGroupPermissions['*']['read'] = false;

## $wgGroupPermissions['sysop']['createaccount'] = true;

$wgGroupPermissions['user' ]['edit'] = true;

$wgGroupPermissions['user' ]['read'] = true;

$wgWhitelistRead = array ("Spezial:Userlogin");

# Enabled Extensions. Most extensions are enabled by including the base extension file here

# but check specific extension documentation for more details

# The following extensions were automatically enabled:

wfLoadSkin( 'Vector' );

wfLoadSkin( 'MonoBook' );

wfLoadSkin( 'Modern' );

wfLoadSkin( 'CologneBlue' );

wfLoadExtension( 'Cite' );

## wfLoadExtension( 'ConfirmAccount' );

## wfLoadExtension( 'ConfirmEdit' );

wfLoadExtension( 'ImageMap' );

wfLoadExtension( 'InputBox' );

## wfLoadExtension( 'Interwiki' );

## wfLoadExtension( 'PdfHandler' );

## wfLoadExtension( 'Renameuser' );

## wfLoadExtension( 'TitleBlacklist' );

##require_once "$IP/extensions/ConfirmAccount/ConfirmAccount.php";

require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php";

require_once "$IP/extensions/Interwiki/Interwiki.php";

require_once "$IP/extensions/PdfHandler/PdfHandler.php";

require_once "$IP/extensions/Renameuser/Renameuser.php";

require_once "$IP/extensions/TitleBlacklist/TitleBlacklist.php";

#require_once "$IP/extensions/UniversalLanguageSelector/UniversalLanguageSelector.php";

wfLoadExtension( 'Babel' );

wfLoadExtension( 'cldr' );

wfLoadExtension( 'CleanChanges' );

$wgCCTrailerFilter = true;

$wgCCUserFilter = false;

$wgDefaultUserOptions['usenewrc'] = 1;

wfLoadExtension( 'LocalisationUpdate' );

$wgLocalisationUpdateDirectory = "$IP/cache";

require_once "$IP/extensions/Translate/Translate.php";

$wgGroupPermissions['user']['translate'] = true;

$wgGroupPermissions['user']['translate-messagereview'] = true;

$wgGroupPermissions['user']['translate-groupreview'] = true;

$wgGroupPermissions['user']['translate-import'] = true;

$wgGroupPermissions['sysop']['pagetranslation'] = true;

$wgGroupPermissions['sysop']['translate-manage'] = true;

$wgTranslateDocumentationLanguageCode = 'qqq';

$wgExtraLanguageNames['qqq'] = 'Message documentation'; # No linguistic content. Used for documenting messages

wfLoadExtension( 'UniversalLanguageSelector' );

$wgShowExceptionDetails = true;

# End of automatically generated settings.

# Add more configuration options below.

Thanks for help!

87.123.46.29 (talkcontribs)

The error "DatabaseBase::factory no viable database extension found for type 'mysql'" happens, because you have selected MySQL as database, but obviously MySQL is not available in your environment. This happens when PHP does not feature MySQL support. Make sure to activate MySQL support in PHP; I guess it is installing a PHP module (e.g. called "php5-mysql") and restarting the server or compiling PHP again with the module.

87.123.46.29 (talkcontribs)

Accessing your webserver with a browser and with a shell are two different things. When you access your webserver with a browser, you can see one PHP version, while on the shell you see another one.

Ciencia Al Poder (talkcontribs)

Not necessarily a different php version, but a different php.ini configuration file. Your server has probably 2 php.ini files, one for webserver and other for command line, and the command line one may not have the mysql extension enabled on it.

Pingopilot (talkcontribs)

MySQL support should be available, because it's working for my Wiki and my TNG Server.

What makes it difficult: all is running on a Synology NAS Server with following packages installed:

MariaDB

MediaWiki

PHP 5.6

phpMyAdmin

How can I adjust the command line php.ini file? Where to find this file?

Other Workaround: That means I have to launch update.php via the direct http://...adress? (just add the directory,...)

Ciencia Al Poder (talkcontribs)

Use php --ini from the command line to see where php,ini is located.

84.169.158.113 (talkcontribs)

and then, how to enable there the mysql extension? Thanks

87.123.57.159 (talkcontribs)
extension=mysqli.so
extension=mysql.so

These lines in php.ini should activate the mysql and mysqli extensions.

Pingopilot (talkcontribs)

OK. I did this:

php --ini

Configuration File (php.ini) Path: /etc/php

Loaded Configuration File:         /etc/php/php.ini

Scan for additional .ini files in: (none)

Additional .ini files parsed:      (none)

The strange thing is, that my folder /etc/ is empty. There is no php.ini in the folder php.

I then created php.ini and put your 2 lines in. Not a big change:

php -f update.php

MediaWiki 1.26.3 Updater (I changed back from 1.27 to 1.26.3)

Your composer.lock file is up to date with current dependencies!

[447f3bce] [no req]   MWException from line 747 of /volume1/web/MediaWiki/includes/db/Database.php: DatabaseBase::factory no viable database extension found for type 'mysql'

Backtrace:

#0 /volume1/web/MediaWiki/includes/db/LoadBalancer.php(798): DatabaseBase::factory(string, array)

#1 /volume1/web/MediaWiki/includes/db/LoadBalancer.php(654): LoadBalancer->reallyOpenConnection(array, boolean)

#2 /volume1/web/MediaWiki/includes/db/LoadBalancer.php(535): LoadBalancer->openConnection(integer, boolean)

#3 /volume1/web/MediaWiki/includes/GlobalFunctions.php(3639): LoadBalancer->getConnection(integer, array, boolean)

#4 /volume1/web/MediaWiki/maintenance/update.php(142): wfGetDB(integer)

#5 /volume1/web/MediaWiki/maintenance/doMaintenance.php(103): UpdateMediaWiki->execute()

#6 /volume1/web/MediaWiki/maintenance/update.php(214): require_once(string)

#7 {main}

Another hint: MediaWiki is running on my NAS Synology Server here with following packages installed: MariaDB 5.5.49-0065, MediaWiki 1.26.2-0110, PHP5.6 5.6.21-0026, phpMyAdmin 4.6.2.-0165

How to get the update.php running without faults? Thanks

Ciencia Al Poder (talkcontribs)

> How to get the update.php running without faults?

The response is: Get your php detect the mysqli php extension

running php -i should give you information about PHP including loaded extensions. Check if your php.ini changes are displayed there.

Pingopilot (talkcontribs)

Ok. I copied again the folder php in the folder etc with the php.ini with your 2 lines.

Here is the result of php -i :

phpinfo()

PHP Version => 5.6.11

System => Linux DiskStationNeu 3.10.77 #7393 SMP Thu Jun 2 19:50:06 CST 2016 x86_64

Build Date => Jun  2 2016 02:42:52

Server API => Command Line Interface

Virtual Directory Support => disabled

Configuration File (php.ini) Path => /etc/php

Loaded Configuration File => /etc/php/php.ini

Scan this dir for additional .ini files => (none)

Additional .ini files parsed => (none)

PHP API => 20131106

PHP Extension => 20131226

Zend Extension => 220131226

Zend Extension Build => API220131226,NTS

PHP Extension Build => API20131226,NTS

Debug Build => no

Thread Safety => disabled

Zend Signal Handling => disabled

Zend Memory Manager => enabled

Zend Multibyte Support => provided by mbstring

IPv6 Support => enabled

DTrace Support => disabled

Registered PHP Streams => compress.zlib, php, file, glob, data, http, ftp, compress.bzip2, https, ftps, phar, zip

Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, tls, tlsv1.0, tlsv1.1, tlsv1.2

Registered Stream Filters => zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, bzip2.*, convert.iconv.*, mcrypt.*, mdecrypt.*

This program makes use of the Zend Scripting Language Engine:

Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

_______________________________________________________________________

Configuration

bcmath

BCMath support => enabled

Directive => Local Value => Master Value

bcmath.scale => 0 => 0

bz2

BZip2 Support => Enabled

Stream Wrapper support => compress.bzip2://

Stream Filter support => bzip2.decompress, bzip2.compress

BZip2 Version => 1.0.6, 6-Sept-2010

Core

PHP Version => 5.6.11

Directive => Local Value => Master Value

allow_url_fopen => On => On

allow_url_include => Off => Off

always_populate_raw_post_data => 0 => 0

arg_separator.input => & => &

arg_separator.output => & => &

asp_tags => Off => Off

auto_append_file => no value => no value

auto_globals_jit => On => On

auto_prepend_file => no value => no value

browscap => no value => no value

default_charset => UTF-8 => UTF-8

default_mimetype => text/html => text/html

disable_classes => no value => no value

disable_functions => no value => no value

display_errors => STDOUT => STDOUT

display_startup_errors => Off => Off

doc_root => no value => no value

docref_ext => no value => no value

docref_root => no value => no value

enable_dl => Off => Off

enable_post_data_reading => On => On

error_append_string => no value => no value

error_log => no value => no value

error_prepend_string => no value => no value

error_reporting => 22519 => 22519

exit_on_timeout => Off => Off

expose_php => Off => Off

extension_dir => /usr/lib/php/modules => /usr/lib/php/modules

file_uploads => On => On

highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>

highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>

highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>

highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>

highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>

html_errors => Off => Off

ignore_repeated_errors => Off => Off

ignore_repeated_source => Off => Off

ignore_user_abort => Off => Off

implicit_flush => On => On

include_path => . => .

input_encoding => no value => no value

internal_encoding => no value => no value

log_errors => On => On

log_errors_max_len => 1024 => 1024

mail.add_x_header => On => On

mail.force_extra_parameters => no value => no value

mail.log => no value => no value

max_execution_time => 0 => 0

max_file_uploads => 20 => 20

max_input_nesting_level => 64 => 64

max_input_time => -1 => -1

max_input_vars => 1000 => 1000

memory_limit => 128M => 128M

open_basedir => no value => no value

output_buffering => 0 => 0

output_encoding => no value => no value

output_handler => no value => no value

post_max_size => 32M => 32M

precision => 14 => 14

realpath_cache_size => 16K => 16K

realpath_cache_ttl => 120 => 120

register_argc_argv => On => On

report_memleaks => On => On

report_zend_debug => Off => Off

request_order => GP => GP

sendmail_from => no value => no value

sendmail_path => /usr/bin/ssmtp -t => /usr/bin/ssmtp -t

serialize_precision => 17 => 17

short_open_tag => On => On

SMTP => localhost => localhost

smtp_port => 25 => 25

sql.safe_mode => Off => Off

sys_temp_dir => /var/services/tmp => /var/services/tmp

track_errors => Off => Off

unserialize_callback_func => no value => no value

upload_max_filesize => 32M => 32M

upload_tmp_dir => /var/services/tmp => /var/services/tmp

user_dir => no value => no value

user_ini.cache_ttl => 300 => 300

user_ini.filename => .user.ini => .user.ini

variables_order => GPCS => GPCS

xmlrpc_error_number => 0 => 0

xmlrpc_errors => Off => Off

zend.detect_unicode => On => On

zend.enable_gc => On => On

zend.multibyte => Off => Off

zend.script_encoding => no value => no value

ctype

ctype functions => enabled

curl

cURL support => enabled

cURL Information => 7.47.0

Age => 3

Features

AsynchDNS => Yes

CharConv => No

Debug => No

GSS-Negotiate => No

IDN => No

IPv6 => Yes

krb4 => No

Largefile => Yes

libz => Yes

NTLM => Yes

NTLMWB => Yes

SPNEGO => No

SSL => Yes

SSPI => No

TLS-SRP => Yes

Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp

Host => x86_64-pc-linux-gnu

SSL Version => OpenSSL/1.0.2h

ZLib Version => 1.2.8

libSSH Version => libssh2/1.7.0

date

date/time support => enabled

"Olson" Timezone Database Version => 2015.5

Timezone Database => internal

Default timezone => Asia/Taipei

Directive => Local Value => Master Value

date.default_latitude => 31.7667 => 31.7667

date.default_longitude => 35.2333 => 35.2333

date.sunrise_zenith => 90.583333 => 90.583333

date.sunset_zenith => 90.583333 => 90.583333

date.timezone => Asia/Taipei => Asia/Taipei

dom

DOM/XML => enabled

DOM/XML API Version => 20031129

libxml Version => 2.9.3

HTML Support => enabled

XPath Support => enabled

XPointer Support => enabled

Schema Support => enabled

RelaxNG Support => enabled

ereg

Regex Library => Bundled library enabled

filter

Input Validation and Filtering => enabled

Revision => $Id: 86120bba568c551914a35636ec408f1e7e66af32 $

Directive => Local Value => Master Value

filter.default => unsafe_raw => unsafe_raw

filter.default_flags => no value => no value

hash

hash support => enabled

Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b fnv132 fnv1a32 fnv164 fnv1a64 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

iconv

iconv support => enabled

iconv implementation => glibc

iconv library version => 2.20-2014.11

Directive => Local Value => Master Value

iconv.input_encoding => no value => no value

iconv.internal_encoding => no value => no value

iconv.output_encoding => no value => no value

json

json support => enabled

json version => 1.2.1

ldap

LDAP Support => enabled

RCS Version => $Id: 5c6c481bc55a93b22096c086cfc1286798340b3d $

Total Links => 0/unlimited

API Version => 3001

Vendor Name => OpenLDAP

Vendor Version => 20440

SASL Support => Enabled

Directive => Local Value => Master Value

ldap.max_links => Unlimited => Unlimited

libxml

libXML support => active

libXML Compiled Version => 2.9.3

libXML Loaded Version => 20903-GITCMS-1.0-0270-140422-21-gdbc829f

libXML streams => enabled

mbstring

Multibyte Support => enabled

Multibyte string engine => libmbfl

HTTP input encoding translation => disabled

libmbfl version => 1.3.2

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Multibyte (japanese) regex support => enabled

Multibyte regex (oniguruma) backtrack check => On

Multibyte regex (oniguruma) version => 5.9.5

Directive => Local Value => Master Value

mbstring.detect_order => no value => no value

mbstring.encoding_translation => Off => Off

mbstring.func_overload => 0 => 0

mbstring.http_input => no value => no value

mbstring.http_output => no value => no value

mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml\+xml) => ^(text/|application/xhtml\+xml)

mbstring.internal_encoding => no value => no value

mbstring.language => neutral => neutral

mbstring.strict_detection => Off => Off

mbstring.substitute_character => no value => no value

mcrypt

mcrypt support => enabled

mcrypt_filter support => enabled

Version => 2.5.8

Api No => 20021217

Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes

Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream

Directive => Local Value => Master Value

mcrypt.algorithms_dir => no value => no value

mcrypt.modes_dir => no value => no value

openssl

OpenSSL support => enabled

OpenSSL Library Version => OpenSSL 1.0.2h-fips  3 May 2016

OpenSSL Header Version => OpenSSL 1.0.2h-fips  3 May 2016

Directive => Local Value => Master Value

openssl.cafile => no value => no value

openssl.capath => no value => no value

pcntl

pcntl support => enabled

pcre

PCRE (Perl Compatible Regular Expressions) Support => enabled

PCRE Library Version => 8.37 2015-04-28

Directive => Local Value => Master Value

pcre.backtrack_limit => 1000000 => 1000000

pcre.recursion_limit => 100000 => 100000

PDO

PDO support => enabled

PDO drivers => sqlite

pdo_sqlite

PDO Driver for SQLite 3.x => enabled

SQLite Library => 3.10.2

Phar

Phar: PHP Archive support => enabled

Phar EXT version => 2.0.2

Phar API version => 1.1.1

SVN revision => $Id: b0b14b0c2fb9071b12aeda7f02eb2152daae580d $

Phar-based phar archives => enabled

Tar-based phar archives => enabled

ZIP-based phar archives => enabled

gzip compression => enabled

bzip2 compression => enabled

OpenSSL support => enabled

Phar based on pear/PHP_Archive, original concept by Davey Shafik.

Phar fully realized by Gregory Beaver and Marcus Boerger.

Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.

Directive => Local Value => Master Value

phar.cache_list => no value => no value

phar.readonly => Off => Off

phar.require_hash => On => On

posix

Revision => $Id: 5d20de77687b7d961b15450873fa23b9e64a136a $

readline

Readline Support => enabled

Readline library => 6.3

Directive => Local Value => Master Value

cli.pager => no value => no value

cli.prompt => \b \>  => \b \>

Reflection

Reflection => enabled

Version => $Id: eff8bdc65b0beaf8f4ade6f06f848e6d43dfd826 $

session

Session Support => enabled

Registered save handlers => files user

Registered serializer handlers => php_serialize php php_binary

Directive => Local Value => Master Value

session.auto_start => Off => Off

session.cache_expire => 180 => 180

session.cache_limiter => nocache => nocache

session.cookie_domain => no value => no value

session.cookie_httponly => Off => Off

session.cookie_lifetime => 0 => 0

session.cookie_path => / => /

session.cookie_secure => Off => Off

session.entropy_file => /dev/urandom => /dev/urandom

session.entropy_length => 0 => 0

session.gc_divisor => 1000 => 1000

session.gc_maxlifetime => 1440 => 1440

session.gc_probability => 1 => 1

session.hash_bits_per_character => 5 => 5

session.hash_function => 0 => 0

session.name => PHPSESSID => PHPSESSID

session.referer_check => no value => no value

session.save_handler => files => files

session.save_path => /var/services/tmp => /var/services/tmp

session.serialize_handler => php => php

session.upload_progress.cleanup => On => On

session.upload_progress.enabled => On => On

session.upload_progress.freq => 1% => 1%

session.upload_progress.min_freq => 1 => 1

session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPLOAD_PROGRESS

session.upload_progress.prefix => upload_progress_ => upload_progress_

session.use_cookies => On => On

session.use_only_cookies => Off => Off

session.use_strict_mode => Off => Off

session.use_trans_sid => 0 => 0

shmop

shmop support => enabled

SimpleXML

Simplexml support => enabled

Revision => $Id: 6b8e23a01a85046737ef7d31346da5164505c179 $

Schema support => enabled

sockets

Sockets Support => enabled

SPL

SPL support => enabled

Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject

Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

sqlite3

SQLite3 support => enabled

SQLite3 module version => 0.7-dev

SQLite Library => 3.10.2

Directive => Local Value => Master Value

sqlite3.extension_dir => no value => no value

standard

Dynamic Library Support => enabled

Path to sendmail => /usr/bin/ssmtp -t

Directive => Local Value => Master Value

assert.active => 1 => 1

assert.bail => 0 => 0

assert.callback => no value => no value

assert.quiet_eval => 0 => 0

assert.warning => 1 => 1

auto_detect_line_endings => 0 => 0

default_socket_timeout => 60 => 60

from => no value => no value

url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry => a=href,area=href,frame=src,input=src,form=fakeentry

user_agent => no value => no value

syno_compiler

syno_compiler support => enabled

xml

XML Support => active

XML Namespace Support => active

libxml2 Version => 2.9.3

xmlreader

XMLReader => enabled

xmlwriter

XMLWriter => enabled

zip

Zip => enabled

Extension Version => $Id: f9f12af1274212b9f22867472e4aa57eab4bb4cf $

Zip version => 1.12.5

Libzip version => 0.11.2

zlib

ZLib Support => enabled

Stream Wrapper => compress.zlib://

Stream Filter => zlib.inflate, zlib.deflate

Compiled Version => 1.2.8

Linked Version => 1.2.8

Directive => Local Value => Master Value

zlib.output_compression => Off => Off

zlib.output_compression_level => -1 => -1

zlib.output_handler => no value => no value

Additional Modules

Module Name

Environment

Variable => Value

TERM => xterm-256color

SHELL => /bin/sh

SSH_CLIENT => 192.168.178.86 52276 50022

SSH_TTY => /dev/pts/2

LC_ALL => en_US.utf8

USER => admin

PAGER => more

MAIL => /var/mail/admin

PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin

PWD => /var/services/homes/admin

LANG => en_US.utf8

SHLVL => 1

HOME => /var/services/homes/admin

TERMINFO => /usr/share/terminfo

LOGNAME => admin

SSH_CONNECTION => 192.168.178.86 52276 192.168.178.25 50022

PGDATA => /var/services/pgsql

_ => /bin/php

PHP Variables

Variable => Value

_SERVER["TERM"] => xterm-256color

_SERVER["SHELL"] => /bin/sh

_SERVER["SSH_CLIENT"] => 192.168.178.86 52276 50022

_SERVER["SSH_TTY"] => /dev/pts/2

_SERVER["LC_ALL"] => en_US.utf8

_SERVER["USER"] => admin

_SERVER["PAGER"] => more

_SERVER["MAIL"] => /var/mail/admin

_SERVER["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin

_SERVER["PWD"] => /var/services/homes/admin

_SERVER["LANG"] => en_US.utf8

_SERVER["SHLVL"] => 1

_SERVER["HOME"] => /var/services/homes/admin

_SERVER["TERMINFO"] => /usr/share/terminfo

_SERVER["LOGNAME"] => admin

_SERVER["SSH_CONNECTION"] => 192.168.178.86 52276 192.168.178.25 50022

_SERVER["PGDATA"] => /var/services/pgsql

_SERVER["_"] => /bin/php

_SERVER["PHP_SELF"] =>

_SERVER["SCRIPT_NAME"] =>

_SERVER["SCRIPT_FILENAME"] =>

_SERVER["PATH_TRANSLATED"] =>

_SERVER["DOCUMENT_ROOT"] =>

_SERVER["REQUEST_TIME_FLOAT"] => 1467040629.9186

_SERVER["REQUEST_TIME"] => 1467040629

_SERVER["argv"] => Array

(

)

_SERVER["argc"] => 0

PHP License

This program is free software; you can redistribute it and/or modify

it under the terms of the PHP License as published by the PHP Group

and included in the distribution in the file:  LICENSE

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any

questions about PHP licensing, please contact license@php.net.

Thanks for help

Ciencia Al Poder (talkcontribs)

Well, according to the output, there's no mysql extension loaded. The strange thing is that you said your /etc directory was empty, which should be impossible on any running linux machine.

My guess is that you're executing commands in a chrooted environment. You should probably ask about this on a synology forum.

Pingopilot (talkcontribs)

The synology forum advised me to start http://www.xyz.de/MediaWiki/mw-config/

I did this twice and it worked except this (maybe not important?) error message.

Warning: is_executable(): open_basedir restriction in effect. File(/bin/bash) is not within the allowed path(s): (/var/services/web:/tmp:/var/services/tmp) in /volume1/web/MediaWiki/includes/GlobalFunctions.php on line 2782

This is the Update-Log:

Turning off Content Handler DB fields for this part of upgrade.

...have ipb_id field in ipblocks table.

...have ipb_expiry field in ipblocks table.

...already have interwiki table

...indexes seem up to 20031107 standards.

...have rc_type field in recentchanges table.

...index new_name_timestamp already set on recentchanges table.

...have user_real_name field in user table.

...querycache table already exists.

...objectcache table already exists.

...categorylinks table already exists.

...have pagelinks; skipping old links table updates

...il_from OK

...have rc_ip field in recentchanges table.

...index PRIMARY already set on image table.

...have rc_id field in recentchanges table.

...have rc_patrolled field in recentchanges table.

...logging table already exists.

...have user_token field in user table.

...have wl_notificationtimestamp field in watchlist table.

...watchlist talk page rows already present.

...user table does not contain user_emailauthenticationtimestamp field.

...page table already exists.

...have log_params field in logging table.

...logging table has correct log_title encoding.

...have ar_rev_id field in archive table.

...have page_len field in page table.

...revision table does not contain inverse_timestamp field.

...have rev_text_id field in revision table.

...have rev_deleted field in revision table.

...have img_width field in image table.

...have img_metadata field in image table.

...have user_email_token field in user table.

...have ar_text_id field in archive table.

...page_namespace is already a full int (int(11)).

...ar_namespace is already a full int (int(11)).

...rc_namespace is already a full int (int(11)).

...wl_namespace is already a full int (int(11)).

...qc_namespace is already a full int (int(11)).

...log_namespace is already a full int (int(11)).

...have img_media_type field in image table.

...already have pagelinks table.

...image table does not contain img_type field.

...already have unique user_name index.

...user_groups table exists and is in current format.

...have ss_total_pages field in site_stats table.

...user_newtalk table already exists.

...transcache table already exists.

...have iw_trans field in interwiki table.

...wl_notificationtimestamp is already nullable.

...index times already set on logging table.

...have ipb_range_start field in ipblocks table.

...no page_random rows needed to be set

...have user_registration field in user table.

...templatelinks table already exists

...externallinks table already exists.

...job table already exists.

...have ss_images field in site_stats table.

...langlinks table already exists.

...querycache_info table already exists.

...filearchive table already exists.

...have ipb_anon_only field in ipblocks table.

...index rc_ns_usertext already set on recentchanges table.

...index rc_user_text already set on recentchanges table.

...have user_newpass_time field in user table.

...redirect table already exists.

...querycachetwo table already exists.

...have ipb_enable_autoblock field in ipblocks table.

...index pl_namespace on table pagelinks includes field pl_from.

...index tl_namespace on table templatelinks includes field tl_from.

...index il_to on table imagelinks includes field il_from.

...have rc_old_len field in recentchanges table.

...have user_editcount field in user table.

...page_restrictions table already exists.

...have log_id field in logging table.

...have rev_parent_id field in revision table.

...have pr_id field in page_restrictions table.

...have rev_len field in revision table.

...have rc_deleted field in recentchanges table.

...have log_deleted field in logging table.

...have ar_deleted field in archive table.

...have ipb_deleted field in ipblocks table.

...have fa_deleted field in filearchive table.

...have ar_len field in archive table.

...have ipb_block_email field in ipblocks table.

...index cl_sortkey on table categorylinks includes field cl_from.

...have oi_metadata field in oldimage table.

...index usertext_timestamp already set on archive table.

...index img_usertext_timestamp already set on image table.

...index oi_usertext_timestamp already set on oldimage table.

...have ar_page_id field in archive table.

...have img_sha1 field in image table.

...protected_titles table already exists.

...have ipb_by_text field in ipblocks table.

...page_props table already exists.

...updatelog table already exists.

...category table already exists.

...category table already populated.

...have ar_parent_id field in archive table.

...have user_last_timestamp field in user_newtalk table.

...protected_titles table has correct pt_title encoding.

...have ss_active_users field in site_stats table.

...ss_active_users user count set...

...have ipb_allow_usertalk field in ipblocks table.

...pl_namespace, tl_namespace, il_to indices are already UNIQUE.

...change_tag table already exists.

...tag_summary table already exists.

...valid_tag table already exists.

...user_properties table already exists.

...log_search table already exists.

...have log_user_text field in logging table.

...l10n_cache table already exists.

...index ls_field_val already set on log_search table.

...index change_tag_rc_tag already set on change_tag table.

...have rd_interwiki field in redirect table.

...transcache tc_time already converted.

...*_mime_minor fields are already long enough.

...iwlinks table already exists.

...index iwl_prefix_title_from already set on iwlinks table.

...have ul_value field in updatelog table.

...have iw_api field in interwiki table.

...iwl_prefix key doesn't exist.

...have cl_collation field in categorylinks table.

...categorylinks up-to-date.

...collations up-to-date.

...msg_resource table already exists.

...module_deps table already exists.

...ar_page_revid key doesn't exist.

...index ar_revid already set on archive table.

...ll_lang is up-to-date.

...user_last_timestamp is already nullable.

...index user_email already set on user table.

...up_property in table user_properties already modified by patch patch-up_property.sql.

...uploadstash table already exists.

...user_former_groups table already exists.

...index type_action already set on logging table.

...have rev_sha1 field in revision table.

...batch conversion of user_options: nothing to migrate. done.

...user table does not contain user_options field.

...have ar_sha1 field in archive table.

...index page_redirect_namespace_len already set on page table.

...have us_chunk_inx field in uploadstash table.

...have job_timestamp field in job table.

...index page_user_timestamp already set on revision table.

...have ipb_parent_block_id field in ipblocks table.

...index ipb_parent_block_id already set on ipblocks table.

...category table does not contain cat_hidden field.

...have rev_content_format field in revision table.

...have rev_content_model field in revision table.

...have ar_content_format field in archive table.

...have ar_content_model field in archive table.

...have page_content_model field in page table.

Content Handler DB fields should be usable now.

...site_stats table does not contain ss_admins field.

...recentchanges table does not contain rc_moved_to_title field.

...sites table already exists.

...have fa_sha1 field in filearchive table.

...have job_token field in job table.

...have job_attempts field in job table.

...have us_props field in uploadstash table.

...ug_group in table user_groups already modified by patch patch-ug_group-length-increase-255.sql.

...ufg_group in table user_former_groups already modified by patch patch-ufg_group-length-increase-255.sql.

...index pp_propname_page already set on page_props table.

...index img_media_mime already set on image table.

...iwl_prefix_title_from index is already non-UNIQUE.

...index iwl_prefix_from_title already set on iwlinks table.

...have ar_id field in archive table.

...have el_id field in externallinks table.

...have rc_source field in recentchanges table.

...index log_user_text_type_time already set on logging table.

...index log_user_text_time already set on logging table.

...have page_links_updated field in page table.

...have user_password_expires field in user table.

...have pp_sortkey field in page_props table.

...recentchanges table does not contain rc_cur_time field.

...index wl_user_notificationtimestamp already set on watchlist table.

...have page_lang field in page table.

...have pl_from_namespace field in pagelinks table.

...have tl_from_namespace field in templatelinks table.

...have il_from_namespace field in imagelinks table.

...img_major_mime in table image already modified by patch patch-img_major_mime-chemical.sql.

...oi_major_mime in table oldimage already modified by patch patch-oi_major_mime-chemical.sql.

...fa_major_mime in table filearchive already modified by patch patch-fa_major_mime-chemical.sql.

...user_id is already unsigned int.

...rc_comment in table recentchanges already modified by patch patch-editsummary-length.sql.

...hitcounter doesn't exist.

...site_stats table does not contain ss_total_views field.

...page table does not contain page_counter field.

Creating translate_sections table ...done.

...have trs_order field in translate_sections table.

Creating revtag table ...done.

Creating translate_groupstats table ...done.

...index trs_page_order already set on translate_sections table.

...trs_page key doesn't exist.

Creating translate_reviews table ...done.

Creating translate_groupreviews table ...done.

Creating translate_tms table ...done.

Creating translate_metadata table ...done.

Creating translate_messageindex table ...done.

...index tgs_lang already set on translate_groupstats table.

...have tgs_proofread field in translate_groupstats table.

Creating translate_stash table ...done.

...site_stats is populated...done.

Purging caches...done.

Now all error messages of my MediaWiki are gone. Thanks!

Pingopilot (talkcontribs)

Another error poppt up, when I try to open the special page:

Fatal error: Class 'LoginSignupSpecialPage' not found in /volume1/web/MediaWiki/includes/specials/SpecialUserlogin.php on line 33

Ciencia Al Poder (talkcontribs)

do you have a /volume1/web/MediaWiki/includes/specialpage/LoginSignupSpecialPage.php ?

Pingopilot (talkcontribs)

Yes. I have this file

Pingopilot (talkcontribs)