Topic on Project:Support desk

Xdarkeyex (talkcontribs)

I recently istalled the latest version of MediaWiki 1.32.0.

After the Istallation I noticed that all pictures could not be displayed. I uploaded them through the website (not via FTP).

I've looked at the following troubleshooting but have not used them because i dont understand them.

Topic:Ulehw4mhzuloj851

Topic:Sx16x540k2d4p61v

I also tried to find logs but can not find them


You can see the Error here:

http://wiki.tacticalbacon.de/index.php?title=Hauptseite

http://wiki.tacticalbacon.de/images/c/c9/Logo.png


Picture: Checking the installation environment

https://imgur.com/1woFM9P

Are these errors critical?

Ciencia Al Poder (talkcontribs)

Accessing any path inside http://wiki.tacticalbacon.de/images/ causes a HTTP 500 error. This is caused by a configuration error on the webserver, probably a .htaccess file in the images directory. Try commenting-out all directives of that file and then uncomment one by one until you find the cause of the problem. This is often caused by the webserver not allowing configuration to be overridden from .htaccess files.

Xdarkeyex (talkcontribs)

@Ciencia Al Poder at the moment in the .htaccess (/mediawiki/images) file is this:

# Protect against bug T30235

<IfModule rewrite_module>

RewriteEngine On

RewriteOptions inherit

RewriteCond %{QUERY_STRING} \.[^\\/:*?\x22<>|%]+(#|\?|$) [nocase]

RewriteRule . - [forbidden]

# Fix for bug T64289

Options +FollowSymLinks

</IfModule>

what should i edit?

Ciencia Al Poder (talkcontribs)

First of all, try removing everything (if this doesn't work neither, try removing/renaming the file itself)

Then you can add it again and comment out lines from bottom to top , not touching <IfModule rewrite_module> nor </IfModule>

Xdarkeyex (talkcontribs)

@Ciencia Al Poder Only when the file is completely empty can the images be displayed. Can I leave it this way or is this a security issue?

Ciencia Al Poder (talkcontribs)

Apparently the server doesn't have Allow Override +Options for the MediaWiki directory. You should enable that, or add the rules of htaccess to a <Directory> pointing to the images folder.

It may be a security risk for old InternetExplorer users, but if you don't care about them you may simply ignore them.

Xdarkeyex (talkcontribs)
Xdarkeyex (talkcontribs)

so i delted only this line RewriteOptions inherit

Now the pictures are displayed