• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Resolved PHP sends \ before each response...

Heinrich

Basic Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Plesk Obsidian Web Admin Edition 18.0.67 Update Nr. 3
Hello everyone,

on the subdomain https://wiki.werwolf-live.de is a mediawiki installation. It used to work fine, but then I was made aware that it had a malfunction recently. I didn't change anything, but Plesk updated itself a couple of times.

Anyway, it seems that the index.php (which is the original mediawiki file) serves a \ before the <!DOCTYPE html>.
The load.php (also original mediawiki file) also does serve a \ before providing the resources it is supposed to serve.

I uploaded a static html file, and it is served without issue.

So, the error might be with the 8.4.4 php dedicated FPM engine.

plesk repair web wiki.werwolf-live.de
did not resolve the problem.

Does anyone have an idea, how this can be?
All other domains seem to work just fine.

Best regards
Heinrich
 
Most likely some file used for the wiki echo/prints the \ character. You can use the File Manager in Plesk to search trough the contents of all files of the subdomain to see if there is an \ character in any of those files that might not belongs in there.

Screenshot 2025-03-13 001031.jpg
 
Last edited:
I focused on the files recently edited, and I found indeed the source of the rogue character.

Thank you.
 
Back
Top