Version 13 (modified by elskwi, 12 years ago) (diff) |
---|
Frequently asked questions
Q: What are the minimal FireStats requiements?
A: FireStats is known to run on:
- PHP 4.4.2 or newer.
- Mysql 4.0.17 with InnoDB support or newer.
- Unix-like OS is preferred, but some users are running it successfuly on windows.
Q: Why not GPL?
A: While I generally like GPL and did release some things under GPL and LGPL (ip2c, JNotify), I chose not to do it with FireStats because I want to keep the option to sell it to blogging platforms later. if I go with GPL, there is no reason for anyone to buy it as they just use it under the terms of GPL.
If I change my mind, GPL is the next prefered license for FireStats.
Q: When I try to configure the database, I get the error Cannot write configuration file (read only file or directory)
A: FireStats database configuration tab need write access to the file fs-config.php under the php directory.
Please make sure that the apache user have write access to that file at when you are configuring the file.
a quick fix for the those with low unix-fu:
- cd firestats/php (Change to the php directory)
- touch fs-config.php (Makes sure the config file exists)
- chmod o+w fs-config.php (Make sure everyone can write to the file)
- Configure database in FireStats database tab.
- chmod o-w fs-config.php (Make sure everyone can't write to the file)
Q: I installed and activated FireStats in Wordpress, but it does not track the visits to my blog!
A: Make sure you have a call to wp_head() in your theme header.php file. look in the default theme for an example of how it should be.
Q: I installed and activated FireStats in Wordpress 2.0.5, but it's installed in the Dashboard menu and not in management page!
A: do this
- Desactive the plugin.
- Go into plugins/firestats directory.
- Edit file "firestats-wordpress.php" and search for function fs_add_page().
- Then change it for :
# Add a sub-menu to the "manage"-page. function fs_add_page() { # Add Firestats menu into management page if 'add_management_page' exists
if (function_exists('add_management_page')) {
add_management_page('index.php', 'FireStats', 1, FILE, 'fs_page');
} # Else add it like original Source else {
add_submenu_page('index.php', 'FireStats', 'FireStats', 1, FILE, 'fs_page');
}
}
- Reactive the plugin. Done :)