10 minutes later, the stats are mysteriously there. Perhaps I do not understand how they run.
On a different not what do most of you have AllowFullYearView set to?
Seems wrong that a client can not have a yearly view of their stats. But if it will kill server load what can you do.
If you enable full year view, the a client can view the whole year statistics, so this will give some extra load. Not sure how much, because the .txt (history) aren't that big.
I tryed to install that upgrade.. i've already a lot of domain.. when i install its all ok.. but if i go on my domains and activate this upgrade doesent work... and if i login like a user i dont find anything to install awstats to user account.. help.. and sorry for my english
This could be an issue with SSL. :s You could check if the ssl.use exists in the /usr/local/directadmin/plugins/awstats/hooks dir.
At install/upgrade time of your plugin it checks the /usr/local/directadmin/conf/directadmin.conf, to see if the SSL=0 or 1. But if there's an extra whitespace behind it. It will give a false result and disable's SSL in the plugin.
Ok.. I am tired.. it's late.. and I have been stuggling to figure out what is going on for the last 3 hours..
I have the plugin installed.
Figured out that the default skin doesn't display plugins.
installed it on 1 domain, which appeared to be ok.
try to check the stats and here is the error that shows up in the domain error log..
[Sun Oct 10 00:28:06 2004] [error] [client 65.69.126.252] script not found or unable to stat: /usr/local/awstats
say what???? please help.. I am afraid that my brain just can't take it anymore..
[Sun Oct 10 00:28:06 2004] [error] [client 65.69.126.252] script not found or unable to stat: /usr/local/awstats
This error shouldn't be displaying /usr/local/awstats. What this could be is that it isn't finding it's lib files in the users public_html/awstats
The directory should have the following files:
awstats.pl (awstats script), lang (symlink), lib (symlink), plugins (symlink), and .htaccess (enabling CGI and awstats as index file).
If any of these "symlinks" are missing it could be that the script will check the default dirs like /usr/local/awstats.
Try reinstalling the plugin on the domain (user-level with enhanced skin) or use "/usr/local/directadmin/plugins/awstats/hooks/alldomains.php" to install it on all domains.
And offcourse check if you're using SSL that there IS a file in the hooks dir ssl.use! (Not needed for alldomains.php script)
Please let me know if it works and how you changed it, so I can implement some extra checks/steps etc. in the plugin