Jump to content

Topic on Project:Support desk/Flow

MediaWiki internal error after changing directory to enable shorturl

2
217.186.217.242 (talkcontribs)

Original exception: [3fc8210f] /wiki/index.php?title=Hauptseite   MWException from line 365 of /homepages/0/d364056360/htdocs/wiki/includes/resourceloader/ResourceLoader.php: ResourceLoader module info type error for module '0': expected ResourceLoaderModule or array (got: NULL) (Link for whole Error Message)

I tried to enable shorturl in my wiki, in order to do that the way I wanted it to be I changed the name of the directory from /wiki to /w and changed the $wgScriptPath in LocalSettings.php.

Then I went on http://shorturls.redwerks.org and made the changes that were recommended but after that all I got was an internel server error.

So I reversed the changes.

But now, all I get is a blank white page. Enabling $wgShowExceptionDetails gave me the Error Message above.

Please, can anybody tell me what's going on?

Ciencia Al Poder (talkcontribs)

ResourceLoader may still point to old filesystem path due to caching. Try truncating the msg_resource and msg_resource_links tables:

-- Truncate message related caches
TRUNCATE TABLE `msg_resource`;
TRUNCATE TABLE `msg_resource_links`;

note that your tables may have a prefix like "wiki_" or similar.

In MediaWiki 1.25 and newer, running update.php should do this automatically.