compress_api.php error, using 1.2.19

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Zil
Posts: 5
Joined: 08 Jul 2016, 22:06

compress_api.php error, using 1.2.19

Post by Zil »

Hi,

I'm getting this weird error on the top of my Mantis: Warning: ini_set(): function '-1' not found or invalid function name in /home/******/public_html/mantis/core/compress_api.php on line 68
The file is completely stock, no idea why I'm getting that error. Any ideas? Fixes?
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: compress_api.php error, using 1.2.19

Post by atrol »

The provided information is not sufficient to provide any help in resolving the issue. A complete and detailed description is required to get a clear understanding of the problem.

You should provide detailed, step-by-step instructions to reproduce the issue; the additional information listed below may also be useful:

- Exact version of PHP, Database, Web server, Browser and Operating System
- Relevant customizations (e.g. changes in config_inc.php, etc)
- Installed plugins or custom functions ?
- Was the MantisBT source code modified in any way ?
Please use Search before posting and read the Manual
Zil
Posts: 5
Joined: 08 Jul 2016, 22:06

Re: compress_api.php error, using 1.2.19

Post by Zil »

I have the MantisBT Theme Manager 0.0.1 plugin installed. The error was visible right after installation I believe, and probably isn't caused by any modifications.
PHP Version is 5.6.22, using Apache 2.4.18
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: compress_api.php error, using 1.2.19

Post by atrol »

I don't have time to look at problems that are introduced by 3rd party plugins.
Maybe other users that are using this plugin could help.
I recommend to contact the author of the plugin.
Please use Search before posting and read the Manual
Zil
Posts: 5
Joined: 08 Jul 2016, 22:06

Re: compress_api.php error, using 1.2.19

Post by Zil »

atrol wrote:I don't have time to look at problems that are introduced by 3rd party plugins.
Maybe other users that are using this plugin could help.
I recommend to contact the author of the plugin.
The error is still visible even with the plugin uninstalled. Even with a clean install, it's still there from what I can remember.
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: compress_api.php error, using 1.2.19

Post by atrol »

Knowing just the PHP and Apache version is not enough to reproduce the issue, so still the same viewtopic.php?f=3&t=23928&p=59654#p59651
Please use Search before posting and read the Manual
Zil
Posts: 5
Joined: 08 Jul 2016, 22:06

Re: compress_api.php error, using 1.2.19

Post by Zil »

The Mantis is pretty much stock besides the Theme Manager being installed, but the error isn't caused by it. I made minor changes to the confg_inic.php, mainly disabling the email confirmation system and captcha code. Using Linux as well as mysql. Can hardly get any more information then that as it's not directly hosted by me.

It's just this visible at the top of every page within Mantis. No idea what's causing it.
Image
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: compress_api.php error, using 1.2.19

Post by atrol »

Try adding the following line to file config_inc.php

Code: Select all

$g_compress_html = OFF;
Please use Search before posting and read the Manual
Zil
Posts: 5
Joined: 08 Jul 2016, 22:06

Re: compress_api.php error, using 1.2.19

Post by Zil »

atrol wrote:Try adding the following line to file config_inc.php

Code: Select all

$g_compress_html = OFF;
It worked. Thank you!
Post Reply