Extra tabulation added at the beginning of each graphic file

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ForkrulAssail
Posts: 2
Joined: 09 Feb 2015, 08:52

Extra tabulation added at the beginning of each graphic file

Post by ForkrulAssail »

Hello,

I am strugling with a problem. Each file generated by calling PHP plugin functions is being delivered with 3 extra tabulation symbols at the beginning.

For example http://XXXX/plugin_file.php?file=Mantis ... tsLogo.png returns broken file picture (by the way, it is not generating file, it brings out a logo saved on disk), but actually Logo is there, but I need to manually delete 3 tabs at the beginning of the graphic file.

Where are those 3 tabs come from?
Attachments
extra tabs
extra tabs
Error_tabOnFront.PNG (49.39 KiB) Viewed 2018 times
extra tabs
extra tabs
Tabs_Added.PNG (41.74 KiB) Viewed 2018 times
Broken file picture
Broken file picture
broken_file.PNG (6.01 KiB) Viewed 2018 times
ForkrulAssail
Posts: 2
Joined: 09 Feb 2015, 08:52

Re: Extra tabulation added at the beginning of each graphic

Post by ForkrulAssail »

Resolved by myself: https://www.mantisbt.org/bugs/view.php?id=19349
Tab after '?>' in custom_strings_inc.php was causing this error....
Post Reply