Topic on Project:Support desk

Georg Berg (talkcontribs)

After upgrading to 1.26.2 there is only content but no navigational aereas visible. Probably I should work on skins or stylesheets. But how to begin? The site-url: http://agra-rundfunk.de

87.123.52.42 (talkcontribs)

You have to allow access to the load.php file. It currently does not serve styles, but another MediaWiki page (with an error 404, but that is not relevant here). It should however serve CSS styles.

87.123.52.42 (talkcontribs)
Georg Berg (talkcontribs)

The load.php file is in place. How should i manipulate it?

87.123.52.42 (talkcontribs)

No. When you call that file with the webbrowser, the response actually has to come from load.php.

However, in your case, the call gets redirected to index.php. And this should not happen. You have to make sure that when a user requests load.php, that then Apache also serves this file. Manual:load.php contains an example on how to modify your .htaccess file in order to do exactly that.

Georg Berg (talkcontribs)

Now the load.php serves the navigation but no styles

87.123.52.42 (talkcontribs)
Ciencia Al Poder (talkcontribs)

I don't think this is a problem with permissions, but with rewrite rules. Everything that's in the URL after agra-rundfunk.de/wiki/ is redirected to index.php, which is wrong.

You should stop redirecting load.php and api.php requests to index.php

Basically, your rewrite rules are broken.

See Manual:Short URL for tips on creating short URLs (if that what you had in mind when you implemented those redirect rules)

Georg Berg (talkcontribs)

The content of my .htaccess file is

RewriteEngine On

RewriteRule ^wiki/(.*)$ /mediawiki/index.php?title=$1 [PT,L,QSA]

RewriteRule ^wiki/*$ /mediawiki/index.php [L,QSA]

RewriteRule ^/*$ /mediawiki/index.php [L,QSA]

RewriteRule ^(api|load)\.php - [L]

Options +FollowSymLinks

87.123.24.101 (talkcontribs)

Try with a changed order:

RewriteEngine On

RewriteRule (api|load)\.php - [L]

RewriteRule ^wiki/(.*)$ /mediawiki/index.php?title=$1 [PT,L,QSA]

RewriteRule ^wiki/*$ /mediawiki/index.php [L,QSA]

RewriteRule ^/*$ /mediawiki/index.php [L,QSA]

Options +FollowSymLinks

The order of RewriteRules is important. What you had before, did not make sense. Also note that I have removed the "^" from the rule with api.php and load.php in it.

Georg Berg (talkcontribs)
Ciencia Al Poder (talkcontribs)
87.123.24.101 (talkcontribs)

load.php is now accessible and is displaying styles. That's a step into the right direction.

Georg Berg (talkcontribs)
87.123.57.36 (talkcontribs)

Inside the LocalSettings.php file in the mediawiki/ folder.

Georg Berg (talkcontribs)

that was the solution

Thank You