internal server error 500
| Project: | Piwik - Web analytics |
| Version: | 6.x-1.x-dev |
| Component: | Documentation |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
In order for Piwik application files to work in server folder the
session.save_handler user
(required by Drupal setting) must change to
session.save_handler files
otherwise we get causes all the problems (internal server error 500).
I created an .htaccess file in 'piwik' directory by copying the original Drupal .htaccess (located in file in root directory). In this file I did the following
1) deleted the rewrite rules (you may keep those who change http://www.example.com to http://example.com and similar rules)
2) added the line php_value session.save_handler "files" (absolutely necessary)
It took me too much time to figure out the reason of 500 Internal Server Error of Apache. Perhaps you should include similar information in your Readme.txt or Install.txt file.

#1
I also have "files" configured on my dev box, but cannot remember why. Could be the unchanged PHP default. If this is really an issue you should file a bug report at piwik.org. This sounds not like a bug of this module and more like a bug of piwik them self.
#2
One clarification
The 'piwik' directory is the one you create for the application, not for the piwik module.
The piwik application runs locally on your server and can be remotely accessed to give you statistics.
This application, like other applications (say phpwebstat or phpmyadmin) need session handlers to be set to "files".
#3
But than we should ask this projects, why they need "files" and "user" isn't working at all...
#4
Added "Known issues" section to readme.txt
#5
Automatically closed -- issue fixed for 2 weeks with no activity.