Jump to content

Topic on Project:Support desk/Flow

Blank Website after an upgrade.

17
2A02:A020:E0:883E:80E4:4A12:1AC9:CD69 (talkcontribs)

Hello everyone,

I got a problem after an update from MW 1.30.1 to MW 1.38. Here the history.

First of all, I've read the upgrade page, and I have a save of my database on 1.30 and on 1.35. It is important for the next steps.

In that page, I've read that I need to do a update to a version before 1.36, before updating to 1.38. So this is what I did. The updating on 1.35.7 were easy and everything (except some model needed to be fixed) work fine.

So, I try to update in 1.38. Trough the update page of my website, everything works, except that I had a skin issue, that I try to solve. For that, I use many solution that I found on Google (and mainly that was page directly coming from here).

It never worked. So I did (probably a mistake), an upload of my old database (in 1.30.1) and my old backups. But nothing worked. So I try do redo the update to 1.35.7, and I can go to the update page. Yeah. After fixing another skin problem (by erased wfLoadSkin( 'Athena' ); wfLoadSkin( 'MinervaNeue' ); wfLoadSkin( 'MonoBook' ); wfLoadSkin( 'Timeless' );wfLoadSkin( 'Vector' ); form my LocalSetting.php) It worked and I could upgrade to 1.35.7. I could have access to my index. (I need to say that I've done exactly the same for all extensions).

But (because this is not the end), I got a message indicating that I miss skins. I put back the code in LocalSetting.php. And there, a blank page. I don't even have something to see on that page. Even the address (that is usually http://hirder.be/wiki/index.php?title=Accueil) doesn't show up. It stay at index.php.

It is important to me to have access to this because it is almost two years of work that could be gone to ashes.

For further information :

I used 1.30.1 before upgrading. Now I'm on 1.35.7.

PHP is 8.1

MySql version in 5.7

Jonathan3 (talkcontribs)

That part of the upgrade page is worded so badly that I can't understand it enough to improve. But I don't think it means you can't upgrade straight from 1.30 to 1.38.

Jonathan3 (talkcontribs)

Upgrading is a pain so why not just stay on 1.35 (LTS) for now and wait for 1.39, the next LTS version? See Version lifecycle.

109.139.12.9 (talkcontribs)

That what I want. To stay in 1.35.7 because it worked. But now, it doesn't and I don't know why. In case of I have no solution here, I'll will do a Hard reset, but it is two years of work gone to ashes.

Bawolff (talkcontribs)

did you upgrade skins to right version?

Are there errors in php error log (see How to debug)

2A02:A020:A3:A8AA:59EC:B6ED:B138:BFFC (talkcontribs)

I erased all the files in the folder and then upload the new ones. But it seems to keep going buggy.

And now this not really the problem. I don’t see anything on my index.php page. Juste take a look at the link I posted earlier

(Yes it is still me, but I use different device)

Jonathan3 (talkcontribs)

Did you backup at 1.35.7 before the failed upgrade (or at any point)? If you did you could go back and try again.

2A02:A020:A3:A8AA:59EC:B6ED:B138:BFFC (talkcontribs)

I have a backup on 1.30.1 from files and database. I can do a backup on my ftp server. Do I need to erased all files (and database) to do so properly?

Bawolff (talkcontribs)

blank page usually means php error when error reporting has been disabled. I would generally suggest trying to figure out what the error is (see How to debug) so you can avoid whatever the error is

2A02:A020:A3:A8AA:6867:11FD:CFD9:8394 (talkcontribs)

Hello ! This is me again. So, I used the Debug page (thanks again). I got a first errors of extensions, about AbuseFilter. This was not present in my extension folder, so I juste erased it from my LocalSetting.php.

I reload the page, and here what I got : Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/lbfactory/LBFactory.php on line 762

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 263

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Warning: session_name(): Session name cannot be changed after headers have already been sent in /home/hirderr/www/wiki/includes/Setup.php on line 712

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 263

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Warning: session_id(): Session ID cannot be changed after headers have already been sent in /home/hirderr/www/wiki/includes/session/SessionBackend.php on line 796

Warning: session_id(): Session ID cannot be changed after headers have already been sent in /home/hirderr/www/wiki/includes/Setup.php on line 756

Warning: session_start(): Session cannot be started after headers have already been sent in /home/hirderr/www/wiki/includes/Setup.php on line 757

Deprecated: strtr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/Title.php on line 424

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/hirderr/www/wiki/includes/libs/objectcache/MediumSpecificBagOStuff.phpon line 893

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Warning: Cannot modify header information - headers already sent by (output started at /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php:579) in /home/hirderr/www/wiki/includes/libs/HttpStatus.php on line 112

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php on line 579

Warning: Cannot modify header information - headers already sent by (output started at /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php:579) in /home/hirderr/www/wiki/includes/WebResponse.php on line 74

Warning: Cannot modify header information - headers already sent by (output started at /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php:579) in /home/hirderr/www/wiki/includes/WebResponse.php on line 74

Warning: Cannot modify header information - headers already sent by (output started at /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php:579) in /home/hirderr/www/wiki/includes/WebResponse.php on line 74

Warning: Cannot modify header information - headers already sent by (output started at /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php:579) in /home/hirderr/www/wiki/includes/WebResponse.php on line 74

Warning: Cannot modify header information - headers already sent by (output started at /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php:579) in /home/hirderr/www/wiki/includes/WebResponse.php on line 74

Warning: Cannot modify header information - headers already sent by (output started at /home/hirderr/www/wiki/includes/libs/rdbms/database/Database.php:579) in /home/hirderr/www/wiki/includes/WebResponse.php on line 74

Bawolff (talkcontribs)

So the deprecated warnings are known issues when running mediawiki with php 8.1. They are safe to ignore (if error reporting is turned off) and should be fixed in the upcoming mediawiki 1.38.3 or 1.39.0 release.

91.181.192.22 (talkcontribs)

Ok thanks you !


Now, what i've done, is a hard reste. Erased alll my database and my files from my servers. Then i re-upload my backups. I got this now : Fatal error: Uncaught Exception: /home/hirderr/www/wiki/skins/MinervaNeue/skin.json does not exist! in /home/hirderr/www/wiki/includes/registration/ExtensionRegistry.php:107 Stack trace: #0 /home/hirderr/www/wiki/includes/GlobalFunctions.php(87): ExtensionRegistry->queue('/home/hirderr/w...') #1 /home/hirderr/www/wiki/LocalSettings.php(144): wfLoadSkin('MinervaNeue') #2 /home/hirderr/www/wiki/includes/Setup.php(94): require_once('/home/hirderr/w...') #3 /home/hirderr/www/wiki/includes/WebStart.php(88): require_once('/home/hirderr/w...') #4 /home/hirderr/www/wiki/index.php(39): require('/home/hirderr/w...') #5 {main} thrown in /home/hirderr/www/wiki/includes/registration/ExtensionRegistry.php on line 107

91.181.192.22 (talkcontribs)

Update : I found what was going on. Some extensions was written on LocalSetting.php, but wasn't on the folder. i just delete the code that need it, and now, it works (but only in 1.30.12). I got other things to fix like this  :

{#if: | Invalid title for TemplateStyles' src attribute. }} Hinriel Wolferickt{{#if:|{{#if:Modèle:Oui non|{{#invoke:Formatage du titre |setDisplayTitle |lang= |italic= |options=noreplace but everything works

Bawolff (talkcontribs)
HirderWiki (talkcontribs)

(I've created an account).

Those extension were activated in LocalSettings.php. Seems like I had the same issues two years ago when I start my own wiki, on my computer instead of a true web server. I've put an answer to the topic over there.

197.202.41.217 (talkcontribs)

Sorry, but note that MediaWiki is not yet compatible with PHP 8 so please use PHP 7.3/7.4.

Malyacko (talkcontribs)

PHP version has nothing to do with the problem discussed in this thread.