
12th September 2011, 12:44
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
I guess with the code:
$awmonth = date("m"+1-1);
you like to have the month without leading 0, so that it is 1 instead of 01? In that case it might be better to use this:
$awmonth = date("n");
|
|
The Following User Says Thank You to till For This Useful Post:
|
erosbk (12th September 2011)
|

14th September 2011, 20:51
|
|
Senior Member
|
|
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 33 Times in 27 Posts
|
|
When change from Webalizer to AWStats (or AWStats to Webalizer), index.php and index.html must be deleted, if not deleted, one file has priority over the other...
I will make the changes and post changes here tomorrow
|

16th September 2011, 01:25
|
|
Member
|
|
Join Date: May 2009
Posts: 77
Thanks: 10
Thanked 23 Times in 14 Posts
|
|
hi,
What will happen, if user has no php active?
Maybe extra vhost entry?
regards
xaver
|

16th September 2011, 17:49
|
|
Senior Member
|
|
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 33 Times in 27 Posts
|
|
Good point, maybe with a htaccess it could be fixed, or be host must have settings to use mod_php for this in this directory...
I will work on this...
Regards!
|

16th September 2011, 20:51
|
|
Member
|
|
Join Date: May 2009
Posts: 77
Thanks: 10
Thanked 23 Times in 14 Posts
|
|
Hi,
no it cant -> Override setting.
Best & easiest you add in master template a directory.
EDIT:
Maybe you can do this too, if you add a vhost part:
http://bugtracker.ispconfig.org/inde...s&task_id=1749
directory index and AllowOverride auth
regards
Last edited by xaver; 18th September 2011 at 02:47.
|

23rd September 2011, 06:01
|
|
Senior Member
|
|
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 33 Times in 27 Posts
|
|
** Update: Bug Fix **
1) When awstats/webalizer are selected, older index.html of webalizer or index.php of awstats must be deleted in order to avoid conflict between them.
So, when you select awstats, index.html is deleted (apache2_plugin.inc.php). If webalizer, index.php is deleted every time cron_daily.php is executed (cron_daily.php).
2) index.php.awstats was modified to fix january month bug...
Main post has been updated. Till, do you need modified the task in roadmap too?
Regards
|

23rd September 2011, 09:20
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Thanks for the update. I will add it to svn directly, no need to reopen the task in the bugtracker.
|

30th September 2011, 09:00
|
|
Member
|
|
Join Date: Sep 2011
Location: Zagreb
Posts: 69
Thanks: 41
Thanked 13 Times in 8 Posts
|
|
I have problems with AWstats. On some domains it's working fine, on some gives 404, althought there is awstats *.html files in stats directory for all domains.
How to check what went wrong?
ps. using SVN
__________________
ISPConfig -> the best open source control panel
|

30th September 2011, 16:39
|
|
Senior Member
|
|
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 33 Times in 27 Posts
|
|
AWStats index.php (as posted) search for fixedindex.html to show stats. If the file is named differently, it will not find the file and will return 404.
I don't have the svn version to test how the code was implemented...
In the mean while, could you post error log here of one of your domains with the problem?
Regards
|

1st October 2011, 22:01
|
|
Member
|
|
Join Date: Sep 2011
Location: Zagreb
Posts: 69
Thanks: 41
Thanked 13 Times in 8 Posts
|
|
My bad, it seems there was not enough data to generate stats after 3 days
__________________
ISPConfig -> the best open source control panel
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
ISPconfig 3 - awstats
|
Mouton |
Tips/Tricks/Mods |
99 |
27th January 2011 10:31 |
All times are GMT +2. The time now is 21:07.
|
Recent comments
18 hours 43 min ago
23 hours 42 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 3 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 11 hours ago
2 days 21 min ago
2 days 1 hour ago