Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Requirements #505

Closed
robocoder opened this issue Jan 15, 2009 · 4 comments
Closed

Additional Requirements #505

robocoder opened this issue Jan 15, 2009 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@robocoder
Copy link
Contributor

From ticket #328, need to document that safe mode is not supported. In addition, gz output handler compression isn’t supported. These can be disabled in a local .htaccess file if the user can’t change php.ini (e.g., in a hosted environment).
```php_value output_handler none
php_flag register_globals off
php_flag safe_mode off

```

```

@mattab
Copy link
Member

mattab commented Jan 30, 2009

vipsoft, what do you mean by gz output handler compression? could you please provide a test case showing it failing, I think piwik should work in this use case.

for safe mode, I have the feeling that it sometimes work with safe mode, for some users. I guess it’s just that some safe mode have different permission settings. Ideally we would test a standard debian server solution, set safe_mode on Off and see if piwik works (I think it might just work).

also, we don’ tneed to set “php_flag register_globals off” it works both cases

@robocoder
Copy link
Contributor Author

From ticket #328, the user was encountering this error:

```
Fatal error: ob_start() [ref.outcontrol]: Cannot use output buffering in output buffering display handlers in /st/core/ErrorHandler.php on line 31
```

The error occurs because the master php.ini has:

```
output_handler = ob_gzhandler
```

Users who can’t modify the master php.ini (typically those with 3rd party hosting providers) must use a .htaccess override to disable it:
```php_value output_handler none

```
According to the PHP documentation, this is no longer recommended practice (and is problematic according to other php users). Moreover, since the above user’s Apache build used mod_deflate, it was redundant.

I agree it probably isn’t necessary to set register_globals and safe_mode both to Off, but this is the default for my Ubuntu 8.04 environment, and Piwik appears to work. Plus, my understanding from your comment in ticket #213 is that safe_mode (On) isn’t supported.

Going forward it doesn’t hurt to require safe_mode and register_globals be Off. These are both removed in PHP 6.0.
```

@robocoder
Copy link
Contributor Author

Clarification: “this is no longer recommended practice” refers to the use of ob_gzhandler.

@mattab
Copy link
Member

mattab commented Feb 2, 2009

it can be big deal to disable the sofware for some users for which it would have worked fine (some safe_mode work fine with piwik). I don’t think we should change requirement or feedback messages as long as we don’t know exactly when and how it fails.

@robocoder robocoder added this to the RobotRock milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants