[14:34:47] Hi, is it expected to have many “PHP Deprecated” messages with MediaWiki 1.35 and PHP 8.1? [14:37:56] yvanzo: It's not ideal, but yes, it's not unexpected [14:41:08] Thank you [14:43:03] But 1.35 isn't supported anymore either [14:43:11] So we really don't suggest running it [14:43:18] Yes I’m trying to identify why MediaWiki isn’t working on Ubuntu Jammy. [14:43:31] I’d like to upgrade to 1.39 LTS ultimately though. [14:43:39] I'd be semi curious what the PHP deprecated messages are, are they MW core, or extensions etc [14:43:46] Because we did try to backport numerous fixes [14:43:54] (which is available in mantic) [14:44:07] I wouldn't suspect it'd stop you running MW, just end up with some noisy logs [14:45:32] I’m upgrading an old existing instance that was running on Focal, it might be some extensions too. [14:46:12] My suspicion comes from ErrorException from line 74 of /usr/share/mediawiki/includes/WebResponse.php: PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/share/mediawiki/includes/libs/rdbms/database/Database.php:579) [14:46:50] And there was also ErrorException from line 579 of /usr/share/mediawiki/includes/libs/rdbms/database/Database.php: PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated [14:46:52] That sounds like some error has possibly already occured [14:58:48] It seems to be triggered by schema being set to null, which is probably fine. [14:58:58] (but deprecated) [15:01:17] what dbms are you using? [15:02:15] mysql [15:03:11] I'm guessing you're not running a shared DB (ie multiple MW installs) [15:03:24] no [15:03:52] so yeah, you can pretty much ignore that as you suggest [15:34:52] The only visible issue is the 502 returned by nginx (using fastcgi and php-fpm). [15:36:18] nginx error logs are just forwarding those PHP deprecation messages. [15:37:21] nothing in error logs for mysql and php-fpm logs. [15:39:43] What if you suppres the warnings? [15:44:11] Reedy: That works, thank you. [15:44:40] I can't remember which setting... but you can basically make PHP treat warnings as errors... which is helpful in terms of finding and fixing them [15:44:52] Not so much when you don't care and they don't actually break anything [15:46:30] I guess that the PHP deprecation messages thrown by mediawiki were interpreted as actual errors by nginx. [15:47:25] That allows me to prepare upgrading to Mantic / MW 1.39. [15:47:28] Thanks again. [15:48:02] :) [15:48:08] backup the database and files first ;) [15:49:13] Thanks, I did that before already (and even backed up the whole system). [16:15:28] Hii, I just installed mediawiki on uberspace by downloading the zip and following the installer script. It kinda works but for some reason each site is served with "/m" as a prefix in the document body. So it looks like [16:15:29]  /m [16:15:29] [16:15:30] [16:15:30] This is the site [16:15:31] https://coping.uber.space [16:15:31] Can you help me? Thank you xx [16:15:41] My admin username is m [16:18:28] I also get "Uncaught SyntaxError: unterminated parenthetical" from  load.php:1:234 in the JS console [16:18:39] Did you edit the localsettings? [16:18:50] You've likely got /m somewhere before a Yes you're right it was there [16:20:25] Wouldn't be surprised if that fixes the other error too [16:31:07] You were right :) Thanks