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

Advanced server configuration guide #889

Closed
robocoder opened this issue Jul 29, 2009 · 5 comments
Closed

Advanced server configuration guide #889

robocoder opened this issue Jul 29, 2009 · 5 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@robocoder
Copy link
Contributor

If not already described elsewhere:

  • config.ini.php - overriding a setting from global.ini.php; unix_socket
  • bootstrap.php - setting PIWIK_INCLUDE_PATH, PIWIK_ENABLE_SESSION_START, PIWIK_DISPLAY_ERRORS
  • crossdomain.xml
  • .htaccess - http auth; session.auto_start

???

@robocoder
Copy link
Contributor Author

See also: wiki:API/IncludePiwikInYourProject

@mattab
Copy link
Member

mattab commented Aug 12, 2009

Currently Error level report is hardcoded in the code and duplicated in different files. Instead, we should read the PHP level error reporting from the config file, eg.

[Debug]
; when set to 0, no error will be output in the Piwik interface. This is useful for users that do not want Piwik to show any error. 
; By default, we choose to display all PHP Warnings, Notices and error messages because it helps us find and diagnose bugs 
display_errors = 1 

@robocoder
Copy link
Contributor Author

Attachment: Sample bootstrap.php file
bootstrap.php

@robocoder
Copy link
Contributor Author

Done. [wiki:API/IncludePiwikInYourProject]

@mattab
Copy link
Member

mattab commented Sep 25, 2009

good stuff thanks.

are there interesting use cases for these? eg. inclusion in zend framework?

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.
Projects
None yet
Development

No branches or pull requests

2 participants