Topic on Project:Support desk

Broken Links from php upgrade...

2
69.145.169.214 (talkcontribs)

My isp forced a php upgrade and the results made every external link became broken and not connect to the intended page.  The link instead just looped you back to the original wiki page.

I checked the syntax and that the links were correct, they just no longer work now

Customer service said this:

The web hosting machine was upgraded to run PHP7, up from PHP5.6, which can break compatibility with software making use of older, potentially depreciated, methods of doing things. Typically updating the software overall will clear that up, but it may require some small file edits in the worse case scenarios.

Anyone know how to specifically do this?

You can go to my wiki and click on any external link to see the problem

http://uoevolution.com/wiki/index.php?title=Main_Page

2001:16B8:1040:EC00:B079:D350:C940:2FE6 (talkcontribs)

MediaWiki 1.16 is an old version, which is not compatible with PHP 7. Actually I wonder that it worked with 5.6...

An upgrade of MediaWiki should in fact help here. The syntax in your pages is correct and it should in fact produce working links. Browsing your page, I also saw a few PHP errors, e.g. from Sanitizer.php, which I guess failed at properly sanitizing source code.

Create a backup of your site and then try an upgrade. That should really solve the problem!

Reply to "Broken Links from php upgrade..."